x86: improve/shorten vector zeroing-idiom optimization conditional
authorJan Beulich <jbeulich@suse.com>
Wed, 3 Aug 2022 07:01:10 +0000 (09:01 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 3 Aug 2022 07:01:10 +0000 (09:01 +0200)
commit5844ccaac7d7e628b8c3feea725d87fd4bafbdf6
tree22ce821fc2c8312e8538803e4c296674e39750f7
parent0aea480cd8e1656c2cc09ea9fa0318941bafba24
x86: improve/shorten vector zeroing-idiom optimization conditional

- Drop the rounding type check: We're past template matching, and none
  of the involved insns support embedded rounding.
- Drop the extension opcode check: None of the involved opcodes have
  variants with it being other than None.
- Instead check opcode space, even if just to be on the safe side going
  forward.
- Reduce the number of comparisons by folding two groups.
gas/config/tc-i386.c