aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2004-08-27 09:32:02 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2004-08-27 09:32:02 +0000
commitac28a1cbc62585f7fa6d6b74e8fd42f4e0492a79 (patch)
tree43189356f018d371ec1734fb9eac2e326d8734b1 /gas
parent3d9835052d7e277235b1b78c8e92571a689223f2 (diff)
downloadbinutils-ac28a1cbc62585f7fa6d6b74e8fd42f4e0492a79.zip
binutils-ac28a1cbc62585f7fa6d6b74e8fd42f4e0492a79.tar.gz
binutils-ac28a1cbc62585f7fa6d6b74e8fd42f4e0492a79.tar.bz2
cpu/
* frv.cpu (cfmovs): Change UNIT attribute to FMALL. opcodes/ * frv-desc.[ch], frv-opc.[ch]: Regenerated. gas/testsuite/ * gas/frv/fr550-pack1.[sd]: New test. * gas/frv/allinsn.exp: Run it.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/frv/allinsn.exp2
-rw-r--r--gas/testsuite/gas/frv/fr550-pack1.d12
-rw-r--r--gas/testsuite/gas/frv/fr550-pack1.s4
4 files changed, 23 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 6c78e36..6effaab 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2004-08-27 Richard Sandiford <rsandifo@redhat.com>
+
+ * gas/frv/fr550-pack1.[sd]: New test.
+ * gas/frv/allinsn.exp: Run it.
+
2004-08-27 Nick Clifton <nickc@redhat.com>
* gas/i386/i386.exp: Allow pcrel test for COFF targets as well,
diff --git a/gas/testsuite/gas/frv/allinsn.exp b/gas/testsuite/gas/frv/allinsn.exp
index 8684e4c..ed29d20 100644
--- a/gas/testsuite/gas/frv/allinsn.exp
+++ b/gas/testsuite/gas/frv/allinsn.exp
@@ -27,4 +27,6 @@ if [istarget frv*-*-*] {
run_list_test "fr450-insn" "-mcpu=fr400"
run_list_test "fr450-insn" "-mcpu=fr500"
run_list_test "fr450-media-issue" "-mcpu=fr450"
+
+ run_dump_test "fr550-pack1"
}
diff --git a/gas/testsuite/gas/frv/fr550-pack1.d b/gas/testsuite/gas/frv/fr550-pack1.d
new file mode 100644
index 0000000..c577bfc
--- /dev/null
+++ b/gas/testsuite/gas/frv/fr550-pack1.d
@@ -0,0 +1,12 @@
+#as: -mcpu=fr550
+#objdump: -dr
+
+.*: file format elf32-frv(|fdpic)
+
+Disassembly of section \.text:
+
+00000000 <.*>:
+.*: 09 b0 00 00 cfmovs\.p fr0,fr4,cc0,0x0
+.*: 0b b0 00 01 cfmovs\.p fr1,fr5,cc0,0x0
+.*: 0d b0 00 02 cfmovs\.p fr2,fr6,cc0,0x0
+.*: 8f b0 00 03 cfmovs fr3,fr7,cc0,0x0
diff --git a/gas/testsuite/gas/frv/fr550-pack1.s b/gas/testsuite/gas/frv/fr550-pack1.s
new file mode 100644
index 0000000..aa3f360
--- /dev/null
+++ b/gas/testsuite/gas/frv/fr550-pack1.s
@@ -0,0 +1,4 @@
+ cfmovs.p fr0,fr4,cc0,0
+ cfmovs.p fr1,fr5,cc0,0
+ cfmovs.p fr2,fr6,cc0,0
+ cfmovs fr3,fr7,cc0,0