mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 17:11:01 +08:00
i386.c (emit_i387_cw_initialization): Fix masking operand value.
* config/i386/i386.c (emit_i387_cw_initialization) <case I387_CW_ROUNDEVEN>: Fix masking operand value. From-SVN: r274934
This commit is contained in:
parent
22fca489ea
commit
0e88315116
@ -1,4 +1,9 @@
|
||||
2019-08-23 Martin Sebor <msebor@redhat.com>
|
||||
2019-08-26 Uroš Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* config/i386/i386.c (emit_i387_cw_initialization)
|
||||
<case I387_CW_ROUNDEVEN>: Fix masking operand value.
|
||||
|
||||
2019-08-26 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR c++/83431
|
||||
* gimple-ssa-sprintf.c (pass_data_sprintf_length): Remove object.
|
||||
|
@ -13785,7 +13785,7 @@ emit_i387_cw_initialization (int mode)
|
||||
{
|
||||
case I387_CW_ROUNDEVEN:
|
||||
/* round to nearest */
|
||||
emit_insn (gen_andhi3 (reg, reg, GEN_INT (0x0c00)));
|
||||
emit_insn (gen_andhi3 (reg, reg, GEN_INT (~0x0c00)));
|
||||
slot = SLOT_CW_ROUNDEVEN;
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user