* 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.
This commit is contained in:
Maciej W. Rozycki 2012-09-18 14:19:04 +00:00
parent bb25a15c8f
commit 83ea18d0a3
7 changed files with 35 additions and 23 deletions

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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\)

View File

@ -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
\.\.\.

View File

@ -1,3 +1,8 @@
2012-09-18 Chao-ying Fu <fu@mips.com>
* micromips-opc.c (micromips_opcodes): Correct the encoding of
the "swxc1" instruction.
2012-09-17 Yufeng Zhang <yufeng.zhang@arm.com>
* aarch64-asm.c (aarch64_ins_imm_half): Remove ATTRIBUTE_UNUSED from

View File

@ -911,7 +911,7 @@ const struct mips_opcode micromips_opcodes[] =
{"invalidate", "t,~(b)",0x60009000, 0xfc00f000, SM|RD_b|RD_t, 0, I1 }, /* same */
{"invalidate", "t,o(b)",0, (int) M_SWR_OB, INSN_MACRO, 0, I1 },
{"invalidate", "t,A(b)",0, (int) M_SWR_AB, INSN_MACRO, 0, I1 },
{"swxc1", "D,t(b)", 0x54000048, 0xfc0007ff, SM|RD_t|RD_b|FP_S, RD_D, I1 },
{"swxc1", "D,t(b)", 0x54000088, 0xfc0007ff, SM|RD_t|RD_b|FP_S, RD_D, I1 },
{"sync_acquire", "", 0x00116b7c, 0xffffffff, NODS, 0, I1 },
{"sync_mb", "", 0x00106b7c, 0xffffffff, NODS, 0, I1 },
{"sync_release", "", 0x00126b7c, 0xffffffff, NODS, 0, I1 },