diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2019-04-08 17:04:01 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2019-04-08 17:04:16 -0700 |
commit | 462cac5884ed4c38e6180b2e2769aaa5225e695b (patch) | |
tree | 78de364770f89c09cb88f814fcf4e8919b086054 /binutils/readelf.c | |
parent | 8c402d4151a18c735d1d23ddbe56957d65322064 (diff) | |
download | binutils-462cac5884ed4c38e6180b2e2769aaa5225e695b.zip binutils-462cac5884ed4c38e6180b2e2769aaa5225e695b.tar.gz binutils-462cac5884ed4c38e6180b2e2769aaa5225e695b.tar.bz2 |
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.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index 5a9d9ff..701ab05 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -17279,6 +17279,9 @@ decode_x86_isa (unsigned int bitmask) case GNU_PROPERTY_X86_ISA_1_AVX512_VNNI: printf ("AVX512_VNNI"); break; + case GNU_PROPERTY_X86_ISA_1_AVX512_BF16: + printf ("AVX512_BF16"); + break; default: printf (_("<unknown: %x>"), bit); break; |