aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-10-21 12:16:32 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-10-21 12:16:32 -0700
commitb5cefccad8bdeecaa3d0c548e32881466e021cb4 (patch)
tree6681b0abb5d11c513ccf7e4f952fcb0702f46f9f /gas/testsuite
parentac423761af22f7858a1413cda5df3e1d5e88d4e4 (diff)
downloadgdb-b5cefccad8bdeecaa3d0c548e32881466e021cb4.zip
gdb-b5cefccad8bdeecaa3d0c548e32881466e021cb4.tar.gz
gdb-b5cefccad8bdeecaa3d0c548e32881466e021cb4.tar.bz2
X86: Remove pcommit instruction
Remove x86 pcommit instruction support, which has been deprecated: https://software.intel.com/en-us/blogs/2016/09/12/deprecate-pcommit-instruction gas/ * config/tc-i386.c (cpu_arch): Remove .pcommit. * doc/c-i386.texi: Likewise. * testsuite/gas/i386/i386.exp: Remove pcommit tests. * testsuite/gas/i386/pcommit-intel.d: Removed. * testsuite/gas/i386/pcommit.d: Likewise. * testsuite/gas/i386/pcommit.s: Likewise. * testsuite/gas/i386/x86-64-pcommit-intel.d: Likewise. * testsuite/gas/i386/x86-64-pcommit.d: Likewise. * testsuite/gas/i386/x86-64-pcommit.s: Likewise. opcodes/ * i386-dis.c (PREFIX_RM_0_0FAE_REG_7): Removed. (prefix_table): Remove the PREFIX_RM_0_0FAE_REG_7 entry. (rm_table): Update the RM_0FAE_REG_7 entry. * i386-gen.c (cpu_flag_init): Remove CPU_PCOMMIT_FLAGS. (cpu_flags): Remove CpuPCOMMIT. * i386-opc.h (CpuPCOMMIT): Removed. (i386_cpu_flags): Remove cpupcommit. * i386-opc.tbl: Remove pcommit. * i386-init.h: Regenerated. * i386-tbl.h: Likewise.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/gas/i386/i386.exp4
-rw-r--r--gas/testsuite/gas/i386/pcommit-intel.d14
-rw-r--r--gas/testsuite/gas/i386/pcommit.d14
-rw-r--r--gas/testsuite/gas/i386/pcommit.s10
-rw-r--r--gas/testsuite/gas/i386/x86-64-pcommit-intel.d14
-rw-r--r--gas/testsuite/gas/i386/x86-64-pcommit.d14
-rw-r--r--gas/testsuite/gas/i386/x86-64-pcommit.s10
7 files changed, 0 insertions, 80 deletions
diff --git a/gas/testsuite/gas/i386/i386.exp b/gas/testsuite/gas/i386/i386.exp
index e2b874d..7d04a5c 100644
--- a/gas/testsuite/gas/i386/i386.exp
+++ b/gas/testsuite/gas/i386/i386.exp
@@ -349,8 +349,6 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]]
run_dump_test "avx512f-rcigrz"
run_dump_test "clwb"
run_dump_test "clwb-intel"
- run_dump_test "pcommit"
- run_dump_test "pcommit-intel"
run_dump_test "avx512ifma"
run_dump_test "avx512ifma-intel"
run_dump_test "avx512ifma_vl"
@@ -753,8 +751,6 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] t
run_dump_test "x86-64-avx512f-rcigrz"
run_dump_test "x86-64-clwb"
run_dump_test "x86-64-clwb-intel"
- run_dump_test "x86-64-pcommit"
- run_dump_test "x86-64-pcommit-intel"
run_dump_test "x86-64-avx512ifma"
run_dump_test "x86-64-avx512ifma-intel"
run_dump_test "x86-64-avx512ifma_vl"
diff --git a/gas/testsuite/gas/i386/pcommit-intel.d b/gas/testsuite/gas/i386/pcommit-intel.d
deleted file mode 100644
index ff34d10..0000000
--- a/gas/testsuite/gas/i386/pcommit-intel.d
+++ /dev/null
@@ -1,14 +0,0 @@
-#as:
-#objdump: -dw -Mintel
-#name: i386 PCOMMIT insns (Intel disassembly)
-#source: pcommit.s
-
-.*: +file format .*
-
-
-Disassembly of section \.text:
-
-00000000 <_start>:
-[ ]*[a-f0-9]+:[ ]*66 0f ae f8[ ]*pcommit
-[ ]*[a-f0-9]+:[ ]*66 0f ae f8[ ]*pcommit
-#pass
diff --git a/gas/testsuite/gas/i386/pcommit.d b/gas/testsuite/gas/i386/pcommit.d
deleted file mode 100644
index 2af4576..0000000
--- a/gas/testsuite/gas/i386/pcommit.d
+++ /dev/null
@@ -1,14 +0,0 @@
-#as:
-#objdump: -dw
-#name: i386 PCOMMIT insns
-#source: pcommit.s
-
-.*: +file format .*
-
-
-Disassembly of section \.text:
-
-00000000 <_start>:
-[ ]*[a-f0-9]+:[ ]*66 0f ae f8[ ]*pcommit
-[ ]*[a-f0-9]+:[ ]*66 0f ae f8[ ]*pcommit
-#pass
diff --git a/gas/testsuite/gas/i386/pcommit.s b/gas/testsuite/gas/i386/pcommit.s
deleted file mode 100644
index b791376..0000000
--- a/gas/testsuite/gas/i386/pcommit.s
+++ /dev/null
@@ -1,10 +0,0 @@
-# Check 32bit PCOMMIT instructions
-
- .allow_index_reg
- .text
-_start:
-
- pcommit # PCOMMIT
-
- .intel_syntax noprefix
- pcommit # PCOMMIT
diff --git a/gas/testsuite/gas/i386/x86-64-pcommit-intel.d b/gas/testsuite/gas/i386/x86-64-pcommit-intel.d
deleted file mode 100644
index ec9c1a6..0000000
--- a/gas/testsuite/gas/i386/x86-64-pcommit-intel.d
+++ /dev/null
@@ -1,14 +0,0 @@
-#as:
-#objdump: -dw -Mintel
-#name: x86_64 PCOMMIT insns (Intel disassembly)
-#source: x86-64-pcommit.s
-
-.*: +file format .*
-
-
-Disassembly of section \.text:
-
-0+ <_start>:
-[ ]*[a-f0-9]+:[ ]*66 0f ae f8[ ]*pcommit
-[ ]*[a-f0-9]+:[ ]*66 0f ae f8[ ]*pcommit
-#pass
diff --git a/gas/testsuite/gas/i386/x86-64-pcommit.d b/gas/testsuite/gas/i386/x86-64-pcommit.d
deleted file mode 100644
index 1a378cf..0000000
--- a/gas/testsuite/gas/i386/x86-64-pcommit.d
+++ /dev/null
@@ -1,14 +0,0 @@
-#as:
-#objdump: -dw
-#name: x86_64 PCOMMIT insns
-#source: x86-64-pcommit.s
-
-.*: +file format .*
-
-
-Disassembly of section \.text:
-
-0+ <_start>:
-[ ]*[a-f0-9]+:[ ]*66 0f ae f8[ ]*pcommit
-[ ]*[a-f0-9]+:[ ]*66 0f ae f8[ ]*pcommit
-#pass
diff --git a/gas/testsuite/gas/i386/x86-64-pcommit.s b/gas/testsuite/gas/i386/x86-64-pcommit.s
deleted file mode 100644
index b791376..0000000
--- a/gas/testsuite/gas/i386/x86-64-pcommit.s
+++ /dev/null
@@ -1,10 +0,0 @@
-# Check 32bit PCOMMIT instructions
-
- .allow_index_reg
- .text
-_start:
-
- pcommit # PCOMMIT
-
- .intel_syntax noprefix
- pcommit # PCOMMIT