From f2a55e41c8b6816c9edb573d08b3bc1c7403f1b6 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Mon, 23 Jun 2008 16:04:33 +0200 Subject: i386.md (fmodxf3): Change sequence of move instructions. * config/i386/i386.md (fmodxf3): Change sequence of move instructions. (fmod3): Ditto. (remainderxf3): Ditto. (remainder3): Ditto. From-SVN: r137040 --- gcc/ChangeLog | 7 +++++++ gcc/config/i386/i386.md | 8 ++++---- 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 + + * config/i386/i386.md (fmodxf3): Change sequence of move instructions. + (fmod3): Ditto. + (remainderxf3): Ditto. + (remainder3): Ditto. + 2008-06-23 Jakub Jelinek 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_extendxf2 (op1, operands[1])); emit_insn (gen_extendxf2 (op2, operands[2])); + emit_insn (gen_extendxf2 (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_extendxf2 (op1, operands[1])); emit_insn (gen_extendxf2 (op2, operands[2])); + emit_insn (gen_extendxf2 (op1, operands[1])); emit_label (label); -- cgit v1.1