summaryrefslogtreecommitdiff
path: root/sim/testsuite/frv/fdivd.cgs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-01-05 22:09:57 -0500
committerMike Frysinger <vapier@gentoo.org>2021-01-15 19:18:34 -0500
commit1368b914e93a3af332f787d3d41c106d11bb90da (patch)
tree9893ccae5d2d8cbf2ce855e09d6b8f30b56a21bc /sim/testsuite/frv/fdivd.cgs
parente403a898b5893337baea73bcb001ece74042f351 (diff)
downloadbinutils-gdb-1368b914e93a3af332f787d3d41c106d11bb90da.tar.gz
sim: testsuite: flatten tree
Now that all port tests live under testsuite/sim/*/, and none live in testsuite/ directly, flatten the structure by moving all of the dirs under testsuite/sim/ to testsuite/ directly. We need to stop passing --tool to dejagnu so that it searches all dirs and not just ones that start with "sim". Since we have no other dirs in this tree, and no plans to add any, should be fine.
Diffstat (limited to 'sim/testsuite/frv/fdivd.cgs')
-rw-r--r--sim/testsuite/frv/fdivd.cgs128
1 files changed, 128 insertions, 0 deletions
diff --git a/sim/testsuite/frv/fdivd.cgs b/sim/testsuite/frv/fdivd.cgs
new file mode 100644
index 00000000000..65222bb64bf
--- /dev/null
+++ b/sim/testsuite/frv/fdivd.cgs
@@ -0,0 +1,128 @@
+# frv testcase for fdivd $GRi,$GRj,$GRk
+# mach: frv
+# as(frv): -mcpu=frv
+
+ .include "testutils.inc"
+
+ double_constants
+ start
+ load_double_constants
+
+ .global fdivd
+fdivd:
+ fdivd fr0,fr28,fr2
+ test_dfr_dfr fr2,fr0
+ fdivd fr4,fr28,fr2
+ test_dfr_dfr fr2,fr4
+ fdivd fr8,fr28,fr2
+ test_dfr_dfr fr2,fr8
+ fdivd fr12,fr28,fr2
+ test_dfr_dfr fr2,fr12
+ fdivd fr16,fr28,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr20,fr28,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr24,fr28,fr2
+ test_dfr_dfr fr2,fr24
+ fdivd fr28,fr28,fr2
+ test_dfr_dfr fr2,fr28
+ fdivd fr32,fr28,fr2
+ test_dfr_dfr fr2,fr32
+ fdivd fr36,fr28,fr2
+ test_dfr_dfr fr2,fr36
+ fdivd fr40,fr28,fr2
+ test_dfr_dfr fr2,fr40
+ fdivd fr44,fr28,fr2
+ test_dfr_dfr fr2,fr44
+ fdivd fr48,fr28,fr2
+ test_dfr_dfr fr2,fr48
+ fdivd fr52,fr28,fr2
+ test_dfr_dfr fr2,fr52
+
+ fdivd fr16,fr0,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr16,fr4,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr16,fr8,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr16,fr12,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr16,fr24,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr16,fr28,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr16,fr32,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr16,fr36,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr16,fr40,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr16,fr44,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr16,fr48,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr16,fr52,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+
+ fdivd fr20,fr0,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr20,fr4,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr20,fr8,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr20,fr12,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr20,fr24,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr20,fr28,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr20,fr32,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr20,fr36,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr20,fr40,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr20,fr44,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr20,fr48,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+ fdivd fr20,fr52,fr2
+ test_dfr_dfr fr2,fr16
+ test_dfr_dfr fr2,fr20
+
+ fdivd fr8,fr28,fr2
+ test_dfr_dfr fr2,fr8
+ fdivd fr28,fr8,fr2
+ test_dfr_dfr fr2,fr8
+
+ fdivd fr40,fr32,fr2
+ test_dfr_dfr fr2,fr36
+
+ pass
+
+