Browse Source
* Bonus test cases to confirm behavior. [ChangeLog] Thu May 7 12:50:33 1998 Frank Ch. Eigler <fche@cygnus.com> * config/tc-mips.c (validate_mips_insn): Removed hack for previously inaccessible bitfields in some INSN_TRAP instructions. [testsuite/ChangeLog] Thu May 7 13:05:25 1998 Frank Ch. Eigler <fche@cygnus.com> * gas/mips/break20.[sd]: New tests for 20-bit operand break and sddbp instructions. * gas/mips/trap20.[sd]: New tests for 20-bit operand trap instructions. * gas/mips/mips.exp: Run them.gdb-4_18-branch
5 changed files with 66 additions and 1 deletions
@ -0,0 +1,17 @@ |
|||
# Source file used to test the 20-bit break instructions |
|||
foo: |
|||
break |
|||
break 0 |
|||
break 20 |
|||
break 20,40 |
|||
break 1023,1023 |
|||
|
|||
sdbbp |
|||
sdbbp 0 |
|||
sdbbp 20 |
|||
sdbbp 20,40 |
|||
sdbbp 1023,1023 |
|||
|
|||
# force some padding, to make objdump consistently report that there's some |
|||
# here... |
|||
.space 8 |
|||
@ -0,0 +1,18 @@ |
|||
# Source file used to test the 20-bit trap instructions |
|||
foo: |
|||
teq $0,$3 |
|||
teq $0,$3,1 |
|||
tge $0,$3 |
|||
tge $0,$3,3 |
|||
tgeu $0,$3 |
|||
tgeu $0,$3,7 |
|||
tlt $0,$3 |
|||
tlt $0,$3,31 |
|||
tltu $0,$3 |
|||
tltu $0,$3,255 |
|||
tne $0,$3 |
|||
tne $0,$3,1023 |
|||
|
|||
# force some padding, to make objdump consistently report that there's some |
|||
# here... |
|||
.space 8 |
|||
Loading…
Reference in new issue