Browse Source
Intel has disclosed a set of new instructions for Icelake processor. The spec is https://software.intel.com/sites/default/files/managed/c5/15/architecture-instruction-set-extensions-programming-reference.pdf This patch enables Intel WBNOINVD instruction. gas/ * config/tc-i386.c (cpu_arch): Add .wbnoinvd. * doc/c-i386.texi: Document .wbnoinvd. * testsuite/gas/i386/i386.exp: Add WBNOINVD tests. * testsuite/gas/i386/wbnoinvd-intel.d: New test. * testsuite/gas/i386/wbnoinvd.d: Likewise. * testsuite/gas/i386/wbnoinvd.s: Likewise. * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise. * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise. * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise. opcodes/ * i386-dis.c (enum): Add PREFIX_0F09. * i386-gen.c (cpu_flag_init): Add CPU_WBNOINVD_FLAGS. (cpu_flags): Add CpuWBNOINVD. * i386-opc.h (enum): Add CpuWBNOINVD. (i386_cpu_flags): Add cpuwbnoinvd. * i386-opc.tbl: Add WBNOINVD instruction. * i386-init.h: Regenerate. * i386-tbl.h: Likewise.binutils-2_31-branch
17 changed files with 5609 additions and 5483 deletions
@ -0,0 +1,11 @@ |
|||
#objdump: -dwMintel |
|||
#name: i386 WBNOINVD (Intel disassembly) |
|||
#source: wbnoinvd.s |
|||
|
|||
.*: +file format .* |
|||
|
|||
Disassembly of section .text: |
|||
|
|||
0+ <_start>: |
|||
[ ]*[a-f0-9]+:[ ]*f3 0f 09[ ]*wbnoinvd[ ]* |
|||
#pass |
|||
@ -0,0 +1,11 @@ |
|||
#objdump: -dw |
|||
#name: i386 WBNOINVD insn |
|||
|
|||
.*: +file format .* |
|||
|
|||
|
|||
Disassembly of section .text: |
|||
|
|||
0+ <_start>: |
|||
[ ]*[a-f0-9]+:[ ]*f3 0f 09[ ]*wbnoinvd[ ]* |
|||
#pass |
|||
@ -0,0 +1,5 @@ |
|||
# Check 32bit WBNOINVD instructions. |
|||
|
|||
.text |
|||
_start: |
|||
wbnoinvd |
|||
@ -0,0 +1,11 @@ |
|||
#objdump: -dwMintel |
|||
#name: i386 WBNOINVD (Intel disassembly) |
|||
#source: wbnoinvd.s |
|||
|
|||
.*: +file format .* |
|||
|
|||
Disassembly of section .text: |
|||
|
|||
0+ <_start>: |
|||
[ ]*[a-f0-9]+:[ ]*f3 0f 09[ ]*wbnoinvd[ ]* |
|||
#pass |
|||
@ -0,0 +1,11 @@ |
|||
#objdump: -dw |
|||
#name: i386 WBNOINVD insn |
|||
|
|||
.*: +file format .* |
|||
|
|||
|
|||
Disassembly of section .text: |
|||
|
|||
0+ <_start>: |
|||
[ ]*[a-f0-9]+:[ ]*f3 0f 09[ ]*wbnoinvd[ ]* |
|||
#pass |
|||
@ -0,0 +1,5 @@ |
|||
# Check 64bit WBNOINVD instructions. |
|||
|
|||
.text |
|||
_start: |
|||
wbnoinvd |
|||
File diff suppressed because it is too large
File diff suppressed because it is too large
Loading…
Reference in new issue