Changeset 0a061c0 for libcfa/prelude/sync-builtins.cf
- Timestamp:
- Aug 4, 2021, 4:54:14 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- d2cdd4f
- Parents:
- d83b266 (diff), 199894e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/prelude/sync-builtins.cf
rd83b266 r0a061c0 297 297 298 298 _Bool __atomic_exchange_n(volatile _Bool *, _Bool, int); 299 void __atomic_exchange(volatile _Bool *, volatile _Bool *, volatile_Bool *, int);299 void __atomic_exchange(volatile _Bool *, _Bool *, _Bool *, int); 300 300 char __atomic_exchange_n(volatile char *, char, int); 301 void __atomic_exchange(volatile char *, volatile char *, volatilechar *, int);301 void __atomic_exchange(volatile char *, char *, char *, int); 302 302 signed char __atomic_exchange_n(volatile signed char *, signed char, int); 303 void __atomic_exchange(volatile signed char *, volatile signed char *, volatilesigned char *, int);303 void __atomic_exchange(volatile signed char *, signed char *, signed char *, int); 304 304 unsigned char __atomic_exchange_n(volatile unsigned char *, unsigned char, int); 305 void __atomic_exchange(volatile unsigned char *, volatile unsigned char *, volatileunsigned char *, int);305 void __atomic_exchange(volatile unsigned char *, unsigned char *, unsigned char *, int); 306 306 signed short __atomic_exchange_n(volatile signed short *, signed short, int); 307 void __atomic_exchange(volatile signed short *, volatile signed short *, volatilesigned short *, int);307 void __atomic_exchange(volatile signed short *, signed short *, signed short *, int); 308 308 unsigned short __atomic_exchange_n(volatile unsigned short *, unsigned short, int); 309 void __atomic_exchange(volatile unsigned short *, volatile unsigned short *, volatileunsigned short *, int);309 void __atomic_exchange(volatile unsigned short *, unsigned short *, unsigned short *, int); 310 310 signed int __atomic_exchange_n(volatile signed int *, signed int, int); 311 void __atomic_exchange(volatile signed int *, volatile signed int *, volatilesigned int *, int);311 void __atomic_exchange(volatile signed int *, signed int *, signed int *, int); 312 312 unsigned int __atomic_exchange_n(volatile unsigned int *, unsigned int, int); 313 void __atomic_exchange(volatile unsigned int *, volatile unsigned int *, volatileunsigned int *, int);313 void __atomic_exchange(volatile unsigned int *, unsigned int *, unsigned int *, int); 314 314 signed long int __atomic_exchange_n(volatile signed long int *, signed long int, int); 315 void __atomic_exchange(volatile signed long int *, volatile signed long int *, volatilesigned long int *, int);315 void __atomic_exchange(volatile signed long int *, signed long int *, signed long int *, int); 316 316 unsigned long int __atomic_exchange_n(volatile unsigned long int *, unsigned long int, int); 317 void __atomic_exchange(volatile unsigned long int *, volatile unsigned long int *, volatileunsigned long int *, int);317 void __atomic_exchange(volatile unsigned long int *, unsigned long int *, unsigned long int *, int); 318 318 signed long long int __atomic_exchange_n(volatile signed long long int *, signed long long int, int); 319 void __atomic_exchange(volatile signed long long int *, volatile signed long long int *, volatilesigned long long int *, int);319 void __atomic_exchange(volatile signed long long int *, signed long long int *, signed long long int *, int); 320 320 unsigned long long int __atomic_exchange_n(volatile unsigned long long int *, unsigned long long int, int); 321 void __atomic_exchange(volatile unsigned long long int *, volatile unsigned long long int *, volatileunsigned long long int *, int);321 void __atomic_exchange(volatile unsigned long long int *, unsigned long long int *, unsigned long long int *, int); 322 322 #if defined(__SIZEOF_INT128__) 323 323 signed __int128 __atomic_exchange_n(volatile signed __int128 *, signed __int128, int); 324 void __atomic_exchange(volatile signed __int128 *, volatile signed __int128 *, volatilesigned __int128 *, int);324 void __atomic_exchange(volatile signed __int128 *, signed __int128 *, signed __int128 *, int); 325 325 unsigned __int128 __atomic_exchange_n(volatile unsigned __int128 *, unsigned __int128, int); 326 void __atomic_exchange(volatile unsigned __int128 *, volatile unsigned __int128 *, volatileunsigned __int128 *, int);326 void __atomic_exchange(volatile unsigned __int128 *, unsigned __int128 *, unsigned __int128 *, int); 327 327 #endif 328 328 forall(T &) T * __atomic_exchange_n(T * volatile *, T *, int); 329 forall(T &) void __atomic_exchange(T * volatile *, T * volatile *, T * volatile*, int);329 forall(T &) void __atomic_exchange(T * volatile *, T **, T **, int); 330 330 331 331 _Bool __atomic_load_n(const volatile _Bool *, int); 332 void __atomic_load(const volatile _Bool *, volatile_Bool *, int);332 void __atomic_load(const volatile _Bool *, _Bool *, int); 333 333 char __atomic_load_n(const volatile char *, int); 334 void __atomic_load(const volatile char *, volatilechar *, int);334 void __atomic_load(const volatile char *, char *, int); 335 335 signed char __atomic_load_n(const volatile signed char *, int); 336 void __atomic_load(const volatile signed char *, volatilesigned char *, int);336 void __atomic_load(const volatile signed char *, signed char *, int); 337 337 unsigned char __atomic_load_n(const volatile unsigned char *, int); 338 void __atomic_load(const volatile unsigned char *, volatileunsigned char *, int);338 void __atomic_load(const volatile unsigned char *, unsigned char *, int); 339 339 signed short __atomic_load_n(const volatile signed short *, int); 340 void __atomic_load(const volatile signed short *, volatilesigned short *, int);340 void __atomic_load(const volatile signed short *, signed short *, int); 341 341 unsigned short __atomic_load_n(const volatile unsigned short *, int); 342 void __atomic_load(const volatile unsigned short *, volatileunsigned short *, int);342 void __atomic_load(const volatile unsigned short *, unsigned short *, int); 343 343 signed int __atomic_load_n(const volatile signed int *, int); 344 void __atomic_load(const volatile signed int *, volatilesigned int *, int);344 void __atomic_load(const volatile signed int *, signed int *, int); 345 345 unsigned int __atomic_load_n(const volatile unsigned int *, int); 346 void __atomic_load(const volatile unsigned int *, volatileunsigned int *, int);346 void __atomic_load(const volatile unsigned int *, unsigned int *, int); 347 347 signed long int __atomic_load_n(const volatile signed long int *, int); 348 void __atomic_load(const volatile signed long int *, volatilesigned long int *, int);348 void __atomic_load(const volatile signed long int *, signed long int *, int); 349 349 unsigned long int __atomic_load_n(const volatile unsigned long int *, int); 350 void __atomic_load(const volatile unsigned long int *, volatileunsigned long int *, int);350 void __atomic_load(const volatile unsigned long int *, unsigned long int *, int); 351 351 signed long long int __atomic_load_n(const volatile signed long long int *, int); 352 void __atomic_load(const volatile signed long long int *, volatilesigned long long int *, int);352 void __atomic_load(const volatile signed long long int *, signed long long int *, int); 353 353 unsigned long long int __atomic_load_n(const volatile unsigned long long int *, int); 354 void __atomic_load(const volatile unsigned long long int *, volatileunsigned long long int *, int);354 void __atomic_load(const volatile unsigned long long int *, unsigned long long int *, int); 355 355 #if defined(__SIZEOF_INT128__) 356 356 signed __int128 __atomic_load_n(const volatile signed __int128 *, int); 357 void __atomic_load(const volatile signed __int128 *, volatilesigned __int128 *, int);357 void __atomic_load(const volatile signed __int128 *, signed __int128 *, int); 358 358 unsigned __int128 __atomic_load_n(const volatile unsigned __int128 *, int); 359 void __atomic_load(const volatile unsigned __int128 *, volatileunsigned __int128 *, int);359 void __atomic_load(const volatile unsigned __int128 *, unsigned __int128 *, int); 360 360 #endif 361 361 forall(T &) T * __atomic_load_n(T * const volatile *, int);
Note: See TracChangeset
for help on using the changeset viewer.