diff --git a/sim/testsuite/sim/bfin/ChangeLog b/sim/testsuite/sim/bfin/ChangeLog index 6dbe3ee035..ca634df5cc 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 * se_all64bitg0opcodes.S, se_all64bitg1opcodes.S, diff --git a/sim/testsuite/sim/bfin/fact.s b/sim/testsuite/sim/bfin/fact.s index 38e756c1b5..aed81538d0 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