diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2012-09-18 14:19:04 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2012-09-18 14:19:04 +0000 |
commit | 83ea18d0a3728a97bd2f68dca0ef48ba52e763cb (patch) | |
tree | a6a272e40bc88be90ebb2d66ab74c6f4cbee3ae0 /gas | |
parent | bb25a15c8fdacbdab231bba159894942cdfece2b (diff) | |
download | gdb-83ea18d0a3728a97bd2f68dca0ef48ba52e763cb.zip gdb-83ea18d0a3728a97bd2f68dca0ef48ba52e763cb.tar.gz gdb-83ea18d0a3728a97bd2f68dca0ef48ba52e763cb.tar.bz2 |
opcodes/
* micromips-opc.c (micromips_opcodes): Correct the encoding of
the "swxc1" instruction.
gas/testsuite/
* gas/mips/micromips.d: Correct the disassembly of SWXC1.
* gas/mips/micromips-trap.d: Likewise.
* gas/mips/micromips@24k-triple-stores-1.d: Likewise.
* gas/mips/micromips@mips4-fp.d: Likewise.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/micromips-trap.d | 16 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/micromips.d | 16 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/micromips@24k-triple-stores-1.d | 10 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/micromips@mips4-fp.d | 2 |
5 files changed, 29 insertions, 22 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index e381c00..c3f40c2 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2012-09-18 Chao-ying Fu <fu@mips.com> + + * gas/mips/micromips.d: Correct the disassembly of SWXC1. + * gas/mips/micromips-trap.d: Likewise. + * gas/mips/micromips@24k-triple-stores-1.d: Likewise. + * gas/mips/micromips@mips4-fp.d: Likewise. + 2012-09-17 Yufeng Zhang <yufeng.zhang@arm.com> * gas/aarch64/crypto.d (#as): Update for v8->v8-A change. diff --git a/gas/testsuite/gas/mips/micromips-trap.d b/gas/testsuite/gas/mips/micromips-trap.d index 461f23b..b97c29f 100644 --- a/gas/testsuite/gas/mips/micromips-trap.d +++ b/gas/testsuite/gas/mips/micromips-trap.d @@ -6504,14 +6504,14 @@ Disassembly of section \.text: [ 0-9a-f]+: 41a1 1234 lui at,0x1234 [ 0-9a-f]+: 0081 0950 addu at,at,a0 [ 0-9a-f]+: 9861 5678 swc1 \$f3,22136\(at\) -[ 0-9a-f]+: 5400 0048 lwxc1 \$f0,zero\(zero\) -[ 0-9a-f]+: 5402 0048 lwxc1 \$f0,zero\(v0\) -[ 0-9a-f]+: 541f 0048 lwxc1 \$f0,zero\(ra\) -[ 0-9a-f]+: 545f 0048 lwxc1 \$f0,v0\(ra\) -[ 0-9a-f]+: 57ff 0048 lwxc1 \$f0,ra\(ra\) -[ 0-9a-f]+: 57ff 0848 lwxc1 \$f1,ra\(ra\) -[ 0-9a-f]+: 57ff 1048 lwxc1 \$f2,ra\(ra\) -[ 0-9a-f]+: 57ff f848 lwxc1 \$f31,ra\(ra\) +[ 0-9a-f]+: 5400 0088 swxc1 \$f0,zero\(zero\) +[ 0-9a-f]+: 5402 0088 swxc1 \$f0,zero\(v0\) +[ 0-9a-f]+: 541f 0088 swxc1 \$f0,zero\(ra\) +[ 0-9a-f]+: 545f 0088 swxc1 \$f0,v0\(ra\) +[ 0-9a-f]+: 57ff 0088 swxc1 \$f0,ra\(ra\) +[ 0-9a-f]+: 57ff 0888 swxc1 \$f1,ra\(ra\) +[ 0-9a-f]+: 57ff 1088 swxc1 \$f2,ra\(ra\) +[ 0-9a-f]+: 57ff f888 swxc1 \$f31,ra\(ra\) [ 0-9a-f]+: 5401 233b trunc\.l\.s \$f0,\$f1 [ 0-9a-f]+: 57df 233b trunc\.l\.s \$f30,\$f31 [ 0-9a-f]+: 5442 233b trunc\.l\.s \$f2,\$f2 diff --git a/gas/testsuite/gas/mips/micromips.d b/gas/testsuite/gas/mips/micromips.d index 1de9dab..af437f5 100644 --- a/gas/testsuite/gas/mips/micromips.d +++ b/gas/testsuite/gas/mips/micromips.d @@ -6576,14 +6576,14 @@ Disassembly of section \.text: [ 0-9a-f]+: 41a1 1234 lui at,0x1234 [ 0-9a-f]+: 0081 0950 addu at,at,a0 [ 0-9a-f]+: 9861 5678 swc1 \$f3,22136\(at\) -[ 0-9a-f]+: 5400 0048 lwxc1 \$f0,zero\(zero\) -[ 0-9a-f]+: 5402 0048 lwxc1 \$f0,zero\(v0\) -[ 0-9a-f]+: 541f 0048 lwxc1 \$f0,zero\(ra\) -[ 0-9a-f]+: 545f 0048 lwxc1 \$f0,v0\(ra\) -[ 0-9a-f]+: 57ff 0048 lwxc1 \$f0,ra\(ra\) -[ 0-9a-f]+: 57ff 0848 lwxc1 \$f1,ra\(ra\) -[ 0-9a-f]+: 57ff 1048 lwxc1 \$f2,ra\(ra\) -[ 0-9a-f]+: 57ff f848 lwxc1 \$f31,ra\(ra\) +[ 0-9a-f]+: 5400 0088 swxc1 \$f0,zero\(zero\) +[ 0-9a-f]+: 5402 0088 swxc1 \$f0,zero\(v0\) +[ 0-9a-f]+: 541f 0088 swxc1 \$f0,zero\(ra\) +[ 0-9a-f]+: 545f 0088 swxc1 \$f0,v0\(ra\) +[ 0-9a-f]+: 57ff 0088 swxc1 \$f0,ra\(ra\) +[ 0-9a-f]+: 57ff 0888 swxc1 \$f1,ra\(ra\) +[ 0-9a-f]+: 57ff 1088 swxc1 \$f2,ra\(ra\) +[ 0-9a-f]+: 57ff f888 swxc1 \$f31,ra\(ra\) [ 0-9a-f]+: 5401 233b trunc\.l\.s \$f0,\$f1 [ 0-9a-f]+: 57df 233b trunc\.l\.s \$f30,\$f31 [ 0-9a-f]+: 5442 233b trunc\.l\.s \$f2,\$f2 diff --git a/gas/testsuite/gas/mips/micromips@24k-triple-stores-1.d b/gas/testsuite/gas/mips/micromips@24k-triple-stores-1.d index 15f3895..99757b9 100644 --- a/gas/testsuite/gas/mips/micromips@24k-triple-stores-1.d +++ b/gas/testsuite/gas/mips/micromips@24k-triple-stores-1.d @@ -58,11 +58,11 @@ Disassembly of section \.text: *[0-9a-f]+: 209d a010 sdc2 \$4,16\(sp\) *[0-9a-f]+: 20bd a018 sdc2 \$5,24\(sp\) *[0-9a-f]+: 20dd a020 sdc2 \$6,32\(sp\) - *[0-9a-f]+: 5528 0048 lwxc1 \$f0,t1\(t0\) - *[0-9a-f]+: 5548 0848 lwxc1 \$f1,t2\(t0\) - *[0-9a-f]+: 5568 1048 lwxc1 \$f2,t3\(t0\) - *[0-9a-f]+: 5588 1848 lwxc1 \$f3,t4\(t0\) - *[0-9a-f]+: 55a8 2048 lwxc1 \$f4,t5\(t0\) + *[0-9a-f]+: 5528 0088 swxc1 \$f0,t1\(t0\) + *[0-9a-f]+: 5548 0888 swxc1 \$f1,t2\(t0\) + *[0-9a-f]+: 5568 1088 swxc1 \$f2,t3\(t0\) + *[0-9a-f]+: 5588 1888 swxc1 \$f3,t4\(t0\) + *[0-9a-f]+: 55a8 2088 swxc1 \$f4,t5\(t0\) *[0-9a-f]+: 5528 0108 sdxc1 \$f0,t1\(t0\) *[0-9a-f]+: 5548 1108 sdxc1 \$f2,t2\(t0\) *[0-9a-f]+: 5568 2108 sdxc1 \$f4,t3\(t0\) diff --git a/gas/testsuite/gas/mips/micromips@mips4-fp.d b/gas/testsuite/gas/mips/micromips@mips4-fp.d index 35131b9..73581be 100644 --- a/gas/testsuite/gas/mips/micromips@mips4-fp.d +++ b/gas/testsuite/gas/mips/micromips@mips4-fp.d @@ -45,6 +45,6 @@ Disassembly of section \.text: [0-9a-f]+ <[^>]*> 5486 423b rsqrt\.d \$f4,\$f6 [0-9a-f]+ <[^>]*> 5486 023b rsqrt\.s \$f4,\$f6 [0-9a-f]+ <[^>]*> 5485 2108 sdxc1 \$f4,a0\(a1\) -[0-9a-f]+ <[^>]*> 5485 2048 lwxc1 \$f4,a0\(a1\) +[0-9a-f]+ <[^>]*> 5485 2088 swxc1 \$f4,a0\(a1\) [0-9a-f]+ <[^>]*> 0c00 nop \.\.\. |