aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/testsuite/sim/bfin/ChangeLog2
-rw-r--r--sim/testsuite/sim/bfin/fact.s6
2 files changed, 7 insertions, 1 deletions
diff --git a/sim/testsuite/sim/bfin/ChangeLog b/sim/testsuite/sim/bfin/ChangeLog
index 6dbe3ee..ca634df 100644
--- a/sim/testsuite/sim/bfin/ChangeLog
+++ b/sim/testsuite/sim/bfin/ChangeLog
@@ -6,6 +6,8 @@
* c_dsp32shift_vmaxvmax.s: Change 0xa11002001 to 0x11002001.
* c_dsp32shiftim_af_s.s: Change 0x3a1230001 to 0xa1230001.
+ * fact.s: Comment out test with too large a number (6227020800).
+
2012-03-19 Mike Frysinger <vapier@gentoo.org>
* se_all64bitg0opcodes.S, se_all64bitg1opcodes.S,
diff --git a/sim/testsuite/sim/bfin/fact.s b/sim/testsuite/sim/bfin/fact.s
index 38e756c..aed8153 100644
--- a/sim/testsuite/sim/bfin/fact.s
+++ b/sim/testsuite/sim/bfin/fact.s
@@ -28,7 +28,11 @@ _test:
factorial 10 3628800
factorial 11 39916800
factorial 12 479001600
- factorial 13 6227020800
+# This is the real answer, but it overflows 32bits. Since gas itself
+# likes to choke on 64bit values when compiled for 32bit systems, just
+# specify the truncated 32bit value since that's what the Blackfin will
+# come up with too.
+# factorial 13 6227020800
factorial 13 1932053504
pass