x86: correct VMOVSH attributes
authorJan Beulich <jbeulich@suse.com>
Mon, 18 Jul 2022 09:20:44 +0000 (11:20 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 18 Jul 2022 09:20:44 +0000 (11:20 +0200)
commit7e864bf71d55626dce94df26ebaf11f65b4d7b65
tree92e7540faf38e783d798f2430f438d1f230ce1b5
parent37cea58867dd1d0df263e82670fd2e7607539d84
x86: correct VMOVSH attributes

Both forms were missing VexW0 (thus allowing Evex.W=1 to be encoded by
suitable means, which would cause #UD). The memory operand form further
was using the wrong Masking value, thus allowing zeroing-masking to be
encoded for the store form (which would again cause #UD).
gas/testsuite/gas/i386/evex-wig.s
gas/testsuite/gas/i386/evex-wig1-intel.d
gas/testsuite/gas/i386/evex-wig1.d
opcodes/i386-opc.tbl
opcodes/i386-tbl.h