};
const arch_register_t *fpreg_param_reg_std[] = {
- &ia32_fp_regs[REG_XMM0],
- &ia32_fp_regs[REG_XMM1],
- &ia32_fp_regs[REG_XMM2],
- &ia32_fp_regs[REG_XMM3],
- &ia32_fp_regs[REG_XMM4],
- &ia32_fp_regs[REG_XMM5],
- &ia32_fp_regs[REG_XMM6],
- &ia32_fp_regs[REG_XMM7]
+ &ia32_xmm_regs[REG_XMM0],
+ &ia32_xmm_regs[REG_XMM1],
+ &ia32_xmm_regs[REG_XMM2],
+ &ia32_xmm_regs[REG_XMM3],
+ &ia32_xmm_regs[REG_XMM4],
+ &ia32_xmm_regs[REG_XMM5],
+ &ia32_xmm_regs[REG_XMM6],
+ &ia32_xmm_regs[REG_XMM7]
};
const arch_register_t *fpreg_param_reg_this[] = {
NULL, /* in case of a "this" pointer, the first parameter must not be a float */
- &ia32_fp_regs[REG_XMM0],
- &ia32_fp_regs[REG_XMM1],
- &ia32_fp_regs[REG_XMM2],
- &ia32_fp_regs[REG_XMM3],
- &ia32_fp_regs[REG_XMM4],
- &ia32_fp_regs[REG_XMM5],
- &ia32_fp_regs[REG_XMM6],
- &ia32_fp_regs[REG_XMM7]
+ &ia32_xmm_regs[REG_XMM0],
+ &ia32_xmm_regs[REG_XMM1],
+ &ia32_xmm_regs[REG_XMM2],
+ &ia32_xmm_regs[REG_XMM3],
+ &ia32_xmm_regs[REG_XMM4],
+ &ia32_xmm_regs[REG_XMM5],
+ &ia32_xmm_regs[REG_XMM6],
+ &ia32_xmm_regs[REG_XMM7]
};
return 1;
}
else if (is_ia32_DivMod(pred)) {
- if (nr == pn_DivMod_res_div || nr == pn_Div_res)
+ if (nr == pn_DivMod_res_div)
return 0;
- if (nr == pn_DivMod_res_mod || nr == pn_Mod_res)
+ if (nr == pn_DivMod_res_mod)
return 1;
+ assert(0 && "unsupported DivMod");
}
- else if (is_ia32_fDiv(pred)) {
+ else if (is_ia32_xDiv(pred)) {
if (nr == pn_Quot_res)
return 0;
else
- assert(0 && "there should be no more Projs for a fDiv");
+ assert(0 && "there should be no more Projs for a xDiv");
}
else if (get_irn_mode(proj) == mode_X && nr == pn_Start_X_initial_exec) {
return 0;