x86: Add a test for missing broadcast
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 23 Jul 2018 13:32:20 +0000 (06:32 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 23 Jul 2018 13:32:20 +0000 (06:32 -0700)
commite2b7fbc46d08605bd2807678475e01be42e589e6
tree2b977ead1e15034ada8112a8ca18f75b7fccefae
parentc265869848bc3f3715161ed4174d7ae73e495fc3
x86: Add a test for missing broadcast

For

.intel_syntax noprefix
vcvtps2qq xmm0, DWORD PTR [rax]

we should get

Error: broadcast is needed for operand of such type for `vcvtps2qq'

* testsuite/gas/i386/inval-avx512f.s: Add a test for missing
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.
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