sptests/spcache01: Make inline assembly conditional to account for OpenRISC l.nop instruction.

This commit is contained in:
Hesham ALMatary
2014-08-25 11:12:16 -05:00
committed by Joel Sherrill
parent 4b104834eb
commit 23b14f87cf
+5 -1
View File
@@ -27,7 +27,11 @@
const char rtems_test_name[] = "SPCACHE 1";
#define I() __asm__ volatile ("nop")
#ifdef __or1k__
#define I() __asm__ volatile ("l.nop")
#else
#define I() __asm__ volatile ("nop")
#endif
#define I8() I(); I(); I(); I(); I(); I(); I(); I()