Patchwork [i386] : Correct mode attribute of movdfcc patterns

login
register
mail settings
Submitter Uros Bizjak
Date Oct. 15, 2010, 9:14 p.m.
Message ID <AANLkTineWfTn9N8WzFPgy8a_rFOaP1xXsDBvOLU5G22q@mail.gmail.com>
Download mbox | patch
Permalink /patch/68003/
State New
Headers show

Comments

Uros Bizjak - Oct. 15, 2010, 9:14 p.m.
Hello!

2010-10-15  Uros Bizjak  <ubizjak@gmail.com>

	* config/i386/i386.md (*movdfcc_1_rex64): Correct mode attribute.
	(*movdfcc_1): ditto.

Tested on x86_64-pc-linux-gnu, committed to mainline SVN.

Uros.

Patch

Index: i386.md
===================================================================
--- i386.md	(revision 165513)
+++ i386.md	(working copy)
@@ -15975,7 +15975,7 @@ 
    #
    #"
   [(set_attr "type" "fcmov,fcmov,multi,multi")
-   (set_attr "mode" "DF")])
+   (set_attr "mode" "DF,DF,DI,DI")])
 
 (define_insn "*movdfcc_1_rex64"
   [(set (match_operand:DF 0 "register_operand" "=f,f,r,r")
@@ -15991,7 +15991,7 @@ 
    cmov%O2%C1\t{%2, %0|%0, %2}
    cmov%O2%c1\t{%3, %0|%0, %3}"
   [(set_attr "type" "fcmov,fcmov,icmov,icmov")
-   (set_attr "mode" "DF")])
+   (set_attr "mode" "DF,DF,DI,DI")])
 
 (define_split
   [(set (match_operand:DF 0 "register_and_not_any_fp_reg_operand" "")