Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Unified Diff: sim/testsuite/sim/bfin/fact.s

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sim/testsuite/sim/bfin/c_dsp32shiftim_amix.s ('k') | sim/testsuite/sim/bfin/random_0014.S » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sim/testsuite/sim/bfin/fact.s
diff --git a/sim/testsuite/sim/bfin/fact.s b/sim/testsuite/sim/bfin/fact.s
index 38e756c1b53075a5dbc9e173e542543116bdeaca..aed81538d013160851ef5cb28eba017b41bfecc2 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
« no previous file with comments | « sim/testsuite/sim/bfin/c_dsp32shiftim_amix.s ('k') | sim/testsuite/sim/bfin/random_0014.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698