* gas/mips/mips.exp: Call mips_arch_create for Octeon. Invoke

Octeon tests.
	* gas/mips/octeon.s, gas/mips/octeon.d: New test.
This commit is contained in:
Adam Nemet 2008-02-04 19:19:43 +00:00
parent 05c6f0503c
commit 61d4e56d1b
4 changed files with 28 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
* gas/mips/mips.exp: Call mips_arch_create for Octeon. Invoke
Octeon tests.
* gas/mips/octeon.s, gas/mips/octeon.d: New test.
2008-01-31 Marc Gauthier <marc@tensilica.com>
* gas/all/gas.exp: Recognize Xtensa processor variants.

View File

@ -361,6 +361,9 @@ mips_arch_create vr5400 64 mips4 { ror } \
mips_arch_create sb1 64 mips64 { mips3d } \
{ -march=sb1 -mtune=sb1 } { -mmips:sb1 } \
{ mipsisa64sb1-*-* mipsisa64sb1el-*-* }
mips_arch_create octeon 64 mips64r2 {} \
{ -march=octeon -mtune=octeon } { -mmips:octeon } \
{ mips64octeon*-*-* }
#
# And now begin the actual tests! VxWorks uses RELA rather than REL
@ -761,6 +764,8 @@ if { [istarget mips*-*-vxworks*] } {
run_dump_test "loongson-2e"
run_dump_test "loongson-2f"
run_dump_test "octeon"
run_dump_test_arches "smartmips" [mips_arch_list_matching mips32 !gpr64]
run_dump_test_arches "mips32-dsp" [mips_arch_list_matching mips32r2]
run_dump_test_arches "mips32-dspr2" [mips_arch_list_matching mips32r2]

View File

@ -0,0 +1,11 @@
#as: -march=octeon
#objdump: -M reg-names=numeric -dr
#name: MIPS octeon instructions
.*: file format .*
Disassembly of section .text:
[0-9a-f]+ <sync_insns>:
.*: 0000008f synciobdma
#pass

View File

@ -0,0 +1,6 @@
.text
.set noreorder
sync_insns:
synciobdma