diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2ccb803d5c6..e49c75847f1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-05-23 Jakub Jelinek + + PR target/90568 + * config/i386/i386.md (stack_protect_test_): Use sub instead + of xor. + 2019-05-23 Martin Liska PR sanitizer/90570 diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index da5163de80e..3fd11e2e4a2 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -19521,7 +19521,7 @@ UNSPEC_SP_TEST)) (clobber (match_scratch:PTR 3 "=&r"))] "" - "mov{}\t{%1, %3|%3, %1}\;xor{}\t{%2, %3|%3, %2}" + "mov{}\t{%1, %3|%3, %1}\;sub{}\t{%2, %3|%3, %2}" [(set_attr "type" "multi")]) (define_insn "sse4_2_crc32"