20 #include "ompt-specific.h"
32 #if defined(__cplusplus) && (KMP_OS_WINDOWS)
39 #define KMP_DO_ALIGN(alignment)
42 #if defined(_MSC_VER) && (_MSC_VER < 1600) && defined(_DEBUG)
47 #define _DEBUG_TEMPORARILY_UNSET_
52 template <
typename type_lhs,
typename type_rhs>
53 std::complex<type_lhs> __kmp_lhs_div_rhs(
const std::complex<type_lhs> &lhs,
54 const std::complex<type_rhs> &rhs) {
55 type_lhs a = lhs.real();
56 type_lhs b = lhs.imag();
57 type_rhs c = rhs.real();
58 type_rhs d = rhs.imag();
59 type_rhs den = c * c + d * d;
60 type_rhs r = (a * c + b * d);
61 type_rhs i = (b * c - a * d);
62 std::complex<type_lhs> ret(r / den, i / den);
67 struct __kmp_cmplx64_t : std::complex<double> {
69 __kmp_cmplx64_t() : std::complex<double>() {}
71 __kmp_cmplx64_t(
const std::complex<double> &cd) : std::complex<double>(cd) {}
73 void operator/=(
const __kmp_cmplx64_t &rhs) {
74 std::complex<double> lhs = *
this;
75 *
this = __kmp_lhs_div_rhs(lhs, rhs);
78 __kmp_cmplx64_t operator/(
const __kmp_cmplx64_t &rhs) {
79 std::complex<double> lhs = *
this;
80 return __kmp_lhs_div_rhs(lhs, rhs);
83 typedef struct __kmp_cmplx64_t kmp_cmplx64;
86 struct __kmp_cmplx32_t : std::complex<float> {
88 __kmp_cmplx32_t() : std::complex<float>() {}
90 __kmp_cmplx32_t(
const std::complex<float> &cf) : std::complex<float>(cf) {}
92 __kmp_cmplx32_t operator+(
const __kmp_cmplx32_t &b) {
93 std::complex<float> lhs = *
this;
94 std::complex<float> rhs = b;
97 __kmp_cmplx32_t operator-(
const __kmp_cmplx32_t &b) {
98 std::complex<float> lhs = *
this;
99 std::complex<float> rhs = b;
102 __kmp_cmplx32_t operator*(
const __kmp_cmplx32_t &b) {
103 std::complex<float> lhs = *
this;
104 std::complex<float> rhs = b;
108 __kmp_cmplx32_t operator+(
const kmp_cmplx64 &b) {
109 kmp_cmplx64 t = kmp_cmplx64(*
this) + b;
110 std::complex<double> d(t);
111 std::complex<float> f(d);
112 __kmp_cmplx32_t r(f);
115 __kmp_cmplx32_t operator-(
const kmp_cmplx64 &b) {
116 kmp_cmplx64 t = kmp_cmplx64(*
this) - b;
117 std::complex<double> d(t);
118 std::complex<float> f(d);
119 __kmp_cmplx32_t r(f);
122 __kmp_cmplx32_t operator*(
const kmp_cmplx64 &b) {
123 kmp_cmplx64 t = kmp_cmplx64(*
this) * b;
124 std::complex<double> d(t);
125 std::complex<float> f(d);
126 __kmp_cmplx32_t r(f);
130 void operator/=(
const __kmp_cmplx32_t &rhs) {
131 std::complex<float> lhs = *
this;
132 *
this = __kmp_lhs_div_rhs(lhs, rhs);
135 __kmp_cmplx32_t operator/(
const __kmp_cmplx32_t &rhs) {
136 std::complex<float> lhs = *
this;
137 return __kmp_lhs_div_rhs(lhs, rhs);
140 void operator/=(
const kmp_cmplx64 &rhs) {
141 std::complex<float> lhs = *
this;
142 *
this = __kmp_lhs_div_rhs(lhs, rhs);
145 __kmp_cmplx32_t operator/(
const kmp_cmplx64 &rhs) {
146 std::complex<float> lhs = *
this;
147 return __kmp_lhs_div_rhs(lhs, rhs);
150 typedef struct __kmp_cmplx32_t kmp_cmplx32;
153 struct KMP_DO_ALIGN(16) __kmp_cmplx80_t : std::complex<long double> {
155 __kmp_cmplx80_t() : std::complex<long double>() {}
157 __kmp_cmplx80_t(
const std::complex<long double> &cld)
158 : std::complex<long double>(cld) {}
160 void operator/=(
const __kmp_cmplx80_t &rhs) {
161 std::complex<long double> lhs = *
this;
162 *
this = __kmp_lhs_div_rhs(lhs, rhs);
165 __kmp_cmplx80_t operator/(
const __kmp_cmplx80_t &rhs) {
166 std::complex<long double> lhs = *
this;
167 return __kmp_lhs_div_rhs(lhs, rhs);
170 typedef KMP_DO_ALIGN(16) struct __kmp_cmplx80_t kmp_cmplx80;
174 struct __kmp_cmplx128_t : std::complex<_Quad> {
176 __kmp_cmplx128_t() : std::complex<_Quad>() {}
178 __kmp_cmplx128_t(
const std::complex<_Quad> &cq) : std::complex<_Quad>(cq) {}
180 void operator/=(
const __kmp_cmplx128_t &rhs) {
181 std::complex<_Quad> lhs = *
this;
182 *
this = __kmp_lhs_div_rhs(lhs, rhs);
185 __kmp_cmplx128_t operator/(
const __kmp_cmplx128_t &rhs) {
186 std::complex<_Quad> lhs = *
this;
187 return __kmp_lhs_div_rhs(lhs, rhs);
190 typedef struct __kmp_cmplx128_t kmp_cmplx128;
193 #ifdef _DEBUG_TEMPORARILY_UNSET_
194 #undef _DEBUG_TEMPORARILY_UNSET_
201 typedef float _Complex kmp_cmplx32;
202 typedef double _Complex kmp_cmplx64;
203 typedef long double _Complex kmp_cmplx80;
205 typedef _Quad _Complex kmp_cmplx128;
213 #if KMP_ARCH_X86 && KMP_HAVE_QUAD
217 #pragma pack(push, 4)
219 struct KMP_DO_ALIGN(4) Quad_a4_t {
223 Quad_a4_t(
const _Quad &cq) : q(cq) {}
225 Quad_a4_t operator+(
const Quad_a4_t &b) {
226 _Quad lhs = (*this).q;
228 return (Quad_a4_t)(lhs + rhs);
231 Quad_a4_t operator-(
const Quad_a4_t &b) {
232 _Quad lhs = (*this).q;
234 return (Quad_a4_t)(lhs - rhs);
236 Quad_a4_t operator*(
const Quad_a4_t &b) {
237 _Quad lhs = (*this).q;
239 return (Quad_a4_t)(lhs * rhs);
242 Quad_a4_t operator/(
const Quad_a4_t &b) {
243 _Quad lhs = (*this).q;
245 return (Quad_a4_t)(lhs / rhs);
249 struct KMP_DO_ALIGN(4) kmp_cmplx128_a4_t {
252 kmp_cmplx128_a4_t() : q() {}
254 kmp_cmplx128_a4_t(
const kmp_cmplx128 &c128) : q(c128) {}
256 kmp_cmplx128_a4_t operator+(
const kmp_cmplx128_a4_t &b) {
257 kmp_cmplx128 lhs = (*this).q;
258 kmp_cmplx128 rhs = b.q;
259 return (kmp_cmplx128_a4_t)(lhs + rhs);
261 kmp_cmplx128_a4_t operator-(
const kmp_cmplx128_a4_t &b) {
262 kmp_cmplx128 lhs = (*this).q;
263 kmp_cmplx128 rhs = b.q;
264 return (kmp_cmplx128_a4_t)(lhs - rhs);
266 kmp_cmplx128_a4_t operator*(
const kmp_cmplx128_a4_t &b) {
267 kmp_cmplx128 lhs = (*this).q;
268 kmp_cmplx128 rhs = b.q;
269 return (kmp_cmplx128_a4_t)(lhs * rhs);
272 kmp_cmplx128_a4_t operator/(
const kmp_cmplx128_a4_t &b) {
273 kmp_cmplx128 lhs = (*this).q;
274 kmp_cmplx128 rhs = b.q;
275 return (kmp_cmplx128_a4_t)(lhs / rhs);
282 struct KMP_DO_ALIGN(16) Quad_a16_t {
285 Quad_a16_t() : q() {}
286 Quad_a16_t(
const _Quad &cq) : q(cq) {}
288 Quad_a16_t operator+(
const Quad_a16_t &b) {
289 _Quad lhs = (*this).q;
291 return (Quad_a16_t)(lhs + rhs);
294 Quad_a16_t operator-(
const Quad_a16_t &b) {
295 _Quad lhs = (*this).q;
297 return (Quad_a16_t)(lhs - rhs);
299 Quad_a16_t operator*(
const Quad_a16_t &b) {
300 _Quad lhs = (*this).q;
302 return (Quad_a16_t)(lhs * rhs);
305 Quad_a16_t operator/(
const Quad_a16_t &b) {
306 _Quad lhs = (*this).q;
308 return (Quad_a16_t)(lhs / rhs);
312 struct KMP_DO_ALIGN(16) kmp_cmplx128_a16_t {
315 kmp_cmplx128_a16_t() : q() {}
317 kmp_cmplx128_a16_t(
const kmp_cmplx128 &c128) : q(c128) {}
319 kmp_cmplx128_a16_t operator+(
const kmp_cmplx128_a16_t &b) {
320 kmp_cmplx128 lhs = (*this).q;
321 kmp_cmplx128 rhs = b.q;
322 return (kmp_cmplx128_a16_t)(lhs + rhs);
324 kmp_cmplx128_a16_t operator-(
const kmp_cmplx128_a16_t &b) {
325 kmp_cmplx128 lhs = (*this).q;
326 kmp_cmplx128 rhs = b.q;
327 return (kmp_cmplx128_a16_t)(lhs - rhs);
329 kmp_cmplx128_a16_t operator*(
const kmp_cmplx128_a16_t &b) {
330 kmp_cmplx128 lhs = (*this).q;
331 kmp_cmplx128 rhs = b.q;
332 return (kmp_cmplx128_a16_t)(lhs * rhs);
335 kmp_cmplx128_a16_t operator/(
const kmp_cmplx128_a16_t &b) {
336 kmp_cmplx128 lhs = (*this).q;
337 kmp_cmplx128 rhs = b.q;
338 return (kmp_cmplx128_a16_t)(lhs / rhs);
345 #define QUAD_LEGACY Quad_a4_t
346 #define CPLX128_LEG kmp_cmplx128_a4_t
348 #define QUAD_LEGACY _Quad
349 #define CPLX128_LEG kmp_cmplx128
356 extern int __kmp_atomic_mode;
359 typedef kmp_queuing_lock_t kmp_atomic_lock_t;
361 static inline void __kmp_acquire_atomic_lock(kmp_atomic_lock_t *lck,
363 #if OMPT_SUPPORT && OMPT_OPTIONAL
364 if (ompt_enabled.ompt_callback_mutex_acquire) {
365 ompt_callbacks.ompt_callback(ompt_callback_mutex_acquire)(
366 ompt_mutex_atomic, 0, kmp_mutex_impl_queuing,
367 (ompt_wait_id_t)(uintptr_t)lck, OMPT_GET_RETURN_ADDRESS(0));
371 __kmp_acquire_queuing_lock(lck, gtid);
373 #if OMPT_SUPPORT && OMPT_OPTIONAL
374 if (ompt_enabled.ompt_callback_mutex_acquired) {
375 ompt_callbacks.ompt_callback(ompt_callback_mutex_acquired)(
376 ompt_mutex_atomic, (ompt_wait_id_t)(uintptr_t)lck,
377 OMPT_GET_RETURN_ADDRESS(0));
382 static inline int __kmp_test_atomic_lock(kmp_atomic_lock_t *lck,
384 return __kmp_test_queuing_lock(lck, gtid);
387 static inline void __kmp_release_atomic_lock(kmp_atomic_lock_t *lck,
389 __kmp_release_queuing_lock(lck, gtid);
390 #if OMPT_SUPPORT && OMPT_OPTIONAL
391 if (ompt_enabled.ompt_callback_mutex_released) {
392 ompt_callbacks.ompt_callback(ompt_callback_mutex_released)(
393 ompt_mutex_atomic, (ompt_wait_id_t)(uintptr_t)lck,
394 OMPT_GET_RETURN_ADDRESS(0));
399 static inline void __kmp_init_atomic_lock(kmp_atomic_lock_t *lck) {
400 __kmp_init_queuing_lock(lck);
403 static inline void __kmp_destroy_atomic_lock(kmp_atomic_lock_t *lck) {
404 __kmp_destroy_queuing_lock(lck);
408 extern kmp_atomic_lock_t __kmp_atomic_lock;
410 extern kmp_atomic_lock_t __kmp_atomic_lock_1i;
413 extern kmp_atomic_lock_t __kmp_atomic_lock_2i;
416 extern kmp_atomic_lock_t __kmp_atomic_lock_4i;
419 extern kmp_atomic_lock_t __kmp_atomic_lock_4r;
422 extern kmp_atomic_lock_t __kmp_atomic_lock_8i;
425 extern kmp_atomic_lock_t __kmp_atomic_lock_8r;
428 extern kmp_atomic_lock_t
429 __kmp_atomic_lock_8c;
431 extern kmp_atomic_lock_t
432 __kmp_atomic_lock_10r;
434 extern kmp_atomic_lock_t __kmp_atomic_lock_16r;
437 extern kmp_atomic_lock_t __kmp_atomic_lock_16c;
440 extern kmp_atomic_lock_t
441 __kmp_atomic_lock_20c;
443 extern kmp_atomic_lock_t __kmp_atomic_lock_32c;
450 void __kmpc_atomic_fixed1_add(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
451 void __kmpc_atomic_fixed1_andb(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
452 void __kmpc_atomic_fixed1_div(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
453 void __kmpc_atomic_fixed1u_div(
ident_t *id_ref,
int gtid,
unsigned char *lhs,
455 void __kmpc_atomic_fixed1_mul(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
456 void __kmpc_atomic_fixed1_orb(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
457 void __kmpc_atomic_fixed1_shl(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
458 void __kmpc_atomic_fixed1_shr(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
459 void __kmpc_atomic_fixed1u_shr(
ident_t *id_ref,
int gtid,
unsigned char *lhs,
461 void __kmpc_atomic_fixed1_sub(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
462 void __kmpc_atomic_fixed1_xor(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
464 void __kmpc_atomic_fixed2_add(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
465 void __kmpc_atomic_fixed2_andb(
ident_t *id_ref,
int gtid,
short *lhs,
467 void __kmpc_atomic_fixed2_div(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
468 void __kmpc_atomic_fixed2u_div(
ident_t *id_ref,
int gtid,
unsigned short *lhs,
470 void __kmpc_atomic_fixed2_mul(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
471 void __kmpc_atomic_fixed2_orb(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
472 void __kmpc_atomic_fixed2_shl(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
473 void __kmpc_atomic_fixed2_shr(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
474 void __kmpc_atomic_fixed2u_shr(
ident_t *id_ref,
int gtid,
unsigned short *lhs,
476 void __kmpc_atomic_fixed2_sub(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
477 void __kmpc_atomic_fixed2_xor(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
479 void __kmpc_atomic_fixed4_add(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
481 void __kmpc_atomic_fixed4_sub(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
484 void __kmpc_atomic_float4_add(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
486 void __kmpc_atomic_float4_sub(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
489 void __kmpc_atomic_fixed8_add(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
491 void __kmpc_atomic_fixed8_sub(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
494 void __kmpc_atomic_float8_add(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
496 void __kmpc_atomic_float8_sub(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
499 void __kmpc_atomic_fixed4_andb(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
501 void __kmpc_atomic_fixed4_div(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
503 void __kmpc_atomic_fixed4u_div(
ident_t *id_ref,
int gtid, kmp_uint32 *lhs,
505 void __kmpc_atomic_fixed4_mul(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
507 void __kmpc_atomic_fixed4_orb(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
509 void __kmpc_atomic_fixed4_shl(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
511 void __kmpc_atomic_fixed4_shr(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
513 void __kmpc_atomic_fixed4u_shr(
ident_t *id_ref,
int gtid, kmp_uint32 *lhs,
515 void __kmpc_atomic_fixed4_xor(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
518 void __kmpc_atomic_fixed8_andb(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
520 void __kmpc_atomic_fixed8_div(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
522 void __kmpc_atomic_fixed8u_div(
ident_t *id_ref,
int gtid, kmp_uint64 *lhs,
524 void __kmpc_atomic_fixed8_mul(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
526 void __kmpc_atomic_fixed8_orb(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
528 void __kmpc_atomic_fixed8_shl(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
530 void __kmpc_atomic_fixed8_shr(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
532 void __kmpc_atomic_fixed8u_shr(
ident_t *id_ref,
int gtid, kmp_uint64 *lhs,
534 void __kmpc_atomic_fixed8_xor(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
537 void __kmpc_atomic_float4_div(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
539 void __kmpc_atomic_float4_mul(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
542 void __kmpc_atomic_float8_div(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
544 void __kmpc_atomic_float8_mul(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
547 void __kmpc_atomic_fixed1_andl(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
548 void __kmpc_atomic_fixed1_orl(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
549 void __kmpc_atomic_fixed2_andl(
ident_t *id_ref,
int gtid,
short *lhs,
551 void __kmpc_atomic_fixed2_orl(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
552 void __kmpc_atomic_fixed4_andl(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
554 void __kmpc_atomic_fixed4_orl(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
556 void __kmpc_atomic_fixed8_andl(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
558 void __kmpc_atomic_fixed8_orl(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
561 void __kmpc_atomic_fixed1_max(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
562 void __kmpc_atomic_fixed1_min(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
563 void __kmpc_atomic_fixed2_max(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
564 void __kmpc_atomic_fixed2_min(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
565 void __kmpc_atomic_fixed4_max(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
567 void __kmpc_atomic_fixed4_min(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
569 void __kmpc_atomic_fixed8_max(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
571 void __kmpc_atomic_fixed8_min(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
573 void __kmpc_atomic_float4_max(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
575 void __kmpc_atomic_float4_min(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
577 void __kmpc_atomic_float8_max(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
579 void __kmpc_atomic_float8_min(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
581 void __kmpc_atomic_float10_max(
ident_t *id_ref,
int gtid,
long double *lhs,
583 void __kmpc_atomic_float10_min(
ident_t *id_ref,
int gtid,
long double *lhs,
586 void __kmpc_atomic_float16_max(
ident_t *id_ref,
int gtid, QUAD_LEGACY *lhs,
588 void __kmpc_atomic_float16_min(
ident_t *id_ref,
int gtid, QUAD_LEGACY *lhs,
593 void __kmpc_atomic_float16_max_a16(
ident_t *id_ref,
int gtid, Quad_a16_t *lhs,
595 void __kmpc_atomic_float16_min_a16(
ident_t *id_ref,
int gtid, Quad_a16_t *lhs,
600 void __kmpc_atomic_fixed1_neqv(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
601 void __kmpc_atomic_fixed2_neqv(
ident_t *id_ref,
int gtid,
short *lhs,
603 void __kmpc_atomic_fixed4_neqv(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
605 void __kmpc_atomic_fixed8_neqv(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
608 void __kmpc_atomic_fixed1_eqv(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
609 void __kmpc_atomic_fixed2_eqv(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
610 void __kmpc_atomic_fixed4_eqv(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
612 void __kmpc_atomic_fixed8_eqv(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
615 void __kmpc_atomic_float10_add(
ident_t *id_ref,
int gtid,
long double *lhs,
617 void __kmpc_atomic_float10_sub(
ident_t *id_ref,
int gtid,
long double *lhs,
619 void __kmpc_atomic_float10_mul(
ident_t *id_ref,
int gtid,
long double *lhs,
621 void __kmpc_atomic_float10_div(
ident_t *id_ref,
int gtid,
long double *lhs,
625 void __kmpc_atomic_float16_add(
ident_t *id_ref,
int gtid, QUAD_LEGACY *lhs,
627 void __kmpc_atomic_float16_sub(
ident_t *id_ref,
int gtid, QUAD_LEGACY *lhs,
629 void __kmpc_atomic_float16_mul(
ident_t *id_ref,
int gtid, QUAD_LEGACY *lhs,
631 void __kmpc_atomic_float16_div(
ident_t *id_ref,
int gtid, QUAD_LEGACY *lhs,
635 void __kmpc_atomic_float16_add_a16(
ident_t *id_ref,
int gtid, Quad_a16_t *lhs,
637 void __kmpc_atomic_float16_sub_a16(
ident_t *id_ref,
int gtid, Quad_a16_t *lhs,
639 void __kmpc_atomic_float16_mul_a16(
ident_t *id_ref,
int gtid, Quad_a16_t *lhs,
641 void __kmpc_atomic_float16_div_a16(
ident_t *id_ref,
int gtid, Quad_a16_t *lhs,
646 void __kmpc_atomic_cmplx4_add(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
648 void __kmpc_atomic_cmplx4_sub(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
650 void __kmpc_atomic_cmplx4_mul(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
652 void __kmpc_atomic_cmplx4_div(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
654 void __kmpc_atomic_cmplx8_add(
ident_t *id_ref,
int gtid, kmp_cmplx64 *lhs,
656 void __kmpc_atomic_cmplx8_sub(
ident_t *id_ref,
int gtid, kmp_cmplx64 *lhs,
658 void __kmpc_atomic_cmplx8_mul(
ident_t *id_ref,
int gtid, kmp_cmplx64 *lhs,
660 void __kmpc_atomic_cmplx8_div(
ident_t *id_ref,
int gtid, kmp_cmplx64 *lhs,
662 void __kmpc_atomic_cmplx10_add(
ident_t *id_ref,
int gtid, kmp_cmplx80 *lhs,
664 void __kmpc_atomic_cmplx10_sub(
ident_t *id_ref,
int gtid, kmp_cmplx80 *lhs,
666 void __kmpc_atomic_cmplx10_mul(
ident_t *id_ref,
int gtid, kmp_cmplx80 *lhs,
668 void __kmpc_atomic_cmplx10_div(
ident_t *id_ref,
int gtid, kmp_cmplx80 *lhs,
671 void __kmpc_atomic_cmplx16_add(
ident_t *id_ref,
int gtid, CPLX128_LEG *lhs,
673 void __kmpc_atomic_cmplx16_sub(
ident_t *id_ref,
int gtid, CPLX128_LEG *lhs,
675 void __kmpc_atomic_cmplx16_mul(
ident_t *id_ref,
int gtid, CPLX128_LEG *lhs,
677 void __kmpc_atomic_cmplx16_div(
ident_t *id_ref,
int gtid, CPLX128_LEG *lhs,
681 void __kmpc_atomic_cmplx16_add_a16(
ident_t *id_ref,
int gtid,
682 kmp_cmplx128_a16_t *lhs,
683 kmp_cmplx128_a16_t rhs);
684 void __kmpc_atomic_cmplx16_sub_a16(
ident_t *id_ref,
int gtid,
685 kmp_cmplx128_a16_t *lhs,
686 kmp_cmplx128_a16_t rhs);
687 void __kmpc_atomic_cmplx16_mul_a16(
ident_t *id_ref,
int gtid,
688 kmp_cmplx128_a16_t *lhs,
689 kmp_cmplx128_a16_t rhs);
690 void __kmpc_atomic_cmplx16_div_a16(
ident_t *id_ref,
int gtid,
691 kmp_cmplx128_a16_t *lhs,
692 kmp_cmplx128_a16_t rhs);
698 #if KMP_ARCH_X86 || KMP_ARCH_X86_64
700 void __kmpc_atomic_fixed1_sub_rev(
ident_t *id_ref,
int gtid,
char *lhs,
702 void __kmpc_atomic_fixed1_div_rev(
ident_t *id_ref,
int gtid,
char *lhs,
704 void __kmpc_atomic_fixed1u_div_rev(
ident_t *id_ref,
int gtid,
705 unsigned char *lhs,
unsigned char rhs);
706 void __kmpc_atomic_fixed1_shl_rev(
ident_t *id_ref,
int gtid,
char *lhs,
708 void __kmpc_atomic_fixed1_shr_rev(
ident_t *id_ref,
int gtid,
char *lhs,
710 void __kmpc_atomic_fixed1u_shr_rev(
ident_t *id_ref,
int gtid,
711 unsigned char *lhs,
unsigned char rhs);
712 void __kmpc_atomic_fixed2_sub_rev(
ident_t *id_ref,
int gtid,
short *lhs,
714 void __kmpc_atomic_fixed2_div_rev(
ident_t *id_ref,
int gtid,
short *lhs,
716 void __kmpc_atomic_fixed2u_div_rev(
ident_t *id_ref,
int gtid,
717 unsigned short *lhs,
unsigned short rhs);
718 void __kmpc_atomic_fixed2_shl_rev(
ident_t *id_ref,
int gtid,
short *lhs,
720 void __kmpc_atomic_fixed2_shr_rev(
ident_t *id_ref,
int gtid,
short *lhs,
722 void __kmpc_atomic_fixed2u_shr_rev(
ident_t *id_ref,
int gtid,
723 unsigned short *lhs,
unsigned short rhs);
724 void __kmpc_atomic_fixed4_sub_rev(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
726 void __kmpc_atomic_fixed4_div_rev(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
728 void __kmpc_atomic_fixed4u_div_rev(
ident_t *id_ref,
int gtid, kmp_uint32 *lhs,
730 void __kmpc_atomic_fixed4_shl_rev(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
732 void __kmpc_atomic_fixed4_shr_rev(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
734 void __kmpc_atomic_fixed4u_shr_rev(
ident_t *id_ref,
int gtid, kmp_uint32 *lhs,
736 void __kmpc_atomic_fixed8_sub_rev(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
738 void __kmpc_atomic_fixed8_div_rev(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
740 void __kmpc_atomic_fixed8u_div_rev(
ident_t *id_ref,
int gtid, kmp_uint64 *lhs,
742 void __kmpc_atomic_fixed8_shl_rev(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
744 void __kmpc_atomic_fixed8_shr_rev(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
746 void __kmpc_atomic_fixed8u_shr_rev(
ident_t *id_ref,
int gtid, kmp_uint64 *lhs,
748 void __kmpc_atomic_float4_sub_rev(
ident_t *id_ref,
int gtid,
float *lhs,
750 void __kmpc_atomic_float4_div_rev(
ident_t *id_ref,
int gtid,
float *lhs,
752 void __kmpc_atomic_float8_sub_rev(
ident_t *id_ref,
int gtid,
double *lhs,
754 void __kmpc_atomic_float8_div_rev(
ident_t *id_ref,
int gtid,
double *lhs,
756 void __kmpc_atomic_float10_sub_rev(
ident_t *id_ref,
int gtid,
long double *lhs,
758 void __kmpc_atomic_float10_div_rev(
ident_t *id_ref,
int gtid,
long double *lhs,
761 void __kmpc_atomic_float16_sub_rev(
ident_t *id_ref,
int gtid, QUAD_LEGACY *lhs,
763 void __kmpc_atomic_float16_div_rev(
ident_t *id_ref,
int gtid, QUAD_LEGACY *lhs,
766 void __kmpc_atomic_cmplx4_sub_rev(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
768 void __kmpc_atomic_cmplx4_div_rev(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
770 void __kmpc_atomic_cmplx8_sub_rev(
ident_t *id_ref,
int gtid, kmp_cmplx64 *lhs,
772 void __kmpc_atomic_cmplx8_div_rev(
ident_t *id_ref,
int gtid, kmp_cmplx64 *lhs,
774 void __kmpc_atomic_cmplx10_sub_rev(
ident_t *id_ref,
int gtid, kmp_cmplx80 *lhs,
776 void __kmpc_atomic_cmplx10_div_rev(
ident_t *id_ref,
int gtid, kmp_cmplx80 *lhs,
779 void __kmpc_atomic_cmplx16_sub_rev(
ident_t *id_ref,
int gtid, CPLX128_LEG *lhs,
781 void __kmpc_atomic_cmplx16_div_rev(
ident_t *id_ref,
int gtid, CPLX128_LEG *lhs,
785 void __kmpc_atomic_float16_sub_a16_rev(
ident_t *id_ref,
int gtid,
786 Quad_a16_t *lhs, Quad_a16_t rhs);
787 void __kmpc_atomic_float16_div_a16_rev(
ident_t *id_ref,
int gtid,
788 Quad_a16_t *lhs, Quad_a16_t rhs);
789 void __kmpc_atomic_cmplx16_sub_a16_rev(
ident_t *id_ref,
int gtid,
790 kmp_cmplx128_a16_t *lhs,
791 kmp_cmplx128_a16_t rhs);
792 void __kmpc_atomic_cmplx16_div_a16_rev(
ident_t *id_ref,
int gtid,
793 kmp_cmplx128_a16_t *lhs,
794 kmp_cmplx128_a16_t rhs);
803 void __kmpc_atomic_fixed1_mul_float8(
ident_t *id_ref,
int gtid,
char *lhs,
805 void __kmpc_atomic_fixed1_div_float8(
ident_t *id_ref,
int gtid,
char *lhs,
807 void __kmpc_atomic_fixed2_mul_float8(
ident_t *id_ref,
int gtid,
short *lhs,
809 void __kmpc_atomic_fixed2_div_float8(
ident_t *id_ref,
int gtid,
short *lhs,
811 void __kmpc_atomic_fixed4_mul_float8(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
813 void __kmpc_atomic_fixed4_div_float8(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
815 void __kmpc_atomic_fixed8_mul_float8(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
817 void __kmpc_atomic_fixed8_div_float8(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
819 void __kmpc_atomic_float4_add_float8(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
821 void __kmpc_atomic_float4_sub_float8(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
823 void __kmpc_atomic_float4_mul_float8(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
825 void __kmpc_atomic_float4_div_float8(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
831 void __kmpc_atomic_fixed1_add_fp(
ident_t *id_ref,
int gtid,
char *lhs,
833 void __kmpc_atomic_fixed1u_add_fp(
ident_t *id_ref,
int gtid,
unsigned char *lhs,
835 void __kmpc_atomic_fixed1_sub_fp(
ident_t *id_ref,
int gtid,
char *lhs,
837 void __kmpc_atomic_fixed1u_sub_fp(
ident_t *id_ref,
int gtid,
unsigned char *lhs,
839 void __kmpc_atomic_fixed1_mul_fp(
ident_t *id_ref,
int gtid,
char *lhs,
841 void __kmpc_atomic_fixed1u_mul_fp(
ident_t *id_ref,
int gtid,
unsigned char *lhs,
843 void __kmpc_atomic_fixed1_div_fp(
ident_t *id_ref,
int gtid,
char *lhs,
845 void __kmpc_atomic_fixed1u_div_fp(
ident_t *id_ref,
int gtid,
unsigned char *lhs,
848 void __kmpc_atomic_fixed2_add_fp(
ident_t *id_ref,
int gtid,
short *lhs,
850 void __kmpc_atomic_fixed2u_add_fp(
ident_t *id_ref,
int gtid,
851 unsigned short *lhs, _Quad rhs);
852 void __kmpc_atomic_fixed2_sub_fp(
ident_t *id_ref,
int gtid,
short *lhs,
854 void __kmpc_atomic_fixed2u_sub_fp(
ident_t *id_ref,
int gtid,
855 unsigned short *lhs, _Quad rhs);
856 void __kmpc_atomic_fixed2_mul_fp(
ident_t *id_ref,
int gtid,
short *lhs,
858 void __kmpc_atomic_fixed2u_mul_fp(
ident_t *id_ref,
int gtid,
859 unsigned short *lhs, _Quad rhs);
860 void __kmpc_atomic_fixed2_div_fp(
ident_t *id_ref,
int gtid,
short *lhs,
862 void __kmpc_atomic_fixed2u_div_fp(
ident_t *id_ref,
int gtid,
863 unsigned short *lhs, _Quad rhs);
865 void __kmpc_atomic_fixed4_add_fp(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
867 void __kmpc_atomic_fixed4u_add_fp(
ident_t *id_ref,
int gtid, kmp_uint32 *lhs,
869 void __kmpc_atomic_fixed4_sub_fp(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
871 void __kmpc_atomic_fixed4u_sub_fp(
ident_t *id_ref,
int gtid, kmp_uint32 *lhs,
873 void __kmpc_atomic_fixed4_mul_fp(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
875 void __kmpc_atomic_fixed4u_mul_fp(
ident_t *id_ref,
int gtid, kmp_uint32 *lhs,
877 void __kmpc_atomic_fixed4_div_fp(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
879 void __kmpc_atomic_fixed4u_div_fp(
ident_t *id_ref,
int gtid, kmp_uint32 *lhs,
882 void __kmpc_atomic_fixed8_add_fp(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
884 void __kmpc_atomic_fixed8u_add_fp(
ident_t *id_ref,
int gtid, kmp_uint64 *lhs,
886 void __kmpc_atomic_fixed8_sub_fp(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
888 void __kmpc_atomic_fixed8u_sub_fp(
ident_t *id_ref,
int gtid, kmp_uint64 *lhs,
890 void __kmpc_atomic_fixed8_mul_fp(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
892 void __kmpc_atomic_fixed8u_mul_fp(
ident_t *id_ref,
int gtid, kmp_uint64 *lhs,
894 void __kmpc_atomic_fixed8_div_fp(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
896 void __kmpc_atomic_fixed8u_div_fp(
ident_t *id_ref,
int gtid, kmp_uint64 *lhs,
899 void __kmpc_atomic_float4_add_fp(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
901 void __kmpc_atomic_float4_sub_fp(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
903 void __kmpc_atomic_float4_mul_fp(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
905 void __kmpc_atomic_float4_div_fp(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
908 void __kmpc_atomic_float8_add_fp(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
910 void __kmpc_atomic_float8_sub_fp(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
912 void __kmpc_atomic_float8_mul_fp(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
914 void __kmpc_atomic_float8_div_fp(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
917 void __kmpc_atomic_float10_add_fp(
ident_t *id_ref,
int gtid,
long double *lhs,
919 void __kmpc_atomic_float10_sub_fp(
ident_t *id_ref,
int gtid,
long double *lhs,
921 void __kmpc_atomic_float10_mul_fp(
ident_t *id_ref,
int gtid,
long double *lhs,
923 void __kmpc_atomic_float10_div_fp(
ident_t *id_ref,
int gtid,
long double *lhs,
927 void __kmpc_atomic_fixed1_sub_rev_fp(
ident_t *id_ref,
int gtid,
char *lhs,
929 void __kmpc_atomic_fixed1u_sub_rev_fp(
ident_t *id_ref,
int gtid,
930 unsigned char *lhs, _Quad rhs);
931 void __kmpc_atomic_fixed1_div_rev_fp(
ident_t *id_ref,
int gtid,
char *lhs,
933 void __kmpc_atomic_fixed1u_div_rev_fp(
ident_t *id_ref,
int gtid,
934 unsigned char *lhs, _Quad rhs);
935 void __kmpc_atomic_fixed2_sub_rev_fp(
ident_t *id_ref,
int gtid,
short *lhs,
937 void __kmpc_atomic_fixed2u_sub_rev_fp(
ident_t *id_ref,
int gtid,
938 unsigned short *lhs, _Quad rhs);
939 void __kmpc_atomic_fixed2_div_rev_fp(
ident_t *id_ref,
int gtid,
short *lhs,
941 void __kmpc_atomic_fixed2u_div_rev_fp(
ident_t *id_ref,
int gtid,
942 unsigned short *lhs, _Quad rhs);
943 void __kmpc_atomic_fixed4_sub_rev_fp(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
945 void __kmpc_atomic_fixed4u_sub_rev_fp(
ident_t *id_ref,
int gtid,
946 kmp_uint32 *lhs, _Quad rhs);
947 void __kmpc_atomic_fixed4_div_rev_fp(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
949 void __kmpc_atomic_fixed4u_div_rev_fp(
ident_t *id_ref,
int gtid,
950 kmp_uint32 *lhs, _Quad rhs);
951 void __kmpc_atomic_fixed8_sub_rev_fp(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
953 void __kmpc_atomic_fixed8u_sub_rev_fp(
ident_t *id_ref,
int gtid,
954 kmp_uint64 *lhs, _Quad rhs);
955 void __kmpc_atomic_fixed8_div_rev_fp(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
957 void __kmpc_atomic_fixed8u_div_rev_fp(
ident_t *id_ref,
int gtid,
958 kmp_uint64 *lhs, _Quad rhs);
959 void __kmpc_atomic_float4_sub_rev_fp(
ident_t *id_ref,
int gtid,
float *lhs,
961 void __kmpc_atomic_float4_div_rev_fp(
ident_t *id_ref,
int gtid,
float *lhs,
963 void __kmpc_atomic_float8_sub_rev_fp(
ident_t *id_ref,
int gtid,
double *lhs,
965 void __kmpc_atomic_float8_div_rev_fp(
ident_t *id_ref,
int gtid,
double *lhs,
967 void __kmpc_atomic_float10_sub_rev_fp(
ident_t *id_ref,
int gtid,
968 long double *lhs, _Quad rhs);
969 void __kmpc_atomic_float10_div_rev_fp(
ident_t *id_ref,
int gtid,
970 long double *lhs, _Quad rhs);
975 void __kmpc_atomic_cmplx4_add_cmplx8(
ident_t *id_ref,
int gtid,
976 kmp_cmplx32 *lhs, kmp_cmplx64 rhs);
977 void __kmpc_atomic_cmplx4_sub_cmplx8(
ident_t *id_ref,
int gtid,
978 kmp_cmplx32 *lhs, kmp_cmplx64 rhs);
979 void __kmpc_atomic_cmplx4_mul_cmplx8(
ident_t *id_ref,
int gtid,
980 kmp_cmplx32 *lhs, kmp_cmplx64 rhs);
981 void __kmpc_atomic_cmplx4_div_cmplx8(
ident_t *id_ref,
int gtid,
982 kmp_cmplx32 *lhs, kmp_cmplx64 rhs);
985 void __kmpc_atomic_1(
ident_t *id_ref,
int gtid,
void *lhs,
void *rhs,
986 void (*f)(
void *,
void *,
void *));
987 void __kmpc_atomic_2(
ident_t *id_ref,
int gtid,
void *lhs,
void *rhs,
988 void (*f)(
void *,
void *,
void *));
989 void __kmpc_atomic_4(
ident_t *id_ref,
int gtid,
void *lhs,
void *rhs,
990 void (*f)(
void *,
void *,
void *));
991 void __kmpc_atomic_8(
ident_t *id_ref,
int gtid,
void *lhs,
void *rhs,
992 void (*f)(
void *,
void *,
void *));
993 void __kmpc_atomic_10(
ident_t *id_ref,
int gtid,
void *lhs,
void *rhs,
994 void (*f)(
void *,
void *,
void *));
995 void __kmpc_atomic_16(
ident_t *id_ref,
int gtid,
void *lhs,
void *rhs,
996 void (*f)(
void *,
void *,
void *));
997 void __kmpc_atomic_20(
ident_t *id_ref,
int gtid,
void *lhs,
void *rhs,
998 void (*f)(
void *,
void *,
void *));
999 void __kmpc_atomic_32(
ident_t *id_ref,
int gtid,
void *lhs,
void *rhs,
1000 void (*f)(
void *,
void *,
void *));
1003 #if KMP_ARCH_X86 || KMP_ARCH_X86_64
1006 char __kmpc_atomic_fixed1_rd(
ident_t *id_ref,
int gtid,
char *loc);
1007 short __kmpc_atomic_fixed2_rd(
ident_t *id_ref,
int gtid,
short *loc);
1008 kmp_int32 __kmpc_atomic_fixed4_rd(
ident_t *id_ref,
int gtid, kmp_int32 *loc);
1009 kmp_int64 __kmpc_atomic_fixed8_rd(
ident_t *id_ref,
int gtid, kmp_int64 *loc);
1010 kmp_real32 __kmpc_atomic_float4_rd(
ident_t *id_ref,
int gtid, kmp_real32 *loc);
1011 kmp_real64 __kmpc_atomic_float8_rd(
ident_t *id_ref,
int gtid, kmp_real64 *loc);
1012 long double __kmpc_atomic_float10_rd(
ident_t *id_ref,
int gtid,
1015 QUAD_LEGACY __kmpc_atomic_float16_rd(
ident_t *id_ref,
int gtid,
1020 #if (KMP_OS_WINDOWS)
1021 void __kmpc_atomic_cmplx4_rd(kmp_cmplx32 *out,
ident_t *id_ref,
int gtid,
1024 kmp_cmplx32 __kmpc_atomic_cmplx4_rd(
ident_t *id_ref,
int gtid,
1027 kmp_cmplx64 __kmpc_atomic_cmplx8_rd(
ident_t *id_ref,
int gtid,
1029 kmp_cmplx80 __kmpc_atomic_cmplx10_rd(
ident_t *id_ref,
int gtid,
1032 CPLX128_LEG __kmpc_atomic_cmplx16_rd(
ident_t *id_ref,
int gtid,
1036 Quad_a16_t __kmpc_atomic_float16_a16_rd(
ident_t *id_ref,
int gtid,
1038 kmp_cmplx128_a16_t __kmpc_atomic_cmplx16_a16_rd(
ident_t *id_ref,
int gtid,
1039 kmp_cmplx128_a16_t *loc);
1044 void __kmpc_atomic_fixed1_wr(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
1045 void __kmpc_atomic_fixed2_wr(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
1046 void __kmpc_atomic_fixed4_wr(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
1048 void __kmpc_atomic_fixed8_wr(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
1050 void __kmpc_atomic_float4_wr(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
1052 void __kmpc_atomic_float8_wr(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
1054 void __kmpc_atomic_float10_wr(
ident_t *id_ref,
int gtid,
long double *lhs,
1057 void __kmpc_atomic_float16_wr(
ident_t *id_ref,
int gtid, QUAD_LEGACY *lhs,
1060 void __kmpc_atomic_cmplx4_wr(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
1062 void __kmpc_atomic_cmplx8_wr(
ident_t *id_ref,
int gtid, kmp_cmplx64 *lhs,
1064 void __kmpc_atomic_cmplx10_wr(
ident_t *id_ref,
int gtid, kmp_cmplx80 *lhs,
1067 void __kmpc_atomic_cmplx16_wr(
ident_t *id_ref,
int gtid, CPLX128_LEG *lhs,
1071 void __kmpc_atomic_float16_a16_wr(
ident_t *id_ref,
int gtid, Quad_a16_t *lhs,
1073 void __kmpc_atomic_cmplx16_a16_wr(
ident_t *id_ref,
int gtid,
1074 kmp_cmplx128_a16_t *lhs,
1075 kmp_cmplx128_a16_t rhs);
1082 char __kmpc_atomic_fixed1_add_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1083 char rhs,
int flag);
1084 char __kmpc_atomic_fixed1_andb_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1085 char rhs,
int flag);
1086 char __kmpc_atomic_fixed1_div_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1087 char rhs,
int flag);
1088 unsigned char __kmpc_atomic_fixed1u_div_cpt(
ident_t *id_ref,
int gtid,
1090 unsigned char rhs,
int flag);
1091 char __kmpc_atomic_fixed1_mul_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1092 char rhs,
int flag);
1093 char __kmpc_atomic_fixed1_orb_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1094 char rhs,
int flag);
1095 char __kmpc_atomic_fixed1_shl_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1096 char rhs,
int flag);
1097 char __kmpc_atomic_fixed1_shr_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1098 char rhs,
int flag);
1099 unsigned char __kmpc_atomic_fixed1u_shr_cpt(
ident_t *id_ref,
int gtid,
1101 unsigned char rhs,
int flag);
1102 char __kmpc_atomic_fixed1_sub_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1103 char rhs,
int flag);
1104 char __kmpc_atomic_fixed1_xor_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1105 char rhs,
int flag);
1107 short __kmpc_atomic_fixed2_add_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1108 short rhs,
int flag);
1109 short __kmpc_atomic_fixed2_andb_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1110 short rhs,
int flag);
1111 short __kmpc_atomic_fixed2_div_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1112 short rhs,
int flag);
1113 unsigned short __kmpc_atomic_fixed2u_div_cpt(
ident_t *id_ref,
int gtid,
1114 unsigned short *lhs,
1115 unsigned short rhs,
int flag);
1116 short __kmpc_atomic_fixed2_mul_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1117 short rhs,
int flag);
1118 short __kmpc_atomic_fixed2_orb_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1119 short rhs,
int flag);
1120 short __kmpc_atomic_fixed2_shl_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1121 short rhs,
int flag);
1122 short __kmpc_atomic_fixed2_shr_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1123 short rhs,
int flag);
1124 unsigned short __kmpc_atomic_fixed2u_shr_cpt(
ident_t *id_ref,
int gtid,
1125 unsigned short *lhs,
1126 unsigned short rhs,
int flag);
1127 short __kmpc_atomic_fixed2_sub_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1128 short rhs,
int flag);
1129 short __kmpc_atomic_fixed2_xor_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1130 short rhs,
int flag);
1132 kmp_int32 __kmpc_atomic_fixed4_add_cpt(
ident_t *id_ref,
int gtid,
1133 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1134 kmp_int32 __kmpc_atomic_fixed4_sub_cpt(
ident_t *id_ref,
int gtid,
1135 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1137 kmp_real32 __kmpc_atomic_float4_add_cpt(
ident_t *id_ref,
int gtid,
1138 kmp_real32 *lhs, kmp_real32 rhs,
1140 kmp_real32 __kmpc_atomic_float4_sub_cpt(
ident_t *id_ref,
int gtid,
1141 kmp_real32 *lhs, kmp_real32 rhs,
1144 kmp_int64 __kmpc_atomic_fixed8_add_cpt(
ident_t *id_ref,
int gtid,
1145 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1146 kmp_int64 __kmpc_atomic_fixed8_sub_cpt(
ident_t *id_ref,
int gtid,
1147 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1149 kmp_real64 __kmpc_atomic_float8_add_cpt(
ident_t *id_ref,
int gtid,
1150 kmp_real64 *lhs, kmp_real64 rhs,
1152 kmp_real64 __kmpc_atomic_float8_sub_cpt(
ident_t *id_ref,
int gtid,
1153 kmp_real64 *lhs, kmp_real64 rhs,
1156 kmp_int32 __kmpc_atomic_fixed4_andb_cpt(
ident_t *id_ref,
int gtid,
1157 kmp_int32 *lhs, kmp_int32 rhs,
1159 kmp_int32 __kmpc_atomic_fixed4_div_cpt(
ident_t *id_ref,
int gtid,
1160 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1161 kmp_uint32 __kmpc_atomic_fixed4u_div_cpt(
ident_t *id_ref,
int gtid,
1162 kmp_uint32 *lhs, kmp_uint32 rhs,
1164 kmp_int32 __kmpc_atomic_fixed4_mul_cpt(
ident_t *id_ref,
int gtid,
1165 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1166 kmp_int32 __kmpc_atomic_fixed4_orb_cpt(
ident_t *id_ref,
int gtid,
1167 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1168 kmp_int32 __kmpc_atomic_fixed4_shl_cpt(
ident_t *id_ref,
int gtid,
1169 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1170 kmp_int32 __kmpc_atomic_fixed4_shr_cpt(
ident_t *id_ref,
int gtid,
1171 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1172 kmp_uint32 __kmpc_atomic_fixed4u_shr_cpt(
ident_t *id_ref,
int gtid,
1173 kmp_uint32 *lhs, kmp_uint32 rhs,
1175 kmp_int32 __kmpc_atomic_fixed4_xor_cpt(
ident_t *id_ref,
int gtid,
1176 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1178 kmp_int64 __kmpc_atomic_fixed8_andb_cpt(
ident_t *id_ref,
int gtid,
1179 kmp_int64 *lhs, kmp_int64 rhs,
1181 kmp_int64 __kmpc_atomic_fixed8_div_cpt(
ident_t *id_ref,
int gtid,
1182 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1183 kmp_uint64 __kmpc_atomic_fixed8u_div_cpt(
ident_t *id_ref,
int gtid,
1184 kmp_uint64 *lhs, kmp_uint64 rhs,
1186 kmp_int64 __kmpc_atomic_fixed8_mul_cpt(
ident_t *id_ref,
int gtid,
1187 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1188 kmp_int64 __kmpc_atomic_fixed8_orb_cpt(
ident_t *id_ref,
int gtid,
1189 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1190 kmp_int64 __kmpc_atomic_fixed8_shl_cpt(
ident_t *id_ref,
int gtid,
1191 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1192 kmp_int64 __kmpc_atomic_fixed8_shr_cpt(
ident_t *id_ref,
int gtid,
1193 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1194 kmp_uint64 __kmpc_atomic_fixed8u_shr_cpt(
ident_t *id_ref,
int gtid,
1195 kmp_uint64 *lhs, kmp_uint64 rhs,
1197 kmp_int64 __kmpc_atomic_fixed8_xor_cpt(
ident_t *id_ref,
int gtid,
1198 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1200 kmp_real32 __kmpc_atomic_float4_div_cpt(
ident_t *id_ref,
int gtid,
1201 kmp_real32 *lhs, kmp_real32 rhs,
1203 kmp_real32 __kmpc_atomic_float4_mul_cpt(
ident_t *id_ref,
int gtid,
1204 kmp_real32 *lhs, kmp_real32 rhs,
1207 kmp_real64 __kmpc_atomic_float8_div_cpt(
ident_t *id_ref,
int gtid,
1208 kmp_real64 *lhs, kmp_real64 rhs,
1210 kmp_real64 __kmpc_atomic_float8_mul_cpt(
ident_t *id_ref,
int gtid,
1211 kmp_real64 *lhs, kmp_real64 rhs,
1214 char __kmpc_atomic_fixed1_andl_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1215 char rhs,
int flag);
1216 char __kmpc_atomic_fixed1_orl_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1217 char rhs,
int flag);
1218 short __kmpc_atomic_fixed2_andl_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1219 short rhs,
int flag);
1220 short __kmpc_atomic_fixed2_orl_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1221 short rhs,
int flag);
1222 kmp_int32 __kmpc_atomic_fixed4_andl_cpt(
ident_t *id_ref,
int gtid,
1223 kmp_int32 *lhs, kmp_int32 rhs,
1225 kmp_int32 __kmpc_atomic_fixed4_orl_cpt(
ident_t *id_ref,
int gtid,
1226 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1227 kmp_int64 __kmpc_atomic_fixed8_andl_cpt(
ident_t *id_ref,
int gtid,
1228 kmp_int64 *lhs, kmp_int64 rhs,
1230 kmp_int64 __kmpc_atomic_fixed8_orl_cpt(
ident_t *id_ref,
int gtid,
1231 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1233 char __kmpc_atomic_fixed1_max_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1234 char rhs,
int flag);
1235 char __kmpc_atomic_fixed1_min_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1236 char rhs,
int flag);
1237 short __kmpc_atomic_fixed2_max_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1238 short rhs,
int flag);
1239 short __kmpc_atomic_fixed2_min_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1240 short rhs,
int flag);
1241 kmp_int32 __kmpc_atomic_fixed4_max_cpt(
ident_t *id_ref,
int gtid,
1242 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1243 kmp_int32 __kmpc_atomic_fixed4_min_cpt(
ident_t *id_ref,
int gtid,
1244 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1245 kmp_int64 __kmpc_atomic_fixed8_max_cpt(
ident_t *id_ref,
int gtid,
1246 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1247 kmp_int64 __kmpc_atomic_fixed8_min_cpt(
ident_t *id_ref,
int gtid,
1248 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1249 kmp_real32 __kmpc_atomic_float4_max_cpt(
ident_t *id_ref,
int gtid,
1250 kmp_real32 *lhs, kmp_real32 rhs,
1252 kmp_real32 __kmpc_atomic_float4_min_cpt(
ident_t *id_ref,
int gtid,
1253 kmp_real32 *lhs, kmp_real32 rhs,
1255 kmp_real64 __kmpc_atomic_float8_max_cpt(
ident_t *id_ref,
int gtid,
1256 kmp_real64 *lhs, kmp_real64 rhs,
1258 kmp_real64 __kmpc_atomic_float8_min_cpt(
ident_t *id_ref,
int gtid,
1259 kmp_real64 *lhs, kmp_real64 rhs,
1261 long double __kmpc_atomic_float10_max_cpt(
ident_t *id_ref,
int gtid,
1262 long double *lhs,
long double rhs,
1264 long double __kmpc_atomic_float10_min_cpt(
ident_t *id_ref,
int gtid,
1265 long double *lhs,
long double rhs,
1268 QUAD_LEGACY __kmpc_atomic_float16_max_cpt(
ident_t *id_ref,
int gtid,
1269 QUAD_LEGACY *lhs, QUAD_LEGACY rhs,
1271 QUAD_LEGACY __kmpc_atomic_float16_min_cpt(
ident_t *id_ref,
int gtid,
1272 QUAD_LEGACY *lhs, QUAD_LEGACY rhs,
1276 char __kmpc_atomic_fixed1_neqv_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1277 char rhs,
int flag);
1278 short __kmpc_atomic_fixed2_neqv_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1279 short rhs,
int flag);
1280 kmp_int32 __kmpc_atomic_fixed4_neqv_cpt(
ident_t *id_ref,
int gtid,
1281 kmp_int32 *lhs, kmp_int32 rhs,
1283 kmp_int64 __kmpc_atomic_fixed8_neqv_cpt(
ident_t *id_ref,
int gtid,
1284 kmp_int64 *lhs, kmp_int64 rhs,
1287 char __kmpc_atomic_fixed1_eqv_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1288 char rhs,
int flag);
1289 short __kmpc_atomic_fixed2_eqv_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1290 short rhs,
int flag);
1291 kmp_int32 __kmpc_atomic_fixed4_eqv_cpt(
ident_t *id_ref,
int gtid,
1292 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1293 kmp_int64 __kmpc_atomic_fixed8_eqv_cpt(
ident_t *id_ref,
int gtid,
1294 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1296 long double __kmpc_atomic_float10_add_cpt(
ident_t *id_ref,
int gtid,
1297 long double *lhs,
long double rhs,
1299 long double __kmpc_atomic_float10_sub_cpt(
ident_t *id_ref,
int gtid,
1300 long double *lhs,
long double rhs,
1302 long double __kmpc_atomic_float10_mul_cpt(
ident_t *id_ref,
int gtid,
1303 long double *lhs,
long double rhs,
1305 long double __kmpc_atomic_float10_div_cpt(
ident_t *id_ref,
int gtid,
1306 long double *lhs,
long double rhs,
1310 QUAD_LEGACY __kmpc_atomic_float16_add_cpt(
ident_t *id_ref,
int gtid,
1311 QUAD_LEGACY *lhs, QUAD_LEGACY rhs,
1313 QUAD_LEGACY __kmpc_atomic_float16_sub_cpt(
ident_t *id_ref,
int gtid,
1314 QUAD_LEGACY *lhs, QUAD_LEGACY rhs,
1316 QUAD_LEGACY __kmpc_atomic_float16_mul_cpt(
ident_t *id_ref,
int gtid,
1317 QUAD_LEGACY *lhs, QUAD_LEGACY rhs,
1319 QUAD_LEGACY __kmpc_atomic_float16_div_cpt(
ident_t *id_ref,
int gtid,
1320 QUAD_LEGACY *lhs, QUAD_LEGACY rhs,
1326 void __kmpc_atomic_cmplx4_add_cpt(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
1327 kmp_cmplx32 rhs, kmp_cmplx32 *out,
int flag);
1328 void __kmpc_atomic_cmplx4_sub_cpt(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
1329 kmp_cmplx32 rhs, kmp_cmplx32 *out,
int flag);
1330 void __kmpc_atomic_cmplx4_mul_cpt(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
1331 kmp_cmplx32 rhs, kmp_cmplx32 *out,
int flag);
1332 void __kmpc_atomic_cmplx4_div_cpt(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
1333 kmp_cmplx32 rhs, kmp_cmplx32 *out,
int flag);
1335 kmp_cmplx64 __kmpc_atomic_cmplx8_add_cpt(
ident_t *id_ref,
int gtid,
1336 kmp_cmplx64 *lhs, kmp_cmplx64 rhs,
1338 kmp_cmplx64 __kmpc_atomic_cmplx8_sub_cpt(
ident_t *id_ref,
int gtid,
1339 kmp_cmplx64 *lhs, kmp_cmplx64 rhs,
1341 kmp_cmplx64 __kmpc_atomic_cmplx8_mul_cpt(
ident_t *id_ref,
int gtid,
1342 kmp_cmplx64 *lhs, kmp_cmplx64 rhs,
1344 kmp_cmplx64 __kmpc_atomic_cmplx8_div_cpt(
ident_t *id_ref,
int gtid,
1345 kmp_cmplx64 *lhs, kmp_cmplx64 rhs,
1347 kmp_cmplx80 __kmpc_atomic_cmplx10_add_cpt(
ident_t *id_ref,
int gtid,
1348 kmp_cmplx80 *lhs, kmp_cmplx80 rhs,
1350 kmp_cmplx80 __kmpc_atomic_cmplx10_sub_cpt(
ident_t *id_ref,
int gtid,
1351 kmp_cmplx80 *lhs, kmp_cmplx80 rhs,
1353 kmp_cmplx80 __kmpc_atomic_cmplx10_mul_cpt(
ident_t *id_ref,
int gtid,
1354 kmp_cmplx80 *lhs, kmp_cmplx80 rhs,
1356 kmp_cmplx80 __kmpc_atomic_cmplx10_div_cpt(
ident_t *id_ref,
int gtid,
1357 kmp_cmplx80 *lhs, kmp_cmplx80 rhs,
1360 CPLX128_LEG __kmpc_atomic_cmplx16_add_cpt(
ident_t *id_ref,
int gtid,
1361 CPLX128_LEG *lhs, CPLX128_LEG rhs,
1363 CPLX128_LEG __kmpc_atomic_cmplx16_sub_cpt(
ident_t *id_ref,
int gtid,
1364 CPLX128_LEG *lhs, CPLX128_LEG rhs,
1366 CPLX128_LEG __kmpc_atomic_cmplx16_mul_cpt(
ident_t *id_ref,
int gtid,
1367 CPLX128_LEG *lhs, CPLX128_LEG rhs,
1369 CPLX128_LEG __kmpc_atomic_cmplx16_div_cpt(
ident_t *id_ref,
int gtid,
1370 CPLX128_LEG *lhs, CPLX128_LEG rhs,
1374 Quad_a16_t __kmpc_atomic_float16_add_a16_cpt(
ident_t *id_ref,
int gtid,
1375 Quad_a16_t *lhs, Quad_a16_t rhs,
1377 Quad_a16_t __kmpc_atomic_float16_sub_a16_cpt(
ident_t *id_ref,
int gtid,
1378 Quad_a16_t *lhs, Quad_a16_t rhs,
1380 Quad_a16_t __kmpc_atomic_float16_mul_a16_cpt(
ident_t *id_ref,
int gtid,
1381 Quad_a16_t *lhs, Quad_a16_t rhs,
1383 Quad_a16_t __kmpc_atomic_float16_div_a16_cpt(
ident_t *id_ref,
int gtid,
1384 Quad_a16_t *lhs, Quad_a16_t rhs,
1386 Quad_a16_t __kmpc_atomic_float16_max_a16_cpt(
ident_t *id_ref,
int gtid,
1387 Quad_a16_t *lhs, Quad_a16_t rhs,
1389 Quad_a16_t __kmpc_atomic_float16_min_a16_cpt(
ident_t *id_ref,
int gtid,
1390 Quad_a16_t *lhs, Quad_a16_t rhs,
1392 kmp_cmplx128_a16_t __kmpc_atomic_cmplx16_add_a16_cpt(
ident_t *id_ref,
int gtid,
1393 kmp_cmplx128_a16_t *lhs,
1394 kmp_cmplx128_a16_t rhs,
1396 kmp_cmplx128_a16_t __kmpc_atomic_cmplx16_sub_a16_cpt(
ident_t *id_ref,
int gtid,
1397 kmp_cmplx128_a16_t *lhs,
1398 kmp_cmplx128_a16_t rhs,
1400 kmp_cmplx128_a16_t __kmpc_atomic_cmplx16_mul_a16_cpt(
ident_t *id_ref,
int gtid,
1401 kmp_cmplx128_a16_t *lhs,
1402 kmp_cmplx128_a16_t rhs,
1404 kmp_cmplx128_a16_t __kmpc_atomic_cmplx16_div_a16_cpt(
ident_t *id_ref,
int gtid,
1405 kmp_cmplx128_a16_t *lhs,
1406 kmp_cmplx128_a16_t rhs,
1411 void __kmpc_atomic_start(
void);
1412 void __kmpc_atomic_end(
void);
1417 char __kmpc_atomic_fixed1_sub_cpt_rev(
ident_t *id_ref,
int gtid,
char *lhs,
1418 char rhs,
int flag);
1419 char __kmpc_atomic_fixed1_div_cpt_rev(
ident_t *id_ref,
int gtid,
char *lhs,
1420 char rhs,
int flag);
1421 unsigned char __kmpc_atomic_fixed1u_div_cpt_rev(
ident_t *id_ref,
int gtid,
1423 unsigned char rhs,
int flag);
1424 char __kmpc_atomic_fixed1_shl_cpt_rev(
ident_t *id_ref,
int gtid,
char *lhs,
1425 char rhs,
int flag);
1426 char __kmpc_atomic_fixed1_shr_cpt_rev(
ident_t *id_ref,
int gtid,
char *lhs,
1427 char rhs,
int flag);
1428 unsigned char __kmpc_atomic_fixed1u_shr_cpt_rev(
ident_t *id_ref,
int gtid,
1430 unsigned char rhs,
int flag);
1431 short __kmpc_atomic_fixed2_sub_cpt_rev(
ident_t *id_ref,
int gtid,
short *lhs,
1432 short rhs,
int flag);
1433 short __kmpc_atomic_fixed2_div_cpt_rev(
ident_t *id_ref,
int gtid,
short *lhs,
1434 short rhs,
int flag);
1435 unsigned short __kmpc_atomic_fixed2u_div_cpt_rev(
ident_t *id_ref,
int gtid,
1436 unsigned short *lhs,
1437 unsigned short rhs,
int flag);
1438 short __kmpc_atomic_fixed2_shl_cpt_rev(
ident_t *id_ref,
int gtid,
short *lhs,
1439 short rhs,
int flag);
1440 short __kmpc_atomic_fixed2_shr_cpt_rev(
ident_t *id_ref,
int gtid,
short *lhs,
1441 short rhs,
int flag);
1442 unsigned short __kmpc_atomic_fixed2u_shr_cpt_rev(
ident_t *id_ref,
int gtid,
1443 unsigned short *lhs,
1444 unsigned short rhs,
int flag);
1445 kmp_int32 __kmpc_atomic_fixed4_sub_cpt_rev(
ident_t *id_ref,
int gtid,
1446 kmp_int32 *lhs, kmp_int32 rhs,
1448 kmp_int32 __kmpc_atomic_fixed4_div_cpt_rev(
ident_t *id_ref,
int gtid,
1449 kmp_int32 *lhs, kmp_int32 rhs,
1451 kmp_uint32 __kmpc_atomic_fixed4u_div_cpt_rev(
ident_t *id_ref,
int gtid,
1452 kmp_uint32 *lhs, kmp_uint32 rhs,
1454 kmp_int32 __kmpc_atomic_fixed4_shl_cpt_rev(
ident_t *id_ref,
int gtid,
1455 kmp_int32 *lhs, kmp_int32 rhs,
1457 kmp_int32 __kmpc_atomic_fixed4_shr_cpt_rev(
ident_t *id_ref,
int gtid,
1458 kmp_int32 *lhs, kmp_int32 rhs,
1460 kmp_uint32 __kmpc_atomic_fixed4u_shr_cpt_rev(
ident_t *id_ref,
int gtid,
1461 kmp_uint32 *lhs, kmp_uint32 rhs,
1463 kmp_int64 __kmpc_atomic_fixed8_sub_cpt_rev(
ident_t *id_ref,
int gtid,
1464 kmp_int64 *lhs, kmp_int64 rhs,
1466 kmp_int64 __kmpc_atomic_fixed8_div_cpt_rev(
ident_t *id_ref,
int gtid,
1467 kmp_int64 *lhs, kmp_int64 rhs,
1469 kmp_uint64 __kmpc_atomic_fixed8u_div_cpt_rev(
ident_t *id_ref,
int gtid,
1470 kmp_uint64 *lhs, kmp_uint64 rhs,
1472 kmp_int64 __kmpc_atomic_fixed8_shl_cpt_rev(
ident_t *id_ref,
int gtid,
1473 kmp_int64 *lhs, kmp_int64 rhs,
1475 kmp_int64 __kmpc_atomic_fixed8_shr_cpt_rev(
ident_t *id_ref,
int gtid,
1476 kmp_int64 *lhs, kmp_int64 rhs,
1478 kmp_uint64 __kmpc_atomic_fixed8u_shr_cpt_rev(
ident_t *id_ref,
int gtid,
1479 kmp_uint64 *lhs, kmp_uint64 rhs,
1481 float __kmpc_atomic_float4_sub_cpt_rev(
ident_t *id_ref,
int gtid,
float *lhs,
1482 float rhs,
int flag);
1483 float __kmpc_atomic_float4_div_cpt_rev(
ident_t *id_ref,
int gtid,
float *lhs,
1484 float rhs,
int flag);
1485 double __kmpc_atomic_float8_sub_cpt_rev(
ident_t *id_ref,
int gtid,
double *lhs,
1486 double rhs,
int flag);
1487 double __kmpc_atomic_float8_div_cpt_rev(
ident_t *id_ref,
int gtid,
double *lhs,
1488 double rhs,
int flag);
1489 long double __kmpc_atomic_float10_sub_cpt_rev(
ident_t *id_ref,
int gtid,
1490 long double *lhs,
long double rhs,
1492 long double __kmpc_atomic_float10_div_cpt_rev(
ident_t *id_ref,
int gtid,
1493 long double *lhs,
long double rhs,
1496 QUAD_LEGACY __kmpc_atomic_float16_sub_cpt_rev(
ident_t *id_ref,
int gtid,
1497 QUAD_LEGACY *lhs, QUAD_LEGACY rhs,
1499 QUAD_LEGACY __kmpc_atomic_float16_div_cpt_rev(
ident_t *id_ref,
int gtid,
1500 QUAD_LEGACY *lhs, QUAD_LEGACY rhs,
1505 void __kmpc_atomic_cmplx4_sub_cpt_rev(
ident_t *id_ref,
int gtid,
1506 kmp_cmplx32 *lhs, kmp_cmplx32 rhs,
1507 kmp_cmplx32 *out,
int flag);
1508 void __kmpc_atomic_cmplx4_div_cpt_rev(
ident_t *id_ref,
int gtid,
1509 kmp_cmplx32 *lhs, kmp_cmplx32 rhs,
1510 kmp_cmplx32 *out,
int flag);
1511 kmp_cmplx64 __kmpc_atomic_cmplx8_sub_cpt_rev(
ident_t *id_ref,
int gtid,
1512 kmp_cmplx64 *lhs, kmp_cmplx64 rhs,
1514 kmp_cmplx64 __kmpc_atomic_cmplx8_div_cpt_rev(
ident_t *id_ref,
int gtid,
1515 kmp_cmplx64 *lhs, kmp_cmplx64 rhs,
1517 kmp_cmplx80 __kmpc_atomic_cmplx10_sub_cpt_rev(
ident_t *id_ref,
int gtid,
1518 kmp_cmplx80 *lhs, kmp_cmplx80 rhs,
1520 kmp_cmplx80 __kmpc_atomic_cmplx10_div_cpt_rev(
ident_t *id_ref,
int gtid,
1521 kmp_cmplx80 *lhs, kmp_cmplx80 rhs,
1524 CPLX128_LEG __kmpc_atomic_cmplx16_sub_cpt_rev(
ident_t *id_ref,
int gtid,
1525 CPLX128_LEG *lhs, CPLX128_LEG rhs,
1527 CPLX128_LEG __kmpc_atomic_cmplx16_div_cpt_rev(
ident_t *id_ref,
int gtid,
1528 CPLX128_LEG *lhs, CPLX128_LEG rhs,
1531 Quad_a16_t __kmpc_atomic_float16_sub_a16_cpt_rev(
ident_t *id_ref,
int gtid,
1533 Quad_a16_t rhs,
int flag);
1534 Quad_a16_t __kmpc_atomic_float16_div_a16_cpt_rev(
ident_t *id_ref,
int gtid,
1536 Quad_a16_t rhs,
int flag);
1538 __kmpc_atomic_cmplx16_sub_a16_cpt_rev(
ident_t *id_ref,
int gtid,
1539 kmp_cmplx128_a16_t *lhs,
1540 kmp_cmplx128_a16_t rhs,
int flag);
1542 __kmpc_atomic_cmplx16_div_a16_cpt_rev(
ident_t *id_ref,
int gtid,
1543 kmp_cmplx128_a16_t *lhs,
1544 kmp_cmplx128_a16_t rhs,
int flag);
1549 char __kmpc_atomic_fixed1_swp(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
1550 short __kmpc_atomic_fixed2_swp(
ident_t *id_ref,
int gtid,
short *lhs,
1552 kmp_int32 __kmpc_atomic_fixed4_swp(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
1554 kmp_int64 __kmpc_atomic_fixed8_swp(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
1556 float __kmpc_atomic_float4_swp(
ident_t *id_ref,
int gtid,
float *lhs,
1558 double __kmpc_atomic_float8_swp(
ident_t *id_ref,
int gtid,
double *lhs,
1560 long double __kmpc_atomic_float10_swp(
ident_t *id_ref,
int gtid,
1561 long double *lhs,
long double rhs);
1563 QUAD_LEGACY __kmpc_atomic_float16_swp(
ident_t *id_ref,
int gtid,
1564 QUAD_LEGACY *lhs, QUAD_LEGACY rhs);
1567 void __kmpc_atomic_cmplx4_swp(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
1568 kmp_cmplx32 rhs, kmp_cmplx32 *out);
1572 kmp_cmplx64 __kmpc_atomic_cmplx8_swp(
ident_t *id_ref,
int gtid,
1573 kmp_cmplx64 *lhs, kmp_cmplx64 rhs);
1574 kmp_cmplx80 __kmpc_atomic_cmplx10_swp(
ident_t *id_ref,
int gtid,
1575 kmp_cmplx80 *lhs, kmp_cmplx80 rhs);
1577 CPLX128_LEG __kmpc_atomic_cmplx16_swp(
ident_t *id_ref,
int gtid,
1578 CPLX128_LEG *lhs, CPLX128_LEG rhs);
1580 Quad_a16_t __kmpc_atomic_float16_a16_swp(
ident_t *id_ref,
int gtid,
1581 Quad_a16_t *lhs, Quad_a16_t rhs);
1582 kmp_cmplx128_a16_t __kmpc_atomic_cmplx16_a16_swp(
ident_t *id_ref,
int gtid,
1583 kmp_cmplx128_a16_t *lhs,
1584 kmp_cmplx128_a16_t rhs);
1591 char __kmpc_atomic_fixed1_add_cpt_fp(
ident_t *id_ref,
int gtid,
char *lhs,
1592 _Quad rhs,
int flag);
1593 char __kmpc_atomic_fixed1_sub_cpt_fp(
ident_t *id_ref,
int gtid,
char *lhs,
1594 _Quad rhs,
int flag);
1595 char __kmpc_atomic_fixed1_mul_cpt_fp(
ident_t *id_ref,
int gtid,
char *lhs,
1596 _Quad rhs,
int flag);
1597 char __kmpc_atomic_fixed1_div_cpt_fp(
ident_t *id_ref,
int gtid,
char *lhs,
1598 _Quad rhs,
int flag);
1599 unsigned char __kmpc_atomic_fixed1u_add_cpt_fp(
ident_t *id_ref,
int gtid,
1600 unsigned char *lhs, _Quad rhs,
1602 unsigned char __kmpc_atomic_fixed1u_sub_cpt_fp(
ident_t *id_ref,
int gtid,
1603 unsigned char *lhs, _Quad rhs,
1605 unsigned char __kmpc_atomic_fixed1u_mul_cpt_fp(
ident_t *id_ref,
int gtid,
1606 unsigned char *lhs, _Quad rhs,
1608 unsigned char __kmpc_atomic_fixed1u_div_cpt_fp(
ident_t *id_ref,
int gtid,
1609 unsigned char *lhs, _Quad rhs,
1612 short __kmpc_atomic_fixed2_add_cpt_fp(
ident_t *id_ref,
int gtid,
short *lhs,
1613 _Quad rhs,
int flag);
1614 short __kmpc_atomic_fixed2_sub_cpt_fp(
ident_t *id_ref,
int gtid,
short *lhs,
1615 _Quad rhs,
int flag);
1616 short __kmpc_atomic_fixed2_mul_cpt_fp(
ident_t *id_ref,
int gtid,
short *lhs,
1617 _Quad rhs,
int flag);
1618 short __kmpc_atomic_fixed2_div_cpt_fp(
ident_t *id_ref,
int gtid,
short *lhs,
1619 _Quad rhs,
int flag);
1620 unsigned short __kmpc_atomic_fixed2u_add_cpt_fp(
ident_t *id_ref,
int gtid,
1621 unsigned short *lhs, _Quad rhs,
1623 unsigned short __kmpc_atomic_fixed2u_sub_cpt_fp(
ident_t *id_ref,
int gtid,
1624 unsigned short *lhs, _Quad rhs,
1626 unsigned short __kmpc_atomic_fixed2u_mul_cpt_fp(
ident_t *id_ref,
int gtid,
1627 unsigned short *lhs, _Quad rhs,
1629 unsigned short __kmpc_atomic_fixed2u_div_cpt_fp(
ident_t *id_ref,
int gtid,
1630 unsigned short *lhs, _Quad rhs,
1633 kmp_int32 __kmpc_atomic_fixed4_add_cpt_fp(
ident_t *id_ref,
int gtid,
1634 kmp_int32 *lhs, _Quad rhs,
int flag);
1635 kmp_int32 __kmpc_atomic_fixed4_sub_cpt_fp(
ident_t *id_ref,
int gtid,
1636 kmp_int32 *lhs, _Quad rhs,
int flag);
1637 kmp_int32 __kmpc_atomic_fixed4_mul_cpt_fp(
ident_t *id_ref,
int gtid,
1638 kmp_int32 *lhs, _Quad rhs,
int flag);
1639 kmp_int32 __kmpc_atomic_fixed4_div_cpt_fp(
ident_t *id_ref,
int gtid,
1640 kmp_int32 *lhs, _Quad rhs,
int flag);
1641 kmp_uint32 __kmpc_atomic_fixed4u_add_cpt_fp(
ident_t *id_ref,
int gtid,
1642 kmp_uint32 *lhs, _Quad rhs,
1644 kmp_uint32 __kmpc_atomic_fixed4u_sub_cpt_fp(
ident_t *id_ref,
int gtid,
1645 kmp_uint32 *lhs, _Quad rhs,
1647 kmp_uint32 __kmpc_atomic_fixed4u_mul_cpt_fp(
ident_t *id_ref,
int gtid,
1648 kmp_uint32 *lhs, _Quad rhs,
1650 kmp_uint32 __kmpc_atomic_fixed4u_div_cpt_fp(
ident_t *id_ref,
int gtid,
1651 kmp_uint32 *lhs, _Quad rhs,
1654 kmp_int64 __kmpc_atomic_fixed8_add_cpt_fp(
ident_t *id_ref,
int gtid,
1655 kmp_int64 *lhs, _Quad rhs,
int flag);
1656 kmp_int64 __kmpc_atomic_fixed8_sub_cpt_fp(
ident_t *id_ref,
int gtid,
1657 kmp_int64 *lhs, _Quad rhs,
int flag);
1658 kmp_int64 __kmpc_atomic_fixed8_mul_cpt_fp(
ident_t *id_ref,
int gtid,
1659 kmp_int64 *lhs, _Quad rhs,
int flag);
1660 kmp_int64 __kmpc_atomic_fixed8_div_cpt_fp(
ident_t *id_ref,
int gtid,
1661 kmp_int64 *lhs, _Quad rhs,
int flag);
1662 kmp_uint64 __kmpc_atomic_fixed8u_add_cpt_fp(
ident_t *id_ref,
int gtid,
1663 kmp_uint64 *lhs, _Quad rhs,
1665 kmp_uint64 __kmpc_atomic_fixed8u_sub_cpt_fp(
ident_t *id_ref,
int gtid,
1666 kmp_uint64 *lhs, _Quad rhs,
1668 kmp_uint64 __kmpc_atomic_fixed8u_mul_cpt_fp(
ident_t *id_ref,
int gtid,
1669 kmp_uint64 *lhs, _Quad rhs,
1671 kmp_uint64 __kmpc_atomic_fixed8u_div_cpt_fp(
ident_t *id_ref,
int gtid,
1672 kmp_uint64 *lhs, _Quad rhs,
1675 float __kmpc_atomic_float4_add_cpt_fp(
ident_t *id_ref,
int gtid,
1676 kmp_real32 *lhs, _Quad rhs,
int flag);
1677 float __kmpc_atomic_float4_sub_cpt_fp(
ident_t *id_ref,
int gtid,
1678 kmp_real32 *lhs, _Quad rhs,
int flag);
1679 float __kmpc_atomic_float4_mul_cpt_fp(
ident_t *id_ref,
int gtid,
1680 kmp_real32 *lhs, _Quad rhs,
int flag);
1681 float __kmpc_atomic_float4_div_cpt_fp(
ident_t *id_ref,
int gtid,
1682 kmp_real32 *lhs, _Quad rhs,
int flag);
1684 double __kmpc_atomic_float8_add_cpt_fp(
ident_t *id_ref,
int gtid,
1685 kmp_real64 *lhs, _Quad rhs,
int flag);
1686 double __kmpc_atomic_float8_sub_cpt_fp(
ident_t *id_ref,
int gtid,
1687 kmp_real64 *lhs, _Quad rhs,
int flag);
1688 double __kmpc_atomic_float8_mul_cpt_fp(
ident_t *id_ref,
int gtid,
1689 kmp_real64 *lhs, _Quad rhs,
int flag);
1690 double __kmpc_atomic_float8_div_cpt_fp(
ident_t *id_ref,
int gtid,
1691 kmp_real64 *lhs, _Quad rhs,
int flag);
1693 long double __kmpc_atomic_float10_add_cpt_fp(
ident_t *id_ref,
int gtid,
1694 long double *lhs, _Quad rhs,
1696 long double __kmpc_atomic_float10_sub_cpt_fp(
ident_t *id_ref,
int gtid,
1697 long double *lhs, _Quad rhs,
1699 long double __kmpc_atomic_float10_mul_cpt_fp(
ident_t *id_ref,
int gtid,
1700 long double *lhs, _Quad rhs,
1702 long double __kmpc_atomic_float10_div_cpt_fp(
ident_t *id_ref,
int gtid,
1703 long double *lhs, _Quad rhs,
1706 char __kmpc_atomic_fixed1_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
char *lhs,
1707 _Quad rhs,
int flag);
1708 unsigned char __kmpc_atomic_fixed1u_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1710 _Quad rhs,
int flag);
1711 char __kmpc_atomic_fixed1_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
char *lhs,
1712 _Quad rhs,
int flag);
1713 unsigned char __kmpc_atomic_fixed1u_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1715 _Quad rhs,
int flag);
1716 short __kmpc_atomic_fixed2_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
short *lhs,
1717 _Quad rhs,
int flag);
1718 unsigned short __kmpc_atomic_fixed2u_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1719 unsigned short *lhs,
1720 _Quad rhs,
int flag);
1721 short __kmpc_atomic_fixed2_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
short *lhs,
1722 _Quad rhs,
int flag);
1723 unsigned short __kmpc_atomic_fixed2u_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1724 unsigned short *lhs,
1725 _Quad rhs,
int flag);
1726 kmp_int32 __kmpc_atomic_fixed4_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1727 kmp_int32 *lhs, _Quad rhs,
1729 kmp_uint32 __kmpc_atomic_fixed4u_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1730 kmp_uint32 *lhs, _Quad rhs,
1732 kmp_int32 __kmpc_atomic_fixed4_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1733 kmp_int32 *lhs, _Quad rhs,
1735 kmp_uint32 __kmpc_atomic_fixed4u_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1736 kmp_uint32 *lhs, _Quad rhs,
1738 kmp_int64 __kmpc_atomic_fixed8_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1739 kmp_int64 *lhs, _Quad rhs,
1741 kmp_uint64 __kmpc_atomic_fixed8u_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1742 kmp_uint64 *lhs, _Quad rhs,
1744 kmp_int64 __kmpc_atomic_fixed8_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1745 kmp_int64 *lhs, _Quad rhs,
1747 kmp_uint64 __kmpc_atomic_fixed8u_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1748 kmp_uint64 *lhs, _Quad rhs,
1750 float __kmpc_atomic_float4_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
float *lhs,
1751 _Quad rhs,
int flag);
1752 float __kmpc_atomic_float4_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
float *lhs,
1753 _Quad rhs,
int flag);
1754 double __kmpc_atomic_float8_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1755 double *lhs, _Quad rhs,
int flag);
1756 double __kmpc_atomic_float8_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1757 double *lhs, _Quad rhs,
int flag);
1758 long double __kmpc_atomic_float10_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1759 long double *lhs, _Quad rhs,
1761 long double __kmpc_atomic_float10_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1762 long double *lhs, _Quad rhs,
1797 bool __kmpc_atomic_bool_1_cas(
ident_t *loc,
int gtid,
char *x,
char e,
char d);
1798 bool __kmpc_atomic_bool_2_cas(
ident_t *loc,
int gtid,
short *x,
short e,
1800 bool __kmpc_atomic_bool_4_cas(
ident_t *loc,
int gtid, kmp_int32 *x, kmp_int32 e,
1802 bool __kmpc_atomic_bool_8_cas(
ident_t *loc,
int gtid, kmp_int64 *x, kmp_int64 e,
1807 char __kmpc_atomic_val_1_cas(
ident_t *loc,
int gtid,
char *x,
char e,
char d);
1808 short __kmpc_atomic_val_2_cas(
ident_t *loc,
int gtid,
short *x,
short e,
1810 kmp_int32 __kmpc_atomic_val_4_cas(
ident_t *loc,
int gtid, kmp_int32 *x,
1811 kmp_int32 e, kmp_int32 d);
1812 kmp_int64 __kmpc_atomic_val_8_cas(
ident_t *loc,
int gtid, kmp_int64 *x,
1813 kmp_int64 e, kmp_int64 d);
1818 bool __kmpc_atomic_bool_1_cas_cpt(
ident_t *loc,
int gtid,
char *x,
char e,
1820 bool __kmpc_atomic_bool_2_cas_cpt(
ident_t *loc,
int gtid,
short *x,
short e,
1821 short d,
short *pv);
1822 bool __kmpc_atomic_bool_4_cas_cpt(
ident_t *loc,
int gtid, kmp_int32 *x,
1823 kmp_int32 e, kmp_int32 d, kmp_int32 *pv);
1824 bool __kmpc_atomic_bool_8_cas_cpt(
ident_t *loc,
int gtid, kmp_int64 *x,
1825 kmp_int64 e, kmp_int64 d, kmp_int64 *pv);
1830 char __kmpc_atomic_val_1_cas_cpt(
ident_t *loc,
int gtid,
char *x,
char e,
1832 short __kmpc_atomic_val_2_cas_cpt(
ident_t *loc,
int gtid,
short *x,
short e,
1833 short d,
short *pv);
1834 kmp_int32 __kmpc_atomic_val_4_cas_cpt(
ident_t *loc,
int gtid, kmp_int32 *x,
1835 kmp_int32 e, kmp_int32 d, kmp_int32 *pv);
1836 kmp_int64 __kmpc_atomic_val_8_cas_cpt(
ident_t *loc,
int gtid, kmp_int64 *x,
1837 kmp_int64 e, kmp_int64 d, kmp_int64 *pv);