re PR target/90568 (stack protector should use cmp or sub, not xor, to allow macro...
authorJakub Jelinek <jakub@redhat.com>
Fri, 24 May 2019 08:58:50 +0000 (10:58 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 24 May 2019 08:58:50 +0000 (10:58 +0200)
commitd2e8b6ae3760c72d1d30e0d2b2652c98edb8bc87
tree3903d923531246d8c715b9a2a15ce63d7d85f604
parent1d672917b4b324a6aac3743f21b8c58940a0ceb8
re PR target/90568 (stack protector should use cmp or sub, not xor, to allow macro-fusion on x86)

PR target/90568
* config/i386/x86-tune-sched.c (ix86_macro_funsion_pair_p): Call
gen_attr_type just once instead of 4-7 times.  Formatting fixes.
Handle stack_protect_test_<mode> codegen similarly to corresponding
sub instruction.

From-SVN: r271596
gcc/ChangeLog
gcc/config/i386/x86-tune-sched.c