aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-opc.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2008-01-03 05:29:53 +0000
committerH.J. Lu <hjl.tools@gmail.com>2008-01-03 05:29:53 +0000
commite0329a226609e464988129ffde49992df8649aca (patch)
tree1057a4a0fb326c32ecf68a069497edeac8ff5258 /opcodes/i386-opc.h
parent18a2244ddde98503db6204adb8e3e03f0c3ed03e (diff)
downloadgdb-e0329a226609e464988129ffde49992df8649aca.zip
gdb-e0329a226609e464988129ffde49992df8649aca.tar.gz
gdb-e0329a226609e464988129ffde49992df8649aca.tar.bz2
gas/testsuite/
2008-01-02 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/arch-5.d: New file. * gas/i386/arch-5.s: Likewise. * gas/i386/arch-6.d: Likewise. * gas/i386/arch-6.s: Likewise. * gas/i386/arch-7.d: Likewise. * gas/i386/arch-7.s: Likewise. * gas/i386/arch-8.d: Likewise. * gas/i386/arch-8.s: Likewise. * gas/i386/i386.exp: Run arch-5, arch-6, arch-7 and arch-8. opcodes/ 2008-01-02 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (cpu_flag_init): Add CpuSSE4_2_Or_ABM to CPU_AMDFAM10_FLAGS, CPU_SSE4_2_FLAGS, CpuABM and CPU_SSE5_FLAGS. (cpu_flags): Add CpuSSE4_2_Or_ABM. * i386-opc.h (CpuSSE4_2_Or_ABM): New. (CpuLM): Updated. (i386_cpu_flags): Add cpusse4_2_or_abm. * i386-opc.tbl: Use CpuSSE4_2_Or_ABM instead of CpuABM|CpuSSE4_2 on popcnt. * i386-init.h: Regenerated. * i386-tbl.h: Likewise.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r--opcodes/i386-opc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h
index c77ae3c..6cbfebd 100644
--- a/opcodes/i386-opc.h
+++ b/opcodes/i386-opc.h
@@ -84,8 +84,10 @@
#define CpuSSE5 (CpuSSE4_2 + 1)
/* SSE4.1 or SSE5 support required */
#define CpuSSE4_1_Or_5 (CpuSSE5 + 1)
+/* SSE4.2 or ABM support required */
+#define CpuSSE4_2_Or_ABM (CpuSSE4_1_Or_5 + 1)
/* 64bit support available, used by -march= in assembler. */
-#define CpuLM (CpuSSE4_1_Or_5 + 1)
+#define CpuLM (CpuSSE4_2_Or_ABM + 1)
/* 64bit support required */
#define Cpu64 (CpuLM + 1)
/* Not supported in the 64bit mode */
@@ -135,6 +137,7 @@ typedef union i386_cpu_flags
unsigned int cpusse4_2:1;
unsigned int cpusse5:1;
unsigned int cpusse4_1_or_5:1;
+ unsigned int cpusse4_2_or_abm:1;
unsigned int cpulm:1;
unsigned int cpu64:1;
unsigned int cpuno64:1;