aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-03-25 07:56:12 +0000
committerMike Frysinger <vapier@gentoo.org>2012-03-25 07:56:12 +0000
commit45e4eeb4302ec42b29c5f602938fa030777e5f7e (patch)
tree9a8688b29b15cce7ea971c966a4a7f92e7c45e81
parentb514e6a51fefb7dde379f595b76dd9113e132487 (diff)
downloadfsf-binutils-gdb-45e4eeb4302ec42b29c5f602938fa030777e5f7e.zip
fsf-binutils-gdb-45e4eeb4302ec42b29c5f602938fa030777e5f7e.tar.gz
fsf-binutils-gdb-45e4eeb4302ec42b29c5f602938fa030777e5f7e.tar.bz2
sim: bfin: disable redundant test that makes 32bit gas angry
-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