Displaying 1 result from an estimated 1 matches for "merge_29".
Did you mean:
merge129
2011 Jul 12
0
[LLVMdev] GCC Atomic NAND implementation
...om code to make the switch between implementations, but
it's invasive at best. Has the newer implementation already been written and
I missed it? If so, could someone please point me to that code? If not, are
there any plans in the near future to support the newer GCC implementation?
mcinally/MERGE_29> cat llvm.c
#include <stdio.h>
typedef int16_t T;
T a = 10;
int main() {
volatile T *p = &a;
T x = 2;
int failed = 0;
printf( "Testing %d bit objects\n", sizeof( T ) * 8 );
*p = 15; /* Or any value with the 2nd bit set */
__sync_fetch_a...