binutils-gdb/binutils/testsuite/binutils-all/mips/mips16-undecoded.d
Maciej W. Rozycki 3f3467ffc4 MIPS16e2: Add new MIPS16e2 ASE binutils and GAS tests
Verify MIPS16e2 ASE instruction assembly, disassembly and object file
flags.

	binutils/
	* testsuite/binutils-all/mips/mips16-undecoded.d: Add `-mips3'
	to `as' flags.
	* testsuite/binutils-all/mips/mips16e2-undecoded.d: New test.
	* testsuite/binutils-all/mips/mips16e2-extend-insn.d: New test.
	* testsuite/binutils-all/mips/mips16-undecoded.s: Remove
	`.module mips3'.
	* testsuite/binutils-all/mips/mips.exp: Run the new tests.

	gas/
	* testsuite/gas/mips/mips16e2.d: New test.
	* testsuite/gas/mips/mips16e2-mt.d: New test.
	* testsuite/gas/mips/mips16e2-sub.d: New test.
	* testsuite/gas/mips/mips16e2@mips16e2-sub.d: New test.
	* testsuite/gas/mips/mips16e2-mt-sub.d: New test.
	* testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: New test.
	* testsuite/gas/mips/mips16e2-hilo.d: New test.
	* testsuite/gas/mips/mips16e2-hilo-n32.d: New test.
	* testsuite/gas/mips/mips16e2-reloc-error.d: New test.
	* testsuite/gas/mips/mips16e2-imm-error.d: New test.
	* testsuite/gas/mips/elf_ase_mips16e2.d: New test.
	* testsuite/gas/mips/elf_ase_mips16e2-2.d: New test.
	* testsuite/gas/mips/elf-rel9-mips16e2.d: New test.
	* testsuite/gas/mips/mips16e2-lui.d: New test.
	* testsuite/gas/mips/mips16e2@mips32r2-sync.d: New test.
	* testsuite/gas/mips/mips16e2@mips32r2-sync-1.d: New test.
	* testsuite/gas/mips/mips16e2@lui-2.d: New test.
	* testsuite/gas/mips/mips16e2-reloc-error.l: New stderr output.
	* testsuite/gas/mips/mips16e2-imm-error.l: New stderr output.
	* testsuite/gas/mips/mips16e2@lui-2.l: New stderr output.
	* testsuite/gas/mips/mips16e2.s: New test source.
	* testsuite/gas/mips/mips16e2-mt.s: New test source.
	* testsuite/gas/mips/mips16e2-sub.s: New test source.
	* testsuite/gas/mips/mips16e2-mt-sub.s: New test source.
	* testsuite/gas/mips/mips16e2-hilo.s: New test source.
	* testsuite/gas/mips/mips16e2-reloc-error.s: New test source.
	* testsuite/gas/mips/mips16e2-imm-error.s: New test source.
	* testsuite/gas/mips/elf-rel9-mips16e2.s: New test source.
	* testsuite/gas/mips/mips16e2-lui.s: New test source.
	* testsuite/gas/mips/mips.exp: Expand `mips32r2-sync',
	`mips32r2-sync-1', `lui-1' and `lui-2' tests across MIPS16e2
	architectures.  Run the new tests.
2017-05-15 13:57:11 +01:00

169 lines
7.4 KiB
Makefile

#PROG: objcopy
#objdump: -dr --prefix-addresses --show-raw-insn
#name: MIPS16 undecoded extended instruction field disassembly
#as: -32 -mips3
.*: +file format .*mips.*
Disassembly of section \.text:
[0-9a-f]+ <[^>]*> f008 0211 addiu v0,sp,16401
[0-9a-f]+ <[^>]*> f008 0211 addiu v0,sp,16401
[0-9a-f]+ <[^>]*> f008 0231 addiu v0,sp,16401
[0-9a-f]+ <[^>]*> f008 0251 addiu v0,sp,16401
[0-9a-f]+ <[^>]*> f008 0291 addiu v0,sp,16401
[0-9a-f]+ <[^>]*> f008 0a11 la v0,00004025 <foo\+0x4025>
[0-9a-f]+ <[^>]*> f008 0a11 la v0,00004029 <foo\+0x4029>
[0-9a-f]+ <[^>]*> f008 0a31 la v0,0000402d <foo\+0x402d>
[0-9a-f]+ <[^>]*> f008 0a51 la v0,00004031 <foo\+0x4031>
[0-9a-f]+ <[^>]*> f008 0a91 la v0,00004035 <foo\+0x4035>
[0-9a-f]+ <[^>]*> f008 1011 b 0000804e <foo\+0x804e>
[0-9a-f]+ <[^>]*> f008 1011 b 00008052 <foo\+0x8052>
[0-9a-f]+ <[^>]*> f008 1031 b 00008056 <foo\+0x8056>
[0-9a-f]+ <[^>]*> f008 1051 b 0000805a <foo\+0x805a>
[0-9a-f]+ <[^>]*> f008 1091 b 0000805e <foo\+0x805e>
[0-9a-f]+ <[^>]*> f008 1111 b 00008062 <foo\+0x8062>
[0-9a-f]+ <[^>]*> f008 1211 b 00008066 <foo\+0x8066>
[0-9a-f]+ <[^>]*> f008 1411 b 0000806a <foo\+0x806a>
[0-9a-f]+ <[^>]*> f008 2211 beqz v0,0000806e <foo\+0x806e>
[0-9a-f]+ <[^>]*> f008 2211 beqz v0,00008072 <foo\+0x8072>
[0-9a-f]+ <[^>]*> f008 2231 beqz v0,00008076 <foo\+0x8076>
[0-9a-f]+ <[^>]*> f008 2251 beqz v0,0000807a <foo\+0x807a>
[0-9a-f]+ <[^>]*> f008 2291 beqz v0,0000807e <foo\+0x807e>
[0-9a-f]+ <[^>]*> f008 2a11 bnez v0,00008082 <foo\+0x8082>
[0-9a-f]+ <[^>]*> f008 2a11 bnez v0,00008086 <foo\+0x8086>
[0-9a-f]+ <[^>]*> f008 2a31 bnez v0,0000808a <foo\+0x808a>
[0-9a-f]+ <[^>]*> f008 2a51 bnez v0,0000808e <foo\+0x808e>
[0-9a-f]+ <[^>]*> f008 2a91 bnez v0,00008092 <foo\+0x8092>
[0-9a-f]+ <[^>]*> f008 4a11 addiu v0,16401
[0-9a-f]+ <[^>]*> f008 4a11 addiu v0,16401
[0-9a-f]+ <[^>]*> f008 4a31 addiu v0,16401
[0-9a-f]+ <[^>]*> f008 4a51 addiu v0,16401
[0-9a-f]+ <[^>]*> f008 4a91 addiu v0,16401
[0-9a-f]+ <[^>]*> f008 5211 slti v0,16401
[0-9a-f]+ <[^>]*> f008 5211 slti v0,16401
[0-9a-f]+ <[^>]*> f008 5231 slti v0,16401
[0-9a-f]+ <[^>]*> f008 5251 slti v0,16401
[0-9a-f]+ <[^>]*> f008 5291 slti v0,16401
[0-9a-f]+ <[^>]*> f008 5a11 sltiu v0,16401
[0-9a-f]+ <[^>]*> f008 5a11 sltiu v0,16401
[0-9a-f]+ <[^>]*> f008 5a31 sltiu v0,16401
[0-9a-f]+ <[^>]*> f008 5a51 sltiu v0,16401
[0-9a-f]+ <[^>]*> f008 5a91 sltiu v0,16401
[0-9a-f]+ <[^>]*> f008 6a11 li v0,16401
[0-9a-f]+ <[^>]*> f008 6a11 li v0,16401
[0-9a-f]+ <[^>]*> f008 6a31 li v0,16401
[0-9a-f]+ <[^>]*> f008 6a51 li v0,16401
[0-9a-f]+ <[^>]*> f008 6a91 li v0,16401
[0-9a-f]+ <[^>]*> f008 7211 cmpi v0,16401
[0-9a-f]+ <[^>]*> f008 7211 cmpi v0,16401
[0-9a-f]+ <[^>]*> f008 7231 cmpi v0,16401
[0-9a-f]+ <[^>]*> f008 7251 cmpi v0,16401
[0-9a-f]+ <[^>]*> f008 7291 cmpi v0,16401
[0-9a-f]+ <[^>]*> f008 9211 lw v0,16401\(sp\)
[0-9a-f]+ <[^>]*> f008 9211 lw v0,16401\(sp\)
[0-9a-f]+ <[^>]*> f008 9231 lw v0,16401\(sp\)
[0-9a-f]+ <[^>]*> f008 9251 lw v0,16401\(sp\)
[0-9a-f]+ <[^>]*> f008 9291 lw v0,16401\(sp\)
[0-9a-f]+ <[^>]*> f008 b211 lw v0,000040f9 <foo\+0x40f9>
[0-9a-f]+ <[^>]*> f008 b211 lw v0,000040fd <foo\+0x40fd>
[0-9a-f]+ <[^>]*> f008 b231 lw v0,00004101 <foo\+0x4101>
[0-9a-f]+ <[^>]*> f008 b251 lw v0,00004105 <foo\+0x4105>
[0-9a-f]+ <[^>]*> f008 b291 lw v0,00004109 <foo\+0x4109>
[0-9a-f]+ <[^>]*> f008 d211 sw v0,16401\(sp\)
[0-9a-f]+ <[^>]*> f008 d211 sw v0,16401\(sp\)
[0-9a-f]+ <[^>]*> f008 d231 sw v0,16401\(sp\)
[0-9a-f]+ <[^>]*> f008 d251 sw v0,16401\(sp\)
[0-9a-f]+ <[^>]*> f008 d291 sw v0,16401\(sp\)
[0-9a-f]+ <[^>]*> f008 6011 bteqz 00008136 <foo\+0x8136>
[0-9a-f]+ <[^>]*> f008 6011 bteqz 0000813a <foo\+0x813a>
[0-9a-f]+ <[^>]*> f008 6031 bteqz 0000813e <foo\+0x813e>
[0-9a-f]+ <[^>]*> f008 6051 bteqz 00008142 <foo\+0x8142>
[0-9a-f]+ <[^>]*> f008 6091 bteqz 00008146 <foo\+0x8146>
[0-9a-f]+ <[^>]*> f008 6111 btnez 0000814a <foo\+0x814a>
[0-9a-f]+ <[^>]*> f008 6111 btnez 0000814e <foo\+0x814e>
[0-9a-f]+ <[^>]*> f008 6131 btnez 00008152 <foo\+0x8152>
[0-9a-f]+ <[^>]*> f008 6151 btnez 00008156 <foo\+0x8156>
[0-9a-f]+ <[^>]*> f008 6191 btnez 0000815a <foo\+0x815a>
[0-9a-f]+ <[^>]*> f008 6211 sw ra,16401\(sp\)
[0-9a-f]+ <[^>]*> f008 6211 sw ra,16401\(sp\)
[0-9a-f]+ <[^>]*> f008 6231 sw ra,16401\(sp\)
[0-9a-f]+ <[^>]*> f008 6251 sw ra,16401\(sp\)
[0-9a-f]+ <[^>]*> f008 6291 sw ra,16401\(sp\)
[0-9a-f]+ <[^>]*> f008 6311 addiu sp,16401
[0-9a-f]+ <[^>]*> f008 6311 addiu sp,16401
[0-9a-f]+ <[^>]*> f008 6331 addiu sp,16401
[0-9a-f]+ <[^>]*> f008 6351 addiu sp,16401
[0-9a-f]+ <[^>]*> f008 6391 addiu sp,16401
[0-9a-f]+ <[^>]*> f500 3260 sll v0,v1,20
[0-9a-f]+ <[^>]*> f500 3260 sll v0,v1,20
[0-9a-f]+ <[^>]*> f500 3264 sll v0,v1,20
[0-9a-f]+ <[^>]*> f500 3268 sll v0,v1,20
[0-9a-f]+ <[^>]*> f500 3270 sll v0,v1,20
[0-9a-f]+ <[^>]*> f501 3260 sll v0,v1,20
[0-9a-f]+ <[^>]*> f502 3260 sll v0,v1,20
[0-9a-f]+ <[^>]*> f504 3260 sll v0,v1,20
[0-9a-f]+ <[^>]*> f508 3260 sll v0,v1,20
[0-9a-f]+ <[^>]*> f510 3260 sll v0,v1,20
[0-9a-f]+ <[^>]*> f520 3260 sll v0,v1,20
[0-9a-f]+ <[^>]*> f500 3261 dsll v0,v1,20
[0-9a-f]+ <[^>]*> f500 3261 dsll v0,v1,20
[0-9a-f]+ <[^>]*> f500 3265 dsll v0,v1,20
[0-9a-f]+ <[^>]*> f500 3269 dsll v0,v1,20
[0-9a-f]+ <[^>]*> f500 3271 dsll v0,v1,20
[0-9a-f]+ <[^>]*> f501 3261 dsll v0,v1,20
[0-9a-f]+ <[^>]*> f502 3261 dsll v0,v1,20
[0-9a-f]+ <[^>]*> f504 3261 dsll v0,v1,20
[0-9a-f]+ <[^>]*> f508 3261 dsll v0,v1,20
[0-9a-f]+ <[^>]*> f510 3261 dsll v0,v1,20
[0-9a-f]+ <[^>]*> f520 3261 dsll v0,v1,52
[0-9a-f]+ <[^>]*> f500 3262 srl v0,v1,20
[0-9a-f]+ <[^>]*> f500 3262 srl v0,v1,20
[0-9a-f]+ <[^>]*> f500 3266 srl v0,v1,20
[0-9a-f]+ <[^>]*> f500 326a srl v0,v1,20
[0-9a-f]+ <[^>]*> f500 3272 srl v0,v1,20
[0-9a-f]+ <[^>]*> f501 3262 srl v0,v1,20
[0-9a-f]+ <[^>]*> f502 3262 srl v0,v1,20
[0-9a-f]+ <[^>]*> f504 3262 srl v0,v1,20
[0-9a-f]+ <[^>]*> f508 3262 srl v0,v1,20
[0-9a-f]+ <[^>]*> f510 3262 srl v0,v1,20
[0-9a-f]+ <[^>]*> f520 3262 srl v0,v1,20
[0-9a-f]+ <[^>]*> f500 3263 sra v0,v1,20
[0-9a-f]+ <[^>]*> f500 3263 sra v0,v1,20
[0-9a-f]+ <[^>]*> f500 3267 sra v0,v1,20
[0-9a-f]+ <[^>]*> f500 326b sra v0,v1,20
[0-9a-f]+ <[^>]*> f500 3273 sra v0,v1,20
[0-9a-f]+ <[^>]*> f501 3263 sra v0,v1,20
[0-9a-f]+ <[^>]*> f502 3263 sra v0,v1,20
[0-9a-f]+ <[^>]*> f504 3263 sra v0,v1,20
[0-9a-f]+ <[^>]*> f508 3263 sra v0,v1,20
[0-9a-f]+ <[^>]*> f510 3263 sra v0,v1,20
[0-9a-f]+ <[^>]*> f520 3263 sra v0,v1,20
[0-9a-f]+ <[^>]*> f500 e848 dsrl v0,20
[0-9a-f]+ <[^>]*> f500 e848 dsrl v0,20
[0-9a-f]+ <[^>]*> f500 e948 dsrl v0,20
[0-9a-f]+ <[^>]*> f500 ea48 dsrl v0,20
[0-9a-f]+ <[^>]*> f500 ec48 dsrl v0,20
[0-9a-f]+ <[^>]*> f501 e848 dsrl v0,20
[0-9a-f]+ <[^>]*> f502 e848 dsrl v0,20
[0-9a-f]+ <[^>]*> f504 e848 dsrl v0,20
[0-9a-f]+ <[^>]*> f508 e848 dsrl v0,20
[0-9a-f]+ <[^>]*> f510 e848 dsrl v0,20
[0-9a-f]+ <[^>]*> f520 e848 dsrl v0,52
[0-9a-f]+ <[^>]*> f500 e853 dsra v0,20
[0-9a-f]+ <[^>]*> f500 e853 dsra v0,20
[0-9a-f]+ <[^>]*> f500 e953 dsra v0,20
[0-9a-f]+ <[^>]*> f500 ea53 dsra v0,20
[0-9a-f]+ <[^>]*> f500 ec53 dsra v0,20
[0-9a-f]+ <[^>]*> f501 e853 dsra v0,20
[0-9a-f]+ <[^>]*> f502 e853 dsra v0,20
[0-9a-f]+ <[^>]*> f504 e853 dsra v0,20
[0-9a-f]+ <[^>]*> f508 e853 dsra v0,20
[0-9a-f]+ <[^>]*> f510 e853 dsra v0,20
[0-9a-f]+ <[^>]*> f520 e853 dsra v0,52
[0-9a-f]+ <[^>]*> f008 fb11 daddiu sp,16401
[0-9a-f]+ <[^>]*> f008 fb11 daddiu sp,16401
[0-9a-f]+ <[^>]*> f008 fb31 daddiu sp,16401
[0-9a-f]+ <[^>]*> f008 fb51 daddiu sp,16401
[0-9a-f]+ <[^>]*> f008 fb91 daddiu sp,16401
\.\.\.