From: Uros Bizjak Date: Mon, 23 Jun 2008 14:04:33 +0000 (+0200) Subject: i386.md (fmodxf3): Change sequence of move instructions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f2a55e41c8b6816c9edb573d08b3bc1c7403f1b6;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3478e0fa510..33ff0cfd484 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 ffae8334efb..f6e0f4b12b2 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);