aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/ppc/e500.d30
-rw-r--r--gas/testsuite/gas/ppc/e500.s32
3 files changed, 67 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 2f03d49..7671424 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-06 Aldy Hernandez <aldyh@redhat.com>
+
+ * gas/ppc/e500.s: Add double-precision instructions.
+ * gas/ppc/e500.d: Same.
+
2004-10-05 Paul Brook <paul@codesourcery.com>
* gas/arm/arm.exp: Add unwind table test. Recognise
diff --git a/gas/testsuite/gas/ppc/e500.d b/gas/testsuite/gas/ppc/e500.d
index b485020..b6aa04b 100644
--- a/gas/testsuite/gas/ppc/e500.d
+++ b/gas/testsuite/gas/ppc/e500.d
@@ -19,3 +19,33 @@ Disassembly of section \.text:
24: 7c 00 04 4c bbelr
28: 7d 00 83 a6 mtspefscr r8
2c: 7d 20 82 a6 mfspefscr r9
+ 30: 10 a4 02 cf efscfd r5,r4
+ 34: 10 a4 02 e4 efdabs r5,r4
+ 38: 10 a4 02 e5 efdnabs r5,r4
+ 3c: 10 a4 02 e6 efdneg r5,r4
+ 40: 10 a4 1a e0 efdadd r5,r4,r3
+ 44: 10 a4 1a e1 efdsub r5,r4,r3
+ 48: 10 a4 1a e8 efdmul r5,r4,r3
+ 4c: 10 a4 1a e9 efddiv r5,r4,r3
+ 50: 12 84 1a ec efdcmpgt cr5,r4,r3
+ 54: 12 84 1a ed efdcmplt cr5,r4,r3
+ 58: 12 84 1a ee efdcmpeq cr5,r4,r3
+ 5c: 12 84 1a fc efdtstgt cr5,r4,r3
+ 60: 12 84 1a fc efdtstgt cr5,r4,r3
+ 64: 12 84 1a fd efdtstlt cr5,r4,r3
+ 68: 12 84 1a fe efdtsteq cr5,r4,r3
+ 6c: 10 a0 22 f1 efdcfsi r5,r4
+ 70: 10 a0 22 e3 efdcfsid r5,r4
+ 74: 10 a0 22 f0 efdcfui r5,r4
+ 78: 10 a0 22 e2 efdcfuid r5,r4
+ 7c: 10 a0 22 f3 efdcfsf r5,r4
+ 80: 10 a0 22 f2 efdcfuf r5,r4
+ 84: 10 a0 22 f5 efdctsi r5,r4
+ 88: 10 a0 22 eb efdctsidz r5,r4
+ 8c: 10 a0 22 fa efdctsiz r5,r4
+ 90: 10 a0 22 f4 efdctui r5,r4
+ 94: 10 a0 22 ea efdctuidz r5,r4
+ 98: 10 a0 22 f8 efdctuiz r5,r4
+ 9c: 10 a0 22 f7 efdctsf r5,r4
+ a0: 10 a0 22 f6 efdctuf r5,r4
+ a4: 10 a0 22 ef efdcfs r5,r4
diff --git a/gas/testsuite/gas/ppc/e500.s b/gas/testsuite/gas/ppc/e500.s
index 85e53d4..e78f251 100644
--- a/gas/testsuite/gas/ppc/e500.s
+++ b/gas/testsuite/gas/ppc/e500.s
@@ -13,3 +13,35 @@ start:
bbelr
mtspefscr 8
mfspefscr 9
+
+ # Double-precision opcodes.
+ efscfd 5,4
+ efdabs 5,4
+ efdnabs 5,4
+ efdneg 5,4
+ efdadd 5,4,3
+ efdsub 5,4,3
+ efdmul 5,4,3
+ efddiv 5,4,3
+ efdcmpgt 5,4,3
+ efdcmplt 5,4,3
+ efdcmpeq 5,4,3
+ efdtstgt 5,4,3
+ efdtstgt 5,4,3
+ efdtstlt 5,4,3
+ efdtsteq 5,4,3
+ efdcfsi 5,4
+ efdcfsid 5,4
+ efdcfui 5,4
+ efdcfuid 5,4
+ efdcfsf 5,4
+ efdcfuf 5,4
+ efdctsi 5,4
+ efdctsidz 5,4
+ efdctsiz 5,4
+ efdctui 5,4
+ efdctuidz 5,4
+ efdctuiz 5,4
+ efdctsf 5,4
+ efdctuf 5,4
+ efdcfs 5,4