]> Joshua Wise's Git repositories - firearm.git/blobdiff - tests/testbench.c
tests/Makefile: Add CFLAGS for LOL2FAST2FURIOUS.
[firearm.git] / tests / testbench.c
index ff9f96cb05ee84c2595560bf0b3e9fe3e42794e1..f8366b418301790034af872d82df7b9b8defe459 100644 (file)
@@ -42,7 +42,7 @@ struct tests {
 };
 
 extern int ldm_bonehead();
-
+#ifndef X86
 __asm__(
 ".globl ldm_bonehead\n"
 "ldm_bonehead:;"
@@ -69,10 +69,14 @@ __asm__(
 "nop;"
 "nop;\n"
 );
-
+#endif
 void ldm_tester()
 {
+#ifdef X86
+       int x = 0x00880000;
+#else
        int x = ldm_bonehead();
+#endif
        if (x != 0x00880000)
        {
                puts("FAIL: result was ");
This page took 0.023772 seconds and 4 git commands to generate.