Commit 4d66883a authored by Matthias Braun's avatar Matthias Braun
Browse files

we save entities not idents in ia32 symconsts now

[r12649]
parent 89f9163d
...@@ -67,12 +67,12 @@ static void ia32_transform_sub_to_neg_add(ir_node *irn, ia32_code_gen_t *cg) { ...@@ -67,12 +67,12 @@ static void ia32_transform_sub_to_neg_add(ir_node *irn, ia32_code_gen_t *cg) {
/* generate the neg src2 */ /* generate the neg src2 */
if(mode_is_float(mode)) { if(mode_is_float(mode)) {
int size; int size;
ident *name; ir_entity *entity;
res = new_rd_ia32_xXor(dbg, irg, block, noreg, noreg, in2, noreg_fp, nomem); res = new_rd_ia32_xXor(dbg, irg, block, noreg, noreg, in2, noreg_fp, nomem);
size = get_mode_size_bits(mode); size = get_mode_size_bits(mode);
name = ia32_gen_fp_known_const(size == 32 ? ia32_SSIGN : ia32_DSIGN); entity = ia32_gen_fp_known_const(size == 32 ? ia32_SSIGN : ia32_DSIGN);
set_ia32_am_sc(res, name); set_ia32_am_sc(res, entity);
set_ia32_op_type(res, ia32_AddrModeS); set_ia32_op_type(res, ia32_AddrModeS);
set_ia32_ls_mode(res, get_ia32_ls_mode(irn)); set_ia32_ls_mode(res, get_ia32_ls_mode(irn));
} else { } else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment