]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386: Fix *aes<aeswideklvariant>u8
authorJakub Jelinek <jakub@redhat.com>
Wed, 19 Jan 2022 08:17:54 +0000 (09:17 +0100)
committerJakub Jelinek <jakub@redhat.com>
Wed, 19 Jan 2022 08:17:54 +0000 (09:17 +0100)
grep '{[^|}]*}"' *.md

found another spot, though dunno if we have sufficient effective targets
etc. to add an -masm=intel test for it (and my installed binutils doesn't
support it anyway).
Binutils trunk testsuite shows the argument isn't omitted even in the Intel
syntax:
grep aesencwide *.s
keylocker.s:    aesencwide128kl 126(%edx)
keylocker.s:    aesencwide256kl 126(%edx)
keylocker.s:    aesencwide128kl [edx+126]
keylocker.s:    aesencwide256kl [edx+126]
property-10.s:   aesencwide128kl (%eax)
x86-64-keylocker.s:     aesencwide128kl 126(%rdx)
x86-64-keylocker.s:     aesencwide256kl 126(%rdx)
x86-64-keylocker.s:     aesencwide128kl [rdx+126]
x86-64-keylocker.s:     aesencwide256kl [rdx+126]
and doesn't use any WHATEVER PTR.

2022-01-19  Jakub Jelinek  <jakub@redhat.com>

* config/i386/sse.md (*aes<aeswideklvariant>u*): Use %0 instead of
{%0}.

gcc/config/i386/sse.md

index 829107e00c9b1382711c6590cb6dd62a071e5238..d8cb7b655944ab05571b64ddd2799d5bb7685fca 100644 (file)
            [(match_operand:BLK 0 "memory_operand" "m")]
            AESDECENCWIDEKL))])]
   "TARGET_WIDEKL"
-  "aes<aeswideklvariant>\t{%0}"
+  "aes<aeswideklvariant>\t%0"
   [(set_attr "type" "other")])
 
 ;; Modes handled by broadcast patterns.  NB: Allow V64QI and V32HI with