x86: Define GNU_PROPERTY_X86_ISA_1_AVX512_BF16
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 9 Apr 2019 00:04:01 +0000 (17:04 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 9 Apr 2019 00:04:16 +0000 (17:04 -0700)
commit462cac5884ed4c38e6180b2e2769aaa5225e695b
tree78de364770f89c09cb88f814fcf4e8919b086054
parent8c402d4151a18c735d1d23ddbe56957d65322064
x86: Define GNU_PROPERTY_X86_ISA_1_AVX512_BF16

Update assembler and readelf to support

 #define GNU_PROPERTY_X86_ISA_1_AVX512_BF16  (1U << 24)

for AVX512_BF16.

binutils/

* readelf.c (decode_x86_isa): Handle
GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
* testsuite/binutils-all/i386/pr21231b.d: Updated.
* testsuite/binutils-all/x86-64/pr21231b.d: Likewise.

gas/

* config/tc-i386.c (output_insn): Support
GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
* testsuite/gas/i386/property-2.s: Add AVX512_BF16 test.
* testsuite/gas/i386/property-2.d: Updated.
* testsuite/gas/i386/x86-64-property-2.d: Likewise.

include/

* elf/common.h (GNU_PROPERTY_X86_ISA_1_AVX512_BF16): New.
binutils/ChangeLog
binutils/readelf.c
binutils/testsuite/binutils-all/i386/pr21231b.d
binutils/testsuite/binutils-all/x86-64/pr21231b.d
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/property-2.d
gas/testsuite/gas/i386/property-2.s
gas/testsuite/gas/i386/x86-64-property-2.d
include/ChangeLog
include/elf/common.h