x86: Add CheckRegSize to AVX512_BF16 instructions with Disp8ShiftVL
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 28 May 2019 17:05:28 +0000 (10:05 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 28 May 2019 17:05:44 +0000 (10:05 -0700)
commita2f4b66c9eb5210f8ef6038d7194af1e5f314f97
tree36db3b000a851d9680704b36f17ecf81df19fd72
parentc0e70c624fc7d89f5cf281350692de89a063786f
x86: Add CheckRegSize to AVX512_BF16 instructions with Disp8ShiftVL

For AVX512 instructions with Disp8ShiftVL and Broadcast, we may need to
add CheckRegSize to check if broadcast matches the destination register
size.

gas/

PR gas/24625
* testsuite/gas/i386/inval-avx512f.s: Add tests for AVX512_BF16
instructions with invalid broadcast.
* testsuite/gas/i386/x86-64-inval-avx512f.s: Likewise.
* testsuite/gas/i386/inval-avx512f.l: Updated.
* testsuite/gas/i386/x86-64-inval-avx512f.l: Likewise.

opcodes/

PR gas/24625
* i386-opc.tbl: Add CheckRegSize to AVX512_BF16 instructions with
Disp8ShiftVL.
* i386-tbl.h: Regenerated.
gas/ChangeLog
gas/testsuite/gas/i386/inval-avx512f.l
gas/testsuite/gas/i386/inval-avx512f.s
gas/testsuite/gas/i386/x86-64-inval-avx512f.l
gas/testsuite/gas/i386/x86-64-inval-avx512f.s
opcodes/ChangeLog
opcodes/i386-opc.tbl
opcodes/i386-tbl.h