# HG changeset patch # User Daichi TOMA # Date 1326700574 -32400 # Node ID 95de5f81924d3f21d8822631d939377ceebf5f64 # Parent fbe51e90993a1b94e00408db5b7992317feef80e exclusion of asm from Cell diff -r fbe51e90993a -r 95de5f81924d TaskManager/Fifo/rdtsc.h --- a/TaskManager/Fifo/rdtsc.h Fri Jan 13 08:56:49 2012 +0900 +++ b/TaskManager/Fifo/rdtsc.h Mon Jan 16 16:56:14 2012 +0900 @@ -7,7 +7,9 @@ inline unsigned long long rdtsc() { unsigned long long ret; +#ifdef __CERIUM_FIFO__ __asm__ volatile ("rdtsc" : "=A" (ret)); +#endif // __CERIUM_FIFO__ return ret; }