2013-06-13 Chao-ying Fu <Chao-ying.Fu@imgtec.com>

* gas/mips/micromips@virt.d: New file.
	* gas/mips/micromips@virt64.d: New file.
	* gas/mips/mips.exp: Enable virt and virt64 tests for micromips.
This commit is contained in:
Chao-ying Fu 2013-06-13 21:04:33 +00:00
parent ba92f7fb59
commit cdd4989877
4 changed files with 42 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2013-06-13 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
* gas/mips/micromips@virt.d: New file.
* gas/mips/micromips@virt64.d: New file.
* gas/mips/mips.exp: Enable virt and virt64 tests for micromips.
2013-06-12 Sandra Loosemore <sandra@codesourcery.com>
* gas/nios2/movia.s: Add additional test case with negative

View File

@ -0,0 +1,21 @@
#objdump: -dr --prefix-addresses --show-raw-insn -Mvirt,cp0-names=mips32r2
#name: virt instructions
#source: virt.s
#as: -32 -mvirt
.*: +file format .*mips.*
Disassembly of section \.text:
[0-9a-f]+ <[^>]*> 007d 04fc mfgc0 v1,c0_taghi
[0-9a-f]+ <[^>]*> 0174 2cfc mfgc0 t3,\$20,5
[0-9a-f]+ <[^>]*> 02e2 06fc mtgc0 s7,c0_entrylo0
[0-9a-f]+ <[^>]*> 00ee 16fc mtgc0 a3,\$14,2
[0-9a-f]+ <[^>]*> 0000 c37c hypcall
[0-9a-f]+ <[^>]*> 0256 c37c hypcall 0x256
[0-9a-f]+ <[^>]*> 0000 417c tlbginv
[0-9a-f]+ <[^>]*> 0000 517c tlbginvf
[0-9a-f]+ <[^>]*> 0000 017c tlbgp
[0-9a-f]+ <[^>]*> 0000 117c tlbgr
[0-9a-f]+ <[^>]*> 0000 217c tlbgwi
[0-9a-f]+ <[^>]*> 0000 317c tlbgwr
\.\.\.

View File

@ -0,0 +1,13 @@
#objdump: -dr --prefix-addresses --show-raw-insn -Mvirt,cp0-names=mips64r2
#name: virt64 instructions
#source: virt64.s
#as: -64 -mvirt
.*: +file format .*mips.*
Disassembly of section \.text:
[0-9a-f]+ <[^>]*> 587d 00e7 dmfgc0 v1,c0_taghi
[0-9a-f]+ <[^>]*> 5974 28e7 dmfgc0 a7,\$20,5
[0-9a-f]+ <[^>]*> 5ae2 02e7 dmtgc0 s7,c0_entrylo0
[0-9a-f]+ <[^>]*> 58ee 12e7 dmtgc0 a3,\$14,2
\.\.\.

View File

@ -791,8 +791,8 @@ if { [istarget mips*-*-vxworks*] } {
run_dump_test "lineno"
run_dump_test "sync"
run_dump_test_arches "virt" [mips_arch_list_matching mips32r2 !micromips]
run_dump_test_arches "virt64" [mips_arch_list_matching mips64r2 !micromips]
run_dump_test_arches "virt" [mips_arch_list_matching mips32r2]
run_dump_test_arches "virt64" [mips_arch_list_matching mips64r2]
run_dump_test_arches "mips32" [mips_arch_list_matching mips32]
run_dump_test_arches "mips32-imm" [mips_arch_list_matching mips32]