static void put_psr(target_ulong val)

{

    env->psr = val & PSR_ICC;

    env->psref = (val & PSR_EF)? 1 : 0;

    env->psrpil = (val & PSR_PIL) >> 8;

#if ((!defined (TARGET_SPARC64)) && !defined(CONFIG_USER_ONLY))

    cpu_check_irqs(env);

#endif

    env->psrs = (val & PSR_S)? 1 : 0;

    env->psrps = (val & PSR_PS)? 1 : 0;

#if !defined (TARGET_SPARC64)

    env->psret = (val & PSR_ET)? 1 : 0;

#endif

    set_cwp(val & PSR_CWP);

    env->cc_op = CC_OP_FLAGS;

}

static void put_psr(target_ulong val)

{

    env->psr = val & PSR_ICC;

    env->psref = (val & PSR_EF)? 1 : 0;

    env->psrpil = (val & PSR_PIL) >> 8;

#if ((!defined (TARGET_SPARC64)) && !defined(CONFIG_USER_ONLY))

    cpu_check_irqs(env);

#endif

    env->psrs = (val & PSR_S)? 1 : 0;

    env->psrps = (val & PSR_PS)? 1 : 0;

#if !defined (TARGET_SPARC64)

    env->psret = (val & PSR_ET)? 1 : 0;

#endif

    set_cwp(val & PSR_CWP);

    env->cc_op = CC_OP_FLAGS;

}

#endif #endif #if !defined (TARGET_SPARC64) #endif
static void FUNC_0(target_ulong VAR_0)

{

    env->psr = VAR_0 & PSR_ICC;

    env->psref = (VAR_0 & PSR_EF)? 1 : 0;

    env->psrpil = (VAR_0 & PSR_PIL) >> 8;

#if ((!defined (TARGET_SPARC64)) && !defined(CONFIG_USER_ONLY))

    cpu_check_irqs(env);

#endif

    env->psrs = (VAR_0 & PSR_S)? 1 : 0;

    env->psrps = (VAR_0 & PSR_PS)? 1 : 0;

#if !defined (TARGET_SPARC64)

    env->psret = (VAR_0 & PSR_ET)? 1 : 0;

#endif

    set_cwp(VAR_0 & PSR_CWP);

    env->cc_op = CC_OP_FLAGS;

}

static void FUNC_0(target_ulong VAR_0)
{ env->psr = VAR_0 & PSR_ICC; env->psref = (VAR_0 & PSR_EF)? 1 : 0; env->psrpil = (VAR_0 & PSR_PIL) >> 8; #if ((!defined (TARGET_SPARC64)) && !defined(CONFIG_USER_ONLY))
cpu_check_irqs(env); #endif
env->psrs = (VAR_0 & PSR_S)? 1 : 0; env->psrps = (VAR_0 & PSR_PS)? 1 : 0; #if !defined (TARGET_SPARC64)
env->psret = (VAR_0 & PSR_ET)? 1 : 0; #endif
set_cwp(VAR_0 & PSR_CWP); env->cc_op = CC_OP_FLAGS; }