diff options
Diffstat (limited to 'gas/testsuite/gas')
-rw-r--r-- | gas/testsuite/gas/mips/octeon-ill.l | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/octeon-ill.s | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/octeon.d | 30 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/octeon.s | 27 |
4 files changed, 66 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mips/octeon-ill.l b/gas/testsuite/gas/mips/octeon-ill.l index 9fcfb949ae..880f2f542d 100644 --- a/gas/testsuite/gas/mips/octeon-ill.l +++ b/gas/testsuite/gas/mips/octeon-ill.l @@ -13,3 +13,7 @@ .*:26: Error: Improper size \(29\) .*:28: Error: Improper position \(70\) .*:29: Error: Improper size \(25\) +.*:31: Error: Improper immediate \(512\) +.*:32: Error: Improper immediate \(-771\) +.*:33: Error: Improper immediate \(615\) +.*:34: Error: Improper immediate \(-513\) diff --git a/gas/testsuite/gas/mips/octeon-ill.s b/gas/testsuite/gas/mips/octeon-ill.s index 0f3013d75c..1319938dfb 100644 --- a/gas/testsuite/gas/mips/octeon-ill.s +++ b/gas/testsuite/gas/mips/octeon-ill.s @@ -27,3 +27,8 @@ foo: exts $14,$29,70,14 exts $20,$16,39,25 + + seqi $14,$13,512 + seqi $19,-771 + snei $18,$30,615 + snei $17,-513 diff --git a/gas/testsuite/gas/mips/octeon.d b/gas/testsuite/gas/mips/octeon.d index 0cedad82ff..ede90a3ef0 100644 --- a/gas/testsuite/gas/mips/octeon.d +++ b/gas/testsuite/gas/mips/octeon.d @@ -45,6 +45,36 @@ Disassembly of section .text: .*: 72000009 mtp0 \$16 .*: 7320000a mtp1 \$25 .*: 7120000b mtp2 \$9 +.*: 72f8e82a seq \$29,\$23,\$24 +.*: 70dc302a seq \$6,\$6,\$28 +.*: 71f1802e seqi \$17,\$15,-512 +.*: 721009ae seqi \$16,\$16,38 +.*: 7085bbae seqi \$5,\$4,-274 +.*: 718c7fee seqi \$12,\$12,511 +.*: 3b3e0200 xori \$30,\$25,0x200 +.*: 2fde0001 sltiu \$30,\$30,1 +.*: 65820309 daddiu \$2,\$12,777 +.*: 2c420001 sltiu \$2,\$2,1 +.*: 3c010001 lui \$1,0x1 +.*: 73c1502a seq \$10,\$30,\$1 +.*: 3c01ffff lui \$1,0xffff +.*: 342146fa ori \$1,\$1,0x46fa +.*: 7321f02a seq \$30,\$25,\$1 +.*: 7042302b sne \$6,\$2,\$2 +.*: 72f4b82b sne \$23,\$23,\$20 +.*: 7204b1ef snei \$4,\$16,-313 +.*: 735a7fef snei \$26,\$26,511 +.*: 72f5802f snei \$21,\$23,-512 +.*: 718c146f snei \$12,\$12,81 +.*: 39c40379 xori \$4,\$14,0x379 +.*: 0004202b sltu \$4,\$0,\$4 +.*: 65b80201 daddiu \$24,\$13,513 +.*: 0018c02b sltu \$24,\$0,\$24 +.*: 3c010001 lui \$1,0x1 +.*: 3421d1d2 ori \$1,\$1,0xd1d2 +.*: 73c1502b sne \$10,\$30,\$1 +.*: 24018000 li \$1,-32768 +.*: 7321f02b sne \$30,\$25,\$1 .*: 0000008f synciobdma .*: 0000018f syncs .*: 0000010f syncw diff --git a/gas/testsuite/gas/mips/octeon.s b/gas/testsuite/gas/mips/octeon.s index 45154dc077..b759504814 100644 --- a/gas/testsuite/gas/mips/octeon.s +++ b/gas/testsuite/gas/mips/octeon.s @@ -49,6 +49,33 @@ foo: mtp1 $25 mtp2 $9 + seq $29,$23,$24 + seq $6,$28 + + seqi $17,$15,-512 + seqi $16,38 + + seq $5,$4,-274 # seqi + seq $12,511 # seqi + seq $30,$25,512 # xori $30,$25,512;sltiu $30,$30,1 + seq $2,$12,-777 # daddiu $2,$12,777;sltiu $2,$2,1 + seq $10,$30,0x10000 # lui $1,0x1; seq $10,$30,$1 + seq $30,$25,-47366 # lui $1,0xffff; ori $1,$1,0x46fa; seq $30,$25,$1 + + sne $6,$2,$2 + sne $23,$20 + + snei $4,$16,-313 + snei $26,511 + + sne $21,$23,-512 # snei + sne $12,81 # snei + + sne $4,$14,889 # xori $4,$14,889;sltu $4,$0,$4 + sne $24,$13,-513 # daddiu $24,$13,513;sltu $24,$0,$24 + sne $10,$30,119250 # lui $1,0x1; ori $1,$1,0xd1d2; sne $10,$30,$1 + sne $30,$25,-0x8000 # li $1,-32768; sne $30,$25,$1 + synciobdma syncs syncw |