Commit 9297835f authored by Matthias Braun's avatar Matthias Braun
Browse files

revert accidentaly mode change of xmm registers

[r13399]
parent 4f1f3573
......@@ -132,7 +132,7 @@ $arch = "ia32";
{ name => "xmm7", type => 1 },
{ name => "xmm_NOREG", type => 4 | 16 }, # we need a dummy register for NoReg nodes
{ name => "xmm_UKNWN", type => 4 | 8 | 16}, # we need a dummy register for Unknown nodes
{ mode => "mode_LLu" }
{ mode => "mode_E" }
],
vfp => [
{ name => "vf0", type => 1 | 16 },
......
......@@ -417,8 +417,8 @@ ir_entity *ia32_gen_fp_known_const(ia32_known_const_t kct) {
tp_name = names[kct].tp_name;
cnst_str = names[kct].cnst_str;
//mode = kct == ia32_SSIGN || kct == ia32_SABS ? mode_Iu : mode_Lu;
mode = mode_xmm;
mode = kct == ia32_SSIGN || kct == ia32_SABS ? mode_Iu : mode_Lu;
//mode = mode_xmm;
tv = new_tarval_from_str(cnst_str, strlen(cnst_str), mode);
tp = new_type_primitive(new_id_from_str(tp_name), mode);
ent = new_entity(get_glob_type(), new_id_from_str(ent_name), tp);
......
Markdown is supported
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