2013-04-30 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
* gas/mips/ext-ill.s: New file. * gas/mips/ext-ill.l: New file. * gas/mips/mips.exp: Run new tests.
This commit is contained in:
parent
f02d83189e
commit
a51639867b
4 changed files with 23 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2013-04-30 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
|
||||
|
||||
* gas/mips/ext-ill.s: New file.
|
||||
* gas/mips/ext-ill.l: New file.
|
||||
* gas/mips/mips.exp: Run new tests.
|
||||
|
||||
2013-04-29 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* gas/elf/dwarf2-3.d: Fix expected readelf output.
|
||||
|
|
6
gas/testsuite/gas/mips/ext-ill.l
Normal file
6
gas/testsuite/gas/mips/ext-ill.l
Normal file
|
@ -0,0 +1,6 @@
|
|||
.*: Assembler messages:
|
||||
.*:5: Error: Improper extract size \(0, position 1\)
|
||||
.*:6: Error: Improper extract size \(0, position 1\)
|
||||
.*:7: Error: Improper extract size \(2, position 31\)
|
||||
.*:8: Error: Improper extract size \(32, position 1\)
|
||||
.*:9: Error: Improper extract size \(0, position 33\)
|
9
gas/testsuite/gas/mips/ext-ill.s
Normal file
9
gas/testsuite/gas/mips/ext-ill.s
Normal file
|
@ -0,0 +1,9 @@
|
|||
# source file to test illegal ext, dext, dextm, dextu instructions
|
||||
|
||||
.text
|
||||
text_label:
|
||||
ext $2, $3, 1, 0
|
||||
dext $2, $3, 1, 0
|
||||
dextm $2, $3, 31, 2
|
||||
dextm $2, $3, 1, 32
|
||||
dextu $2, $3, 33, 0
|
|
@ -1169,4 +1169,6 @@ if { [istarget mips*-*-vxworks*] } {
|
|||
run_dump_test "r5900"
|
||||
run_dump_test "r5900-full"
|
||||
if $elf { run_list_test "r5900-nollsc" "-mabi=o64 -march=r5900" }
|
||||
|
||||
run_list_test_arches "ext-ill" [mips_arch_list_matching mips64r2]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue