aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2008-06-23 16:04:33 +0200
committerUros Bizjak <uros@gcc.gnu.org>2008-06-23 16:04:33 +0200
commitf2a55e41c8b6816c9edb573d08b3bc1c7403f1b6 (patch)
tree68bbb3852c260689f9936cd7378f5ebaa59c0e00
parent923ba36f8ce142fb94eeabd7a78b6aa8266d51b2 (diff)
downloadgcc-f2a55e41c8b6816c9edb573d08b3bc1c7403f1b6.zip
gcc-f2a55e41c8b6816c9edb573d08b3bc1c7403f1b6.tar.gz
gcc-f2a55e41c8b6816c9edb573d08b3bc1c7403f1b6.tar.bz2
i386.md (fmodxf3): Change sequence of move instructions.
* config/i386/i386.md (fmodxf3): Change sequence of move instructions. (fmod<mode>3): Ditto. (remainderxf3): Ditto. (remainder<mode>3): Ditto. From-SVN: r137040
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/i386/i386.md8
2 files changed, 11 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3478e0f..33ff0cf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2008-06-23 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/i386/i386.md (fmodxf3): Change sequence of move instructions.
+ (fmod<mode>3): Ditto.
+ (remainderxf3): Ditto.
+ (remainder<mode>3): Ditto.
+
2008-06-23 Jakub Jelinek <jakub@redhat.com>
PR target/36533
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index ffae833..f6e0f4b 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -16520,8 +16520,8 @@
rtx op1 = gen_reg_rtx (XFmode);
rtx op2 = gen_reg_rtx (XFmode);
- emit_move_insn (op1, operands[1]);
emit_move_insn (op2, operands[2]);
+ emit_move_insn (op1, operands[1]);
emit_label (label);
emit_insn (gen_fpremxf4_i387 (op1, op2, op1, op2));
@@ -16543,8 +16543,8 @@
rtx op1 = gen_reg_rtx (XFmode);
rtx op2 = gen_reg_rtx (XFmode);
- emit_insn (gen_extend<mode>xf2 (op1, operands[1]));
emit_insn (gen_extend<mode>xf2 (op2, operands[2]));
+ emit_insn (gen_extend<mode>xf2 (op1, operands[1]));
emit_label (label);
emit_insn (gen_fpremxf4_i387 (op1, op2, op1, op2));
@@ -16588,8 +16588,8 @@
rtx op1 = gen_reg_rtx (XFmode);
rtx op2 = gen_reg_rtx (XFmode);
- emit_move_insn (op1, operands[1]);
emit_move_insn (op2, operands[2]);
+ emit_move_insn (op1, operands[1]);
emit_label (label);
emit_insn (gen_fprem1xf4_i387 (op1, op2, op1, op2));
@@ -16611,8 +16611,8 @@
rtx op1 = gen_reg_rtx (XFmode);
rtx op2 = gen_reg_rtx (XFmode);
- emit_insn (gen_extend<mode>xf2 (op1, operands[1]));
emit_insn (gen_extend<mode>xf2 (op2, operands[2]));
+ emit_insn (gen_extend<mode>xf2 (op1, operands[1]));
emit_label (label);