* gas/mips/ld.d: Adjust accordingly.
* gas/mips/ld-ilocks.d: Likewise
+2010-10-24 Maciej W. Rozycki <macro@linux-mips.org>
+
+ * gas/mips/ld.s: Remove "l.d", "s.d" and "sd" instructions.
+ * gas/mips/ld.d: Adjust accordingly.
+ * gas/mips/ld-ilocks.d: Likewise
+
2010-10-24 Maciej W. Rozycki <macro@linux-mips.org>
* gas/mips/ld.s: Remove ".set mips1".
[ ]*[0-9a-f]+: (R_MIPS_LO16|REFLO) \.sbss(\+0xfffff000)?
[0-9a-f]+ <[^>]*> lw a1,-(23127|19031)\(at\)
[ ]*[0-9a-f]+: (R_MIPS_LO16|REFLO) \.sbss(\+0xfffff000)?
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],0\(zero\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],4\(zero\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],1\(zero\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],5\(zero\)
-[0-9a-f]+ <[^>]*> lui at,0x1
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32768\(at\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32764\(at\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32768\(zero\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32764\(zero\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],0\(a1\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],4\(a1\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],1\(a1\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],5\(a1\)
-[0-9a-f]+ <[^>]*> lui at,0x1
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32768\(at\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32764\(at\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32768\(a1\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32764\(a1\)
-[0-9a-f]+ <[^>]*> lui at,0x2
-[ ]*[0-9a-f]+: (R_MIPS_HI16|REFHI) small_external_common
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],-23131\(at\)
-[ ]*[0-9a-f]+: (R_MIPS_LO16|REFLO) small_external_common
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],-23127\(at\)
-[ ]*[0-9a-f]+: (R_MIPS_LO16|REFLO) small_external_common
-[0-9a-f]+ <[^>]*> nop
-[0-9a-f]+ <[^>]*> swc1 \$f[45],0\(zero\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],4\(zero\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],1\(zero\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],5\(zero\)
-[0-9a-f]+ <[^>]*> lui at,0x1
-[0-9a-f]+ <[^>]*> swc1 \$f[45],-32768\(at\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],-32764\(at\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],-32768\(zero\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],-32764\(zero\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],0\(a1\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],4\(a1\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],1\(a1\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],5\(a1\)
-[0-9a-f]+ <[^>]*> lui at,0x1
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> swc1 \$f[45],-32768\(at\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],-32764\(at\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],-32768\(a1\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],-32764\(a1\)
-[0-9a-f]+ <[^>]*> lui at,0x2
-[ ]*[0-9a-f]+: (R_MIPS_HI16|REFHI) big_external_common
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> swc1 \$f[45],-23131\(at\)
-[ ]*[0-9a-f]+: (R_MIPS_LO16|REFLO) big_external_common
-[0-9a-f]+ <[^>]*> swc1 \$f[45],-23127\(at\)
-[ ]*[0-9a-f]+: (R_MIPS_LO16|REFLO) big_external_common
-[0-9a-f]+ <[^>]*> sw a0,0\(zero\)
-[0-9a-f]+ <[^>]*> sw a1,4\(zero\)
\.\.\.
[ ]*[0-9a-f]+: (R_MIPS_LO16|REFLO) \.sbss(\+0xfffff000)?
[0-9a-f]+ <[^>]*> lw a1,-(23127|19031)\(at\)
[ ]*[0-9a-f]+: (R_MIPS_LO16|REFLO) \.sbss(\+0xfffff000)?
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],0\(zero\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],4\(zero\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],1\(zero\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],5\(zero\)
-[0-9a-f]+ <[^>]*> lui at,0x1
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32768\(at\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32764\(at\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32768\(zero\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32764\(zero\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],0\(a1\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],4\(a1\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],1\(a1\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],5\(a1\)
-[0-9a-f]+ <[^>]*> lui at,0x1
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32768\(at\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32764\(at\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32768\(a1\)
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],-32764\(a1\)
-[0-9a-f]+ <[^>]*> lui at,0x2
-[ ]*[0-9a-f]+: (R_MIPS_HI16|REFHI) small_external_common
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],-23131\(at\)
-[ ]*[0-9a-f]+: (R_MIPS_LO16|REFLO) small_external_common
-[0-9a-f]+ <[^>]*> lwc1 \$f[45],-23127\(at\)
-[ ]*[0-9a-f]+: (R_MIPS_LO16|REFLO) small_external_common
-[0-9a-f]+ <[^>]*> nop
-[0-9a-f]+ <[^>]*> swc1 \$f[45],0\(zero\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],4\(zero\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],1\(zero\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],5\(zero\)
-[0-9a-f]+ <[^>]*> lui at,0x1
-[0-9a-f]+ <[^>]*> swc1 \$f[45],-32768\(at\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],-32764\(at\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],-32768\(zero\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],-32764\(zero\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],0\(a1\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],4\(a1\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],1\(a1\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],5\(a1\)
-[0-9a-f]+ <[^>]*> lui at,0x1
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> swc1 \$f[45],-32768\(at\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],-32764\(at\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],-32768\(a1\)
-[0-9a-f]+ <[^>]*> swc1 \$f[45],-32764\(a1\)
-[0-9a-f]+ <[^>]*> lui at,0x2
-[ ]*[0-9a-f]+: (R_MIPS_HI16|REFHI) big_external_common
-[0-9a-f]+ <[^>]*> addu at,a1,at
-[0-9a-f]+ <[^>]*> swc1 \$f[45],-23131\(at\)
-[ ]*[0-9a-f]+: (R_MIPS_LO16|REFLO) big_external_common
-[0-9a-f]+ <[^>]*> swc1 \$f[45],-23127\(at\)
-[ ]*[0-9a-f]+: (R_MIPS_LO16|REFLO) big_external_common
-[0-9a-f]+ <[^>]*> sw a0,0\(zero\)
-[0-9a-f]+ <[^>]*> sw a1,4\(zero\)
\.\.\.
ld $4,big_local_common+0x1a5a5($5)
ld $4,small_local_common+0x1a5a5($5)
-# l.d and s.d are sort of like ld.
- l.d $f4,0
- l.d $f4,1
- l.d $f4,0x8000
- l.d $f4,-0x8000
- l.d $f4,0($5)
- l.d $f4,1($5)
- l.d $f4,0x8000($5)
- l.d $f4,-0x8000($5)
- l.d $f4,small_external_common+0x1a5a5($5)
- # Little endian will insert a nop here.
- # We put it in explicitly so that big and little endian are similar.
- nop
- s.d $f4,0
- s.d $f4,1
- s.d $f4,0x8000
- s.d $f4,-0x8000
- s.d $f4,0($5)
- s.d $f4,1($5)
- s.d $f4,0x8000($5)
- s.d $f4,-0x8000($5)
- s.d $f4,big_external_common+0x1a5a5($5)
-
-# sd is handled like ld. Sanity check it.
- sd $4,0
-
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
.align 2
.space 8