static inline void elf_core_copy_regs(target_elf_gregset_t *regs,

                                      const CPUSH4State *env)

{

    int i;



    for (i = 0; i < 16; i++) {

        (*regs[i]) = tswapreg(env->gregs[i]);

    }



    (*regs)[TARGET_REG_PC] = tswapreg(env->pc);

    (*regs)[TARGET_REG_PR] = tswapreg(env->pr);

    (*regs)[TARGET_REG_SR] = tswapreg(env->sr);

    (*regs)[TARGET_REG_GBR] = tswapreg(env->gbr);

    (*regs)[TARGET_REG_MACH] = tswapreg(env->mach);

    (*regs)[TARGET_REG_MACL] = tswapreg(env->macl);

    (*regs)[TARGET_REG_SYSCALL] = 0; /* FIXME */

}

static inline void elf_core_copy_regs(target_elf_gregset_t *regs,

                                      const CPUSH4State *env)

{

    int i;



    for (i = 0; i < 16; i++) {

        (*regs[i]) = tswapreg(env->gregs[i]);

    }



    (*regs)[TARGET_REG_PC] = tswapreg(env->pc);

    (*regs)[TARGET_REG_PR] = tswapreg(env->pr);

    (*regs)[TARGET_REG_SR] = tswapreg(env->sr);

    (*regs)[TARGET_REG_GBR] = tswapreg(env->gbr);

    (*regs)[TARGET_REG_MACH] = tswapreg(env->mach);

    (*regs)[TARGET_REG_MACL] = tswapreg(env->macl);

    (*regs)[TARGET_REG_SYSCALL] = 0; 

}

        (*regs[i]) = tswapreg(env->gregs[i]);
static inline void FUNC_0(target_elf_gregset_t *VAR_0,

                                      const CPUSH4State *VAR_1)

{

    int VAR_2;



    for (VAR_2 = 0; VAR_2 < 16; VAR_2++) {

        (*VAR_0[VAR_2]) = tswapreg(VAR_1->gregs[VAR_2]);

    }



    (*VAR_0)[TARGET_REG_PC] = tswapreg(VAR_1->pc);

    (*VAR_0)[TARGET_REG_PR] = tswapreg(VAR_1->pr);

    (*VAR_0)[TARGET_REG_SR] = tswapreg(VAR_1->sr);

    (*VAR_0)[TARGET_REG_GBR] = tswapreg(VAR_1->gbr);

    (*VAR_0)[TARGET_REG_MACH] = tswapreg(VAR_1->mach);

    (*VAR_0)[TARGET_REG_MACL] = tswapreg(VAR_1->macl);

    (*VAR_0)[TARGET_REG_SYSCALL] = 0; 

}

static inline void FUNC_0(target_elf_gregset_t *VAR_0,
const CPUSH4State *VAR_1)
{ int VAR_2; for (VAR_2 = 0; VAR_2 < 16; VAR_2++) { (*VAR_0[VAR_2]) = tswapreg(VAR_1->gregs[VAR_2]); } (*VAR_0)[TARGET_REG_PC] = tswapreg(VAR_1->pc); (*VAR_0)[TARGET_REG_PR] = tswapreg(VAR_1->pr); (*VAR_0)[TARGET_REG_SR] = tswapreg(VAR_1->sr); (*VAR_0)[TARGET_REG_GBR] = tswapreg(VAR_1->gbr); (*VAR_0)[TARGET_REG_MACH] = tswapreg(VAR_1->mach); (*VAR_0)[TARGET_REG_MACL] = tswapreg(VAR_1->macl); (*VAR_0)[TARGET_REG_SYSCALL] = 0; }