Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/basic/ttst_lock.c

    r7f5683e r525b5ef  
    99#define CALIGN __attribute__(( aligned (CACHE_ALIGN) ))
    1010#define CACHE_ALIGN 128
    11 #if defined( __i386 ) || defined( __x86_64 )
    12         #define Pause() __asm__ __volatile__ ( "pause" : : : )
    13 #elif defined( __ARM_ARCH )
    14         #define Pause() __asm__ __volatile__ ( "YIELD" : : : )
    15 #else
    16         #error unsupported architecture
    17 #endif
     11#define Pause() __asm__ __volatile__ ( "pause" : : : )
    1812
    1913typedef uintptr_t TYPE;                                                                 // addressable word-size
Note: See TracChangeset for help on using the changeset viewer.