diff options
author | David Daney <ddaney@avtrex.com> | 2007-10-04 21:53:06 +0000 |
---|---|---|
committer | David Daney <ddaney@avtrex.com> | 2007-10-04 21:53:06 +0000 |
commit | c8ab98e0eb4ece1bde68bc45c16a2f6db8ac065f (patch) | |
tree | 2cc5dc17c5b2152cf24b0a37baa0b9e42d4f9756 /gas | |
parent | df26e7af0769e3fc15c64485eaa0792e2b22a654 (diff) | |
download | gdb-c8ab98e0eb4ece1bde68bc45c16a2f6db8ac065f.zip gdb-c8ab98e0eb4ece1bde68bc45c16a2f6db8ac065f.tar.gz gdb-c8ab98e0eb4ece1bde68bc45c16a2f6db8ac065f.tar.bz2 |
opcodes/
2007-10-04 David Daney <ddaney@avtrex.com>
* mips-opc.c (mips_builtin_opcodes): Mark lwxc1 as working on FP_S
registers.
gas/testsuite/
2007-10-04 David Daney <ddaney@avtrex.com>
* gas/mips/odd-float.d, gas/mips/odd-float.s: New test.
* gas/mips/mips.exp: Run it.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips.exp | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/odd-float.d | 10 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/odd-float.s | 6 |
4 files changed, 22 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index f688114..b097e1c 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-10-04 David Daney <ddaney@avtrex.com> + + * gas/mips/odd-float.d, gas/mips/odd-float.s: New test. + * gas/mips/mips.exp: Run it. + 2007-10-04 H.J. Lu <hongjiu.lu@intel.com> PR gas/5109 diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index 92abf32..7291197 100644 --- a/gas/testsuite/gas/mips/mips.exp +++ b/gas/testsuite/gas/mips/mips.exp @@ -775,4 +775,5 @@ if { [istarget mips*-*-vxworks*] } { run_dump_test "noreorder" run_dump_test "align" + run_dump_test "odd-float" } diff --git a/gas/testsuite/gas/mips/odd-float.d b/gas/testsuite/gas/mips/odd-float.d new file mode 100644 index 0000000..24ac3ad --- /dev/null +++ b/gas/testsuite/gas/mips/odd-float.d @@ -0,0 +1,10 @@ +#objdump: -dr --prefix-addresses +#name: MIPS odd float +#as: -32 -march=sb1 -EL --fatal-warnings + +.*: +file format .*mips.* + +Disassembly of section .text: +0+00 <[^>]*> lwxc1 \$f1,a0\(a1\) +0+04 <[^>]*> swxc1 \$f3,a0\(a1\) + ... diff --git a/gas/testsuite/gas/mips/odd-float.s b/gas/testsuite/gas/mips/odd-float.s new file mode 100644 index 0000000..045c04d --- /dev/null +++ b/gas/testsuite/gas/mips/odd-float.s @@ -0,0 +1,6 @@ +# Source file used to test operations on odd numbered floating point +# registers. + +text_label: + lwxc1 $f1,$4($5) + swxc1 $f3,$4($5) |