diff mbox

[i386] : Fix gcc.target/i386/pr66648.c FAIL

Message ID CAFULd4bSHU50+A2A-w666ktCefr1b_hVOiL5rN+V+g_di0ZBtQ@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Nov. 9, 2015, 8:08 p.m. UTC
2015-11-09  Uros Bizjak  <ubizjak@gmail.com>

    * config/i386/i386.md (*strmovqi_1): Fix insn enable condition.

Tested on x86_64-linux-gnu {,-m32} and committed to mainline SVN.

Uros.
diff mbox

Patch

Index: config/i386/i386.md
===================================================================
--- config/i386/i386.md	(revision 230038)
+++ config/i386/i386.md	(working copy)
@@ -16251,9 +16251,9 @@ 
    (set (match_operand:P 1 "register_operand" "=S")
 	(plus:P (match_dup 3)
 		(const_int 1)))]
-  "!(fixed_regs[SI_REG] || fixed_regs[DI_REG])"
-  "%^movsb
+  "!(fixed_regs[SI_REG] || fixed_regs[DI_REG])
    && ix86_check_no_addr_space (insn)"
+  "%^movsb"
   [(set_attr "type" "str")
    (set_attr "memory" "both")
    (set (attr "prefix_rex")