Changeset b798713 for libcfa/src/bits/defs.hfa
- Timestamp:
- Dec 10, 2019, 4:23:09 PM (3 years ago)
- Branches:
- arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- f80f840
- Parents:
- 0f9ceacb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/defs.hfa
r0f9ceacb rb798713 54 54 } 55 55 56 #define __CFA_NO_BIT_TEST_AND_SET__56 // #define __CFA_NO_BIT_TEST_AND_SET__ 57 57 58 58 static inline bool bts(volatile unsigned long long int * target, unsigned long long int bit ) { … … 65 65 asm volatile( 66 66 "LOCK btsq %[bit], %[target]\n\t" 67 : "=@ccc" (result)67 : "=@ccc" (result) 68 68 : [target] "m" (*target), [bit] "r" (bit) 69 69 );
Note: See TracChangeset
for help on using the changeset viewer.