diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2011-11-03 19:39:12 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2011-11-03 19:39:12 +0100 |
commit | 177b1d35350ce565dbf11253a803623f4514d3f7 (patch) | |
tree | a49ec4360ce3dd20727e18304484b3eb8bf9f6cc /gcc | |
parent | e04d8a63972a677d186b6f849d23fba0fa4c2d48 (diff) | |
download | gcc-177b1d35350ce565dbf11253a803623f4514d3f7.zip gcc-177b1d35350ce565dbf11253a803623f4514d3f7.tar.gz gcc-177b1d35350ce565dbf11253a803623f4514d3f7.tar.bz2 |
i386.md (lround<X87MODEF:mode><SWI248x:mode>2, [...]): Use operands[N] instead of operandN.
* config/i386/i386.md (lround<X87MODEF:mode><SWI248x:mode>2,
rint<mode>2, floor<mode>2, lfloor<MODEF:mode><SWI48:mode>2,
btrunc<mode>2, lwp_lwpval<mode>3): Use operands[N] instead of operandN.
From-SVN: r180840
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/i386/i386.md | 22 |
2 files changed, 17 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eb75ac9..03e9b12 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-11-03 Uros Bizjak <ubizjak@gmail.com> + + * config/i386/i386.md (lround<X87MODEF:mode><SWI248x:mode>2, + rint<mode>2, floor<mode>2, lfloor<MODEF:mode><SWI48:mode>2, + btrunc<mode>2, lwp_lwpval<mode>3): Use operands[N] instead of operandN. + 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> PR target/50978 diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 6fe06b4..dc2bf28 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -14663,7 +14663,7 @@ else if (optimize_insn_for_size_p ()) FAIL; else - ix86_expand_rint (operand0, operand1); + ix86_expand_rint (operands[0], operands[1]); } else { @@ -14863,7 +14863,7 @@ && <SWI248x:MODE>mode != HImode && ((<SWI248x:MODE>mode != DImode) || TARGET_64BIT) && !flag_trapping_math && !flag_rounding_math) - ix86_expand_lround (operand0, operand1); + ix86_expand_lround (operands[0], operands[1]); else ix86_emit_i387_round (operands[0], operands[1]); DONE; @@ -14939,9 +14939,9 @@ else if (optimize_insn_for_size_p ()) FAIL; else if (TARGET_64BIT || (<MODE>mode != DFmode)) - ix86_expand_floorceil (operand0, operand1, true); + ix86_expand_floorceil (operands[0], operands[1], true); else - ix86_expand_floorceildf_32 (operand0, operand1, true); + ix86_expand_floorceildf_32 (operands[0], operands[1], true); } else { @@ -15123,7 +15123,7 @@ { if (TARGET_64BIT && optimize_insn_for_size_p ()) FAIL; - ix86_expand_lfloorceil (operand0, operand1, true); + ix86_expand_lfloorceil (operands[0], operands[1], true); DONE; }) @@ -15197,9 +15197,9 @@ else if (optimize_insn_for_size_p ()) FAIL; else if (TARGET_64BIT || (<MODE>mode != DFmode)) - ix86_expand_floorceil (operand0, operand1, false); + ix86_expand_floorceil (operands[0], operands[1], false); else - ix86_expand_floorceildf_32 (operand0, operand1, false); + ix86_expand_floorceildf_32 (operands[0], operands[1], false); } else { @@ -15379,7 +15379,7 @@ "SSE_FLOAT_MODE_P (<MODEF:MODE>mode) && TARGET_SSE_MATH && !flag_trapping_math" { - ix86_expand_lfloorceil (operand0, operand1, false); + ix86_expand_lfloorceil (operands[0], operands[1], false); DONE; }) @@ -15453,9 +15453,9 @@ else if (optimize_insn_for_size_p ()) FAIL; else if (TARGET_64BIT || (<MODE>mode != DFmode)) - ix86_expand_trunc (operand0, operand1); + ix86_expand_trunc (operands[0], operands[1]); else - ix86_expand_truncdf_32 (operand0, operand1); + ix86_expand_truncdf_32 (operands[0], operands[1]); } else { @@ -18106,7 +18106,7 @@ UNSPECV_LWPVAL_INTRINSIC)] "TARGET_LWP" ;; Avoid unused variable warning. - "(void) operand0;") + "(void) operands[0];") (define_insn "*lwp_lwpval<mode>3_1" [(unspec_volatile [(match_operand:SWI48 0 "register_operand" "r") |