diff options
author | Cui,Lili <lili.cui@intel.com> | 2020-04-07 13:59:50 +0800 |
---|---|---|
committer | Cui,Lili <lili.cui@intel.com> | 2020-04-07 13:59:50 +0800 |
commit | bb651e8b7fc7904b06031a665138e9e6ae79adf3 (patch) | |
tree | a13f7b941e7a5a9e4a81aaae09008a3ff53e8a01 /gas/testsuite | |
parent | f4a220077b03af3a1f905b7dc6dc84c0a06d582f (diff) | |
download | gdb-bb651e8b7fc7904b06031a665138e9e6ae79adf3.zip gdb-bb651e8b7fc7904b06031a665138e9e6ae79adf3.tar.gz gdb-bb651e8b7fc7904b06031a665138e9e6ae79adf3.tar.bz2 |
Add support for intel TSXLDTRK instructions$
gas/
* config/tc-i386.c (cpu_arch): Add .TSXLDTRK.
(cpu_noarch): Likewise.
* doc/c-i386.texi: Document TSXLDTRK.
* testsuite/gas/i386/i386.exp: Run TSXLDTRK tests.
* testsuite/gas/i386/tsxldtrk.d: Likewise.
* testsuite/gas/i386/tsxldtrk.s: Likewise.
* testsuite/gas/i386/x86-64-tsxldtrk.d: Likewise.
opcodes/
* i386-dis.c (enum): Add PREFIX_0F01_REG_5_MOD_3_RM_1,
(prefix_table): New instructions (see prefixes above).
(rm_table): Likewise.
* i386-gen.c (cpu_flag_init): Add CPU_TSXLDTRK_FLAGS,
CPU_ANY_TSXLDTRK_FLAGS.
(cpu_flags): Add CpuTSXLDTRK.
* i386-opc.h (enum): Add CpuTSXLDTRK.
(i386_cpu_flags): Add cputsxldtrk.
* i386-opc.tbl: Add XSUSPLDTRK insns.
* i386-init.h: Regenerate.
* i386-tbl.h: Likewise.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/gas/i386/i386.exp | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/tsxldtrk.d | 13 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/tsxldtrk.s | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-tsxldtrk.d | 13 |
4 files changed, 34 insertions, 0 deletions
diff --git a/gas/testsuite/gas/i386/i386.exp b/gas/testsuite/gas/i386/i386.exp index 7961bb1..9dacc11 100644 --- a/gas/testsuite/gas/i386/i386.exp +++ b/gas/testsuite/gas/i386/i386.exp @@ -477,6 +477,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]] run_dump_test "enqcmd-intel" run_list_test "enqcmd-inval" run_dump_test "serialize" + run_dump_test "tsxldtrk" run_dump_test "vp2intersect" run_dump_test "vp2intersect-intel" run_list_test "vp2intersect-inval-bcast" @@ -1054,6 +1055,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] t run_dump_test "x86-64-enqcmd-intel" run_list_test "x86-64-enqcmd-inval" run_dump_test "x86-64-serialize" + run_dump_test "x86-64-tsxldtrk" run_dump_test "x86-64-vp2intersect" run_dump_test "x86-64-vp2intersect-intel" run_list_test "x86-64-vp2intersect-inval-bcast" diff --git a/gas/testsuite/gas/i386/tsxldtrk.d b/gas/testsuite/gas/i386/tsxldtrk.d new file mode 100644 index 0000000..26df4ca --- /dev/null +++ b/gas/testsuite/gas/i386/tsxldtrk.d @@ -0,0 +1,13 @@ +#as: +#objdump: -dw +#name: TSXLDTRK insns +#source: tsxldtrk.s + +.*: +file format .* + +Disassembly of section \.text: + +0+ <_start>: + +[a-f0-9]+: f2 0f 01 e8 xsuspldtrk[ ]* + +[a-f0-9]+: f2 0f 01 e9 xresldtrk[ ]* +#pass diff --git a/gas/testsuite/gas/i386/tsxldtrk.s b/gas/testsuite/gas/i386/tsxldtrk.s new file mode 100644 index 0000000..3bbe9aa --- /dev/null +++ b/gas/testsuite/gas/i386/tsxldtrk.s @@ -0,0 +1,6 @@ +# Check TSXLDTRK instructions. + + .text +_start: + xsuspldtrk + xresldtrk diff --git a/gas/testsuite/gas/i386/x86-64-tsxldtrk.d b/gas/testsuite/gas/i386/x86-64-tsxldtrk.d new file mode 100644 index 0000000..8ef3446 --- /dev/null +++ b/gas/testsuite/gas/i386/x86-64-tsxldtrk.d @@ -0,0 +1,13 @@ +#as: +#objdump: -dw +#name: x86_64 TSXLDTRK insns +#source: tsxldtrk.s + +.*: +file format .* + +Disassembly of section \.text: + +0+ <_start>: + +[a-f0-9]+: f2 0f 01 e8 xsuspldtrk[ ]* + +[a-f0-9]+: f2 0f 01 e9 xresldtrk[ ]* +#pass |