* Various MIPS test case tweaks.

Mon May 18 13:11:45 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* gas/mips/{div,ld,mul}.d: Add assembler -mcpu= flag to match
 	disassembler.
start-sanitize-r5900
	* gas/mips/break5900.[sd]: Test that break instructions generated
 	in div/etc. macro instructions are of 20-bit variety for R5900.
end-sanitize-r5900
This commit is contained in:
Frank Ch. Eigler
1998-05-18 10:15:38 +00:00
parent 58b60bec0d
commit 838aec1918
2 changed files with 37 additions and 0 deletions

View File

@ -1,3 +1,13 @@
Mon May 18 13:11:45 1998 Frank Ch. Eigler <fche@cygnus.com>
* gas/mips/{div,ld,mul}.d: Add assembler -mcpu= flag to match
disassembler.
start-sanitize-r5900
* gas/mips/break5900.[sd]: Test that break instructions generated
in div/etc. macro instructions are of 20-bit variety for R5900.
end-sanitize-r5900
Fri May 15 14:51:01 1998 Gavin Koch <gavin@cygnus.com>
* gas/mips/mips.exp: Distinguish chains with 32-bit addresses.

View File

@ -0,0 +1,27 @@
# Source file used to test the 20-bit break instructions
foo:
break
break 0
break 20
break 40
break 1023
break 0xffff0
break 0xfffff
# Test div macros to confirm its use of 20-bit break - from div.s testcase
div $4,1
div $4,$5,1
divu $0,$4,$5
divu $4,$5
divu $4,1
rem $4,$5,$6
remu $4,$5,2
ddiv $4,$5,$6
ddivu $4,$5,2
drem $4,$5,0x8000
# force some padding, to make objdump consistently report that there's some
# here...
.space 8