diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2008-01-04 01:05:45 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2008-01-04 01:05:45 +0000 |
commit | 3629bb00a8c7689af995272018df56e85b82f569 (patch) | |
tree | 0e6760bb541f4c2304edb948374eac8b7128c613 /gas/testsuite | |
parent | 2e5168804d07f991ed4266d2447f2525a7e2cfa0 (diff) | |
download | gdb-3629bb00a8c7689af995272018df56e85b82f569.zip gdb-3629bb00a8c7689af995272018df56e85b82f569.tar.gz gdb-3629bb00a8c7689af995272018df56e85b82f569.tar.bz2 |
gas/
2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
* gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
(cpu_flags_not): Likewise.
(cpu_flags_match): Updated to check 64bit and arch.
(set_code_flag): Remove cpu_arch_flags_not.
(set_16bit_gcc_code_flag): Likewise.
(set_cpu_arch): Likewise.
(md_begin): Likewise.
(parse_insn): Call cpu_flags_match to check 64bit and arch.
(match_template): Likewise.
gas/testsuite/
2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/arch-9.d: New file.
* gas/i386/arch-9.s: Likewise.
* gas/i386/i386.exp: Run arch-9.
opcodes/
2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (cpu_flag_init): Remove CpuSSE4_1_Or_5 and
CpuSSE4_2_Or_ABM.
(cpu_flags): Likewise.
* i386-opc.h (CpuSSE4_1_Or_5): Removed.
(CpuSSE4_2_Or_ABM): Likewise.
(CpuLM): Updated.
(i386_cpu_flags): Remove cpusse4_1_or_5 and cpusse4_2_or_abm.
* i386-opc.tbl: Replace CpuSSE4_1_Or_5, CpuSSE4_2_Or_ABM and
Cpu686|CpuPadLock with CpuSSE4_1|CpuSSE5, CpuABM|CpuSSE4_2
and CpuPadLock, respectively.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/arch-9.d | 10 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/arch-9.s | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/i386.exp | 1 |
4 files changed, 22 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index a99b324..881f578 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2008-01-03 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/arch-9.d: New file. + * gas/i386/arch-9.s: Likewise. + + * gas/i386/i386.exp: Run arch-9. + 2008-01-02 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/arch-5.d: New file. diff --git a/gas/testsuite/gas/i386/arch-9.d b/gas/testsuite/gas/i386/arch-9.d new file mode 100644 index 0000000..6736af8 --- /dev/null +++ b/gas/testsuite/gas/i386/arch-9.d @@ -0,0 +1,10 @@ +#objdump: -dw +#name: i386 arch 9 + +.*: file format .* + +Disassembly of section .text: + +0+ <.text>: +[ ]*[a-f0-9]+: 0f a7 c0 xstore-rng +#pass diff --git a/gas/testsuite/gas/i386/arch-9.s b/gas/testsuite/gas/i386/arch-9.s new file mode 100644 index 0000000..ae941d1 --- /dev/null +++ b/gas/testsuite/gas/i386/arch-9.s @@ -0,0 +1,4 @@ +# Test .arch .padlock +.arch generic32 +.arch .padlock +xstorerng diff --git a/gas/testsuite/gas/i386/i386.exp b/gas/testsuite/gas/i386/i386.exp index 0023c83..e5f4eae 100644 --- a/gas/testsuite/gas/i386/i386.exp +++ b/gas/testsuite/gas/i386/i386.exp @@ -106,6 +106,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]] run_dump_test "arch-6" run_dump_test "arch-7" run_dump_test "arch-8" + run_dump_test "arch-9" # These tests require support for 8 and 16 bit relocs, # so we only run them for ELF and COFF targets. |