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_
52template <
typename type_lhs,
typename type_rhs>
53std::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);
67struct __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);
83typedef struct __kmp_cmplx64_t kmp_cmplx64;
86struct __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);
150typedef struct __kmp_cmplx32_t kmp_cmplx32;
153struct 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);
170typedef KMP_DO_ALIGN(16) struct __kmp_cmplx80_t kmp_cmplx80;
174struct __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);
190typedef struct __kmp_cmplx128_t kmp_cmplx128;
193#ifdef _DEBUG_TEMPORARILY_UNSET_
194#undef _DEBUG_TEMPORARILY_UNSET_
201typedef float _Complex kmp_cmplx32;
202typedef double _Complex kmp_cmplx64;
203typedef long double _Complex kmp_cmplx80;
205typedef _Quad _Complex kmp_cmplx128;
213#if KMP_ARCH_X86 && KMP_HAVE_QUAD
219struct 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);
249struct KMP_DO_ALIGN(4) kmp_cmplx128_a4_t {
252 kmp_cmplx128_a4_t() : q() {}
254#if defined(__cplusplus) && (KMP_OS_WINDOWS)
255 kmp_cmplx128_a4_t(
const std::complex<_Quad> &c128) : q(c128) {}
257 kmp_cmplx128_a4_t(
const kmp_cmplx128 &c128) : q(c128) {}
259 kmp_cmplx128_a4_t operator+(
const kmp_cmplx128_a4_t &b) {
260 kmp_cmplx128 lhs = (*this).q;
261 kmp_cmplx128 rhs = b.q;
262 return (kmp_cmplx128_a4_t)(lhs + rhs);
264 kmp_cmplx128_a4_t operator-(
const kmp_cmplx128_a4_t &b) {
265 kmp_cmplx128 lhs = (*this).q;
266 kmp_cmplx128 rhs = b.q;
267 return (kmp_cmplx128_a4_t)(lhs - rhs);
269 kmp_cmplx128_a4_t operator*(
const kmp_cmplx128_a4_t &b) {
270 kmp_cmplx128 lhs = (*this).q;
271 kmp_cmplx128 rhs = b.q;
272 return (kmp_cmplx128_a4_t)(lhs * rhs);
275 kmp_cmplx128_a4_t operator/(
const kmp_cmplx128_a4_t &b) {
276 kmp_cmplx128 lhs = (*this).q;
277 kmp_cmplx128 rhs = b.q;
278 return (kmp_cmplx128_a4_t)(lhs / rhs);
285struct KMP_DO_ALIGN(16) Quad_a16_t {
288 Quad_a16_t() : q() {}
289 Quad_a16_t(
const _Quad &cq) : q(cq) {}
291 Quad_a16_t operator+(
const Quad_a16_t &b) {
292 _Quad lhs = (*this).q;
294 return (Quad_a16_t)(lhs + rhs);
297 Quad_a16_t operator-(
const Quad_a16_t &b) {
298 _Quad lhs = (*this).q;
300 return (Quad_a16_t)(lhs - rhs);
302 Quad_a16_t operator*(
const Quad_a16_t &b) {
303 _Quad lhs = (*this).q;
305 return (Quad_a16_t)(lhs * rhs);
308 Quad_a16_t operator/(
const Quad_a16_t &b) {
309 _Quad lhs = (*this).q;
311 return (Quad_a16_t)(lhs / rhs);
315struct KMP_DO_ALIGN(16) kmp_cmplx128_a16_t {
318 kmp_cmplx128_a16_t() : q() {}
320#if defined(__cplusplus) && (KMP_OS_WINDOWS)
321 kmp_cmplx128_a16_t(
const std::complex<_Quad> &c128) : q(c128) {}
323 kmp_cmplx128_a16_t(
const kmp_cmplx128 &c128) : q(c128) {}
325 kmp_cmplx128_a16_t operator+(
const kmp_cmplx128_a16_t &b) {
326 kmp_cmplx128 lhs = (*this).q;
327 kmp_cmplx128 rhs = b.q;
328 return (kmp_cmplx128_a16_t)(lhs + rhs);
330 kmp_cmplx128_a16_t operator-(
const kmp_cmplx128_a16_t &b) {
331 kmp_cmplx128 lhs = (*this).q;
332 kmp_cmplx128 rhs = b.q;
333 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);
341 kmp_cmplx128_a16_t operator/(
const kmp_cmplx128_a16_t &b) {
342 kmp_cmplx128 lhs = (*this).q;
343 kmp_cmplx128 rhs = b.q;
344 return (kmp_cmplx128_a16_t)(lhs / rhs);
351#define QUAD_LEGACY Quad_a4_t
352#define CPLX128_LEG kmp_cmplx128_a4_t
354#define QUAD_LEGACY _Quad
355#define CPLX128_LEG kmp_cmplx128
362extern int __kmp_atomic_mode;
365typedef kmp_queuing_lock_t kmp_atomic_lock_t;
367static inline void __kmp_acquire_atomic_lock(kmp_atomic_lock_t *lck,
369#if OMPT_SUPPORT && OMPT_OPTIONAL
370 if (ompt_enabled.ompt_callback_mutex_acquire) {
371 ompt_callbacks.ompt_callback(ompt_callback_mutex_acquire)(
372 ompt_mutex_atomic, 0, kmp_mutex_impl_queuing,
373 (ompt_wait_id_t)(uintptr_t)lck, OMPT_GET_RETURN_ADDRESS(0));
377 __kmp_acquire_queuing_lock(lck, gtid);
379#if OMPT_SUPPORT && OMPT_OPTIONAL
380 if (ompt_enabled.ompt_callback_mutex_acquired) {
381 ompt_callbacks.ompt_callback(ompt_callback_mutex_acquired)(
382 ompt_mutex_atomic, (ompt_wait_id_t)(uintptr_t)lck,
383 OMPT_GET_RETURN_ADDRESS(0));
388static inline int __kmp_test_atomic_lock(kmp_atomic_lock_t *lck,
390 return __kmp_test_queuing_lock(lck, gtid);
393static inline void __kmp_release_atomic_lock(kmp_atomic_lock_t *lck,
395 __kmp_release_queuing_lock(lck, gtid);
396#if OMPT_SUPPORT && OMPT_OPTIONAL
397 if (ompt_enabled.ompt_callback_mutex_released) {
398 ompt_callbacks.ompt_callback(ompt_callback_mutex_released)(
399 ompt_mutex_atomic, (ompt_wait_id_t)(uintptr_t)lck,
400 OMPT_GET_RETURN_ADDRESS(0));
405static inline void __kmp_init_atomic_lock(kmp_atomic_lock_t *lck) {
406 __kmp_init_queuing_lock(lck);
409static inline void __kmp_destroy_atomic_lock(kmp_atomic_lock_t *lck) {
410 __kmp_destroy_queuing_lock(lck);
414extern kmp_atomic_lock_t __kmp_atomic_lock;
416extern kmp_atomic_lock_t __kmp_atomic_lock_1i;
419extern kmp_atomic_lock_t __kmp_atomic_lock_2i;
422extern kmp_atomic_lock_t __kmp_atomic_lock_4i;
425extern kmp_atomic_lock_t __kmp_atomic_lock_4r;
428extern kmp_atomic_lock_t __kmp_atomic_lock_8i;
431extern kmp_atomic_lock_t __kmp_atomic_lock_8r;
434extern kmp_atomic_lock_t
435 __kmp_atomic_lock_8c;
437extern kmp_atomic_lock_t
438 __kmp_atomic_lock_10r;
440extern kmp_atomic_lock_t __kmp_atomic_lock_16r;
443extern kmp_atomic_lock_t __kmp_atomic_lock_16c;
446extern kmp_atomic_lock_t
447 __kmp_atomic_lock_20c;
449extern kmp_atomic_lock_t __kmp_atomic_lock_32c;
456void __kmpc_atomic_fixed1_add(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
457void __kmpc_atomic_fixed1_andb(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
458void __kmpc_atomic_fixed1_div(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
459void __kmpc_atomic_fixed1u_div(
ident_t *id_ref,
int gtid,
unsigned char *lhs,
461void __kmpc_atomic_fixed1_mul(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
462void __kmpc_atomic_fixed1_orb(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
463void __kmpc_atomic_fixed1_shl(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
464void __kmpc_atomic_fixed1_shr(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
465void __kmpc_atomic_fixed1u_shr(
ident_t *id_ref,
int gtid,
unsigned char *lhs,
467void __kmpc_atomic_fixed1_sub(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
468void __kmpc_atomic_fixed1_xor(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
470void __kmpc_atomic_fixed2_add(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
471void __kmpc_atomic_fixed2_andb(
ident_t *id_ref,
int gtid,
short *lhs,
473void __kmpc_atomic_fixed2_div(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
474void __kmpc_atomic_fixed2u_div(
ident_t *id_ref,
int gtid,
unsigned short *lhs,
476void __kmpc_atomic_fixed2_mul(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
477void __kmpc_atomic_fixed2_orb(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
478void __kmpc_atomic_fixed2_shl(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
479void __kmpc_atomic_fixed2_shr(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
480void __kmpc_atomic_fixed2u_shr(
ident_t *id_ref,
int gtid,
unsigned short *lhs,
482void __kmpc_atomic_fixed2_sub(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
483void __kmpc_atomic_fixed2_xor(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
485void __kmpc_atomic_fixed4_add(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
487void __kmpc_atomic_fixed4_sub(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
490void __kmpc_atomic_float4_add(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
492void __kmpc_atomic_float4_sub(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
495void __kmpc_atomic_fixed8_add(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
497void __kmpc_atomic_fixed8_sub(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
500void __kmpc_atomic_float8_add(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
502void __kmpc_atomic_float8_sub(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
505void __kmpc_atomic_fixed4_andb(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
507void __kmpc_atomic_fixed4_div(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
509void __kmpc_atomic_fixed4u_div(
ident_t *id_ref,
int gtid, kmp_uint32 *lhs,
511void __kmpc_atomic_fixed4_mul(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
513void __kmpc_atomic_fixed4_orb(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
515void __kmpc_atomic_fixed4_shl(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
517void __kmpc_atomic_fixed4_shr(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
519void __kmpc_atomic_fixed4u_shr(
ident_t *id_ref,
int gtid, kmp_uint32 *lhs,
521void __kmpc_atomic_fixed4_xor(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
524void __kmpc_atomic_fixed8_andb(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
526void __kmpc_atomic_fixed8_div(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
528void __kmpc_atomic_fixed8u_div(
ident_t *id_ref,
int gtid, kmp_uint64 *lhs,
530void __kmpc_atomic_fixed8_mul(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
532void __kmpc_atomic_fixed8_orb(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
534void __kmpc_atomic_fixed8_shl(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
536void __kmpc_atomic_fixed8_shr(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
538void __kmpc_atomic_fixed8u_shr(
ident_t *id_ref,
int gtid, kmp_uint64 *lhs,
540void __kmpc_atomic_fixed8_xor(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
543void __kmpc_atomic_float4_div(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
545void __kmpc_atomic_float4_mul(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
548void __kmpc_atomic_float8_div(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
550void __kmpc_atomic_float8_mul(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
553void __kmpc_atomic_fixed1_andl(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
554void __kmpc_atomic_fixed1_orl(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
555void __kmpc_atomic_fixed2_andl(
ident_t *id_ref,
int gtid,
short *lhs,
557void __kmpc_atomic_fixed2_orl(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
558void __kmpc_atomic_fixed4_andl(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
560void __kmpc_atomic_fixed4_orl(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
562void __kmpc_atomic_fixed8_andl(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
564void __kmpc_atomic_fixed8_orl(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
567void __kmpc_atomic_fixed1_max(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
568void __kmpc_atomic_fixed1_min(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
569void __kmpc_atomic_fixed2_max(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
570void __kmpc_atomic_fixed2_min(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
571void __kmpc_atomic_fixed4_max(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
573void __kmpc_atomic_fixed4_min(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
575void __kmpc_atomic_fixed8_max(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
577void __kmpc_atomic_fixed8_min(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
579void __kmpc_atomic_float4_max(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
581void __kmpc_atomic_float4_min(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
583void __kmpc_atomic_float8_max(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
585void __kmpc_atomic_float8_min(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
587void __kmpc_atomic_float10_max(
ident_t *id_ref,
int gtid,
long double *lhs,
589void __kmpc_atomic_float10_min(
ident_t *id_ref,
int gtid,
long double *lhs,
592void __kmpc_atomic_float16_max(
ident_t *id_ref,
int gtid, QUAD_LEGACY *lhs,
594void __kmpc_atomic_float16_min(
ident_t *id_ref,
int gtid, QUAD_LEGACY *lhs,
599void __kmpc_atomic_float16_max_a16(
ident_t *id_ref,
int gtid, Quad_a16_t *lhs,
601void __kmpc_atomic_float16_min_a16(
ident_t *id_ref,
int gtid, Quad_a16_t *lhs,
606void __kmpc_atomic_fixed1_neqv(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
607void __kmpc_atomic_fixed2_neqv(
ident_t *id_ref,
int gtid,
short *lhs,
609void __kmpc_atomic_fixed4_neqv(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
611void __kmpc_atomic_fixed8_neqv(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
614void __kmpc_atomic_fixed1_eqv(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
615void __kmpc_atomic_fixed2_eqv(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
616void __kmpc_atomic_fixed4_eqv(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
618void __kmpc_atomic_fixed8_eqv(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
621void __kmpc_atomic_float10_add(
ident_t *id_ref,
int gtid,
long double *lhs,
623void __kmpc_atomic_float10_sub(
ident_t *id_ref,
int gtid,
long double *lhs,
625void __kmpc_atomic_float10_mul(
ident_t *id_ref,
int gtid,
long double *lhs,
627void __kmpc_atomic_float10_div(
ident_t *id_ref,
int gtid,
long double *lhs,
631void __kmpc_atomic_float16_add(
ident_t *id_ref,
int gtid, QUAD_LEGACY *lhs,
633void __kmpc_atomic_float16_sub(
ident_t *id_ref,
int gtid, QUAD_LEGACY *lhs,
635void __kmpc_atomic_float16_mul(
ident_t *id_ref,
int gtid, QUAD_LEGACY *lhs,
637void __kmpc_atomic_float16_div(
ident_t *id_ref,
int gtid, QUAD_LEGACY *lhs,
641void __kmpc_atomic_float16_add_a16(
ident_t *id_ref,
int gtid, Quad_a16_t *lhs,
643void __kmpc_atomic_float16_sub_a16(
ident_t *id_ref,
int gtid, Quad_a16_t *lhs,
645void __kmpc_atomic_float16_mul_a16(
ident_t *id_ref,
int gtid, Quad_a16_t *lhs,
647void __kmpc_atomic_float16_div_a16(
ident_t *id_ref,
int gtid, Quad_a16_t *lhs,
652void __kmpc_atomic_cmplx4_add(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
654void __kmpc_atomic_cmplx4_sub(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
656void __kmpc_atomic_cmplx4_mul(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
658void __kmpc_atomic_cmplx4_div(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
660void __kmpc_atomic_cmplx8_add(
ident_t *id_ref,
int gtid, kmp_cmplx64 *lhs,
662void __kmpc_atomic_cmplx8_sub(
ident_t *id_ref,
int gtid, kmp_cmplx64 *lhs,
664void __kmpc_atomic_cmplx8_mul(
ident_t *id_ref,
int gtid, kmp_cmplx64 *lhs,
666void __kmpc_atomic_cmplx8_div(
ident_t *id_ref,
int gtid, kmp_cmplx64 *lhs,
668void __kmpc_atomic_cmplx10_add(
ident_t *id_ref,
int gtid, kmp_cmplx80 *lhs,
670void __kmpc_atomic_cmplx10_sub(
ident_t *id_ref,
int gtid, kmp_cmplx80 *lhs,
672void __kmpc_atomic_cmplx10_mul(
ident_t *id_ref,
int gtid, kmp_cmplx80 *lhs,
674void __kmpc_atomic_cmplx10_div(
ident_t *id_ref,
int gtid, kmp_cmplx80 *lhs,
677void __kmpc_atomic_cmplx16_add(
ident_t *id_ref,
int gtid, CPLX128_LEG *lhs,
679void __kmpc_atomic_cmplx16_sub(
ident_t *id_ref,
int gtid, CPLX128_LEG *lhs,
681void __kmpc_atomic_cmplx16_mul(
ident_t *id_ref,
int gtid, CPLX128_LEG *lhs,
683void __kmpc_atomic_cmplx16_div(
ident_t *id_ref,
int gtid, CPLX128_LEG *lhs,
687void __kmpc_atomic_cmplx16_add_a16(
ident_t *id_ref,
int gtid,
688 kmp_cmplx128_a16_t *lhs,
689 kmp_cmplx128_a16_t rhs);
690void __kmpc_atomic_cmplx16_sub_a16(
ident_t *id_ref,
int gtid,
691 kmp_cmplx128_a16_t *lhs,
692 kmp_cmplx128_a16_t rhs);
693void __kmpc_atomic_cmplx16_mul_a16(
ident_t *id_ref,
int gtid,
694 kmp_cmplx128_a16_t *lhs,
695 kmp_cmplx128_a16_t rhs);
696void __kmpc_atomic_cmplx16_div_a16(
ident_t *id_ref,
int gtid,
697 kmp_cmplx128_a16_t *lhs,
698 kmp_cmplx128_a16_t rhs);
704#if KMP_ARCH_X86 || KMP_ARCH_X86_64
706void __kmpc_atomic_fixed1_sub_rev(
ident_t *id_ref,
int gtid,
char *lhs,
708void __kmpc_atomic_fixed1_div_rev(
ident_t *id_ref,
int gtid,
char *lhs,
710void __kmpc_atomic_fixed1u_div_rev(
ident_t *id_ref,
int gtid,
711 unsigned char *lhs,
unsigned char rhs);
712void __kmpc_atomic_fixed1_shl_rev(
ident_t *id_ref,
int gtid,
char *lhs,
714void __kmpc_atomic_fixed1_shr_rev(
ident_t *id_ref,
int gtid,
char *lhs,
716void __kmpc_atomic_fixed1u_shr_rev(
ident_t *id_ref,
int gtid,
717 unsigned char *lhs,
unsigned char rhs);
718void __kmpc_atomic_fixed2_sub_rev(
ident_t *id_ref,
int gtid,
short *lhs,
720void __kmpc_atomic_fixed2_div_rev(
ident_t *id_ref,
int gtid,
short *lhs,
722void __kmpc_atomic_fixed2u_div_rev(
ident_t *id_ref,
int gtid,
723 unsigned short *lhs,
unsigned short rhs);
724void __kmpc_atomic_fixed2_shl_rev(
ident_t *id_ref,
int gtid,
short *lhs,
726void __kmpc_atomic_fixed2_shr_rev(
ident_t *id_ref,
int gtid,
short *lhs,
728void __kmpc_atomic_fixed2u_shr_rev(
ident_t *id_ref,
int gtid,
729 unsigned short *lhs,
unsigned short rhs);
730void __kmpc_atomic_fixed4_sub_rev(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
732void __kmpc_atomic_fixed4_div_rev(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
734void __kmpc_atomic_fixed4u_div_rev(
ident_t *id_ref,
int gtid, kmp_uint32 *lhs,
736void __kmpc_atomic_fixed4_shl_rev(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
738void __kmpc_atomic_fixed4_shr_rev(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
740void __kmpc_atomic_fixed4u_shr_rev(
ident_t *id_ref,
int gtid, kmp_uint32 *lhs,
742void __kmpc_atomic_fixed8_sub_rev(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
744void __kmpc_atomic_fixed8_div_rev(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
746void __kmpc_atomic_fixed8u_div_rev(
ident_t *id_ref,
int gtid, kmp_uint64 *lhs,
748void __kmpc_atomic_fixed8_shl_rev(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
750void __kmpc_atomic_fixed8_shr_rev(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
752void __kmpc_atomic_fixed8u_shr_rev(
ident_t *id_ref,
int gtid, kmp_uint64 *lhs,
754void __kmpc_atomic_float4_sub_rev(
ident_t *id_ref,
int gtid,
float *lhs,
756void __kmpc_atomic_float4_div_rev(
ident_t *id_ref,
int gtid,
float *lhs,
758void __kmpc_atomic_float8_sub_rev(
ident_t *id_ref,
int gtid,
double *lhs,
760void __kmpc_atomic_float8_div_rev(
ident_t *id_ref,
int gtid,
double *lhs,
762void __kmpc_atomic_float10_sub_rev(
ident_t *id_ref,
int gtid,
long double *lhs,
764void __kmpc_atomic_float10_div_rev(
ident_t *id_ref,
int gtid,
long double *lhs,
767void __kmpc_atomic_float16_sub_rev(
ident_t *id_ref,
int gtid, QUAD_LEGACY *lhs,
769void __kmpc_atomic_float16_div_rev(
ident_t *id_ref,
int gtid, QUAD_LEGACY *lhs,
772void __kmpc_atomic_cmplx4_sub_rev(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
774void __kmpc_atomic_cmplx4_div_rev(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
776void __kmpc_atomic_cmplx8_sub_rev(
ident_t *id_ref,
int gtid, kmp_cmplx64 *lhs,
778void __kmpc_atomic_cmplx8_div_rev(
ident_t *id_ref,
int gtid, kmp_cmplx64 *lhs,
780void __kmpc_atomic_cmplx10_sub_rev(
ident_t *id_ref,
int gtid, kmp_cmplx80 *lhs,
782void __kmpc_atomic_cmplx10_div_rev(
ident_t *id_ref,
int gtid, kmp_cmplx80 *lhs,
785void __kmpc_atomic_cmplx16_sub_rev(
ident_t *id_ref,
int gtid, CPLX128_LEG *lhs,
787void __kmpc_atomic_cmplx16_div_rev(
ident_t *id_ref,
int gtid, CPLX128_LEG *lhs,
791void __kmpc_atomic_float16_sub_a16_rev(
ident_t *id_ref,
int gtid,
792 Quad_a16_t *lhs, Quad_a16_t rhs);
793void __kmpc_atomic_float16_div_a16_rev(
ident_t *id_ref,
int gtid,
794 Quad_a16_t *lhs, Quad_a16_t rhs);
795void __kmpc_atomic_cmplx16_sub_a16_rev(
ident_t *id_ref,
int gtid,
796 kmp_cmplx128_a16_t *lhs,
797 kmp_cmplx128_a16_t rhs);
798void __kmpc_atomic_cmplx16_div_a16_rev(
ident_t *id_ref,
int gtid,
799 kmp_cmplx128_a16_t *lhs,
800 kmp_cmplx128_a16_t rhs);
809void __kmpc_atomic_fixed1_mul_float8(
ident_t *id_ref,
int gtid,
char *lhs,
811void __kmpc_atomic_fixed1_div_float8(
ident_t *id_ref,
int gtid,
char *lhs,
813void __kmpc_atomic_fixed2_mul_float8(
ident_t *id_ref,
int gtid,
short *lhs,
815void __kmpc_atomic_fixed2_div_float8(
ident_t *id_ref,
int gtid,
short *lhs,
817void __kmpc_atomic_fixed4_mul_float8(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
819void __kmpc_atomic_fixed4_div_float8(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
821void __kmpc_atomic_fixed8_mul_float8(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
823void __kmpc_atomic_fixed8_div_float8(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
825void __kmpc_atomic_float4_add_float8(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
827void __kmpc_atomic_float4_sub_float8(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
829void __kmpc_atomic_float4_mul_float8(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
831void __kmpc_atomic_float4_div_float8(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
837void __kmpc_atomic_fixed1_add_fp(
ident_t *id_ref,
int gtid,
char *lhs,
839void __kmpc_atomic_fixed1u_add_fp(
ident_t *id_ref,
int gtid,
unsigned char *lhs,
841void __kmpc_atomic_fixed1_sub_fp(
ident_t *id_ref,
int gtid,
char *lhs,
843void __kmpc_atomic_fixed1u_sub_fp(
ident_t *id_ref,
int gtid,
unsigned char *lhs,
845void __kmpc_atomic_fixed1_mul_fp(
ident_t *id_ref,
int gtid,
char *lhs,
847void __kmpc_atomic_fixed1u_mul_fp(
ident_t *id_ref,
int gtid,
unsigned char *lhs,
849void __kmpc_atomic_fixed1_div_fp(
ident_t *id_ref,
int gtid,
char *lhs,
851void __kmpc_atomic_fixed1u_div_fp(
ident_t *id_ref,
int gtid,
unsigned char *lhs,
854void __kmpc_atomic_fixed2_add_fp(
ident_t *id_ref,
int gtid,
short *lhs,
856void __kmpc_atomic_fixed2u_add_fp(
ident_t *id_ref,
int gtid,
857 unsigned short *lhs, _Quad rhs);
858void __kmpc_atomic_fixed2_sub_fp(
ident_t *id_ref,
int gtid,
short *lhs,
860void __kmpc_atomic_fixed2u_sub_fp(
ident_t *id_ref,
int gtid,
861 unsigned short *lhs, _Quad rhs);
862void __kmpc_atomic_fixed2_mul_fp(
ident_t *id_ref,
int gtid,
short *lhs,
864void __kmpc_atomic_fixed2u_mul_fp(
ident_t *id_ref,
int gtid,
865 unsigned short *lhs, _Quad rhs);
866void __kmpc_atomic_fixed2_div_fp(
ident_t *id_ref,
int gtid,
short *lhs,
868void __kmpc_atomic_fixed2u_div_fp(
ident_t *id_ref,
int gtid,
869 unsigned short *lhs, _Quad rhs);
871void __kmpc_atomic_fixed4_add_fp(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
873void __kmpc_atomic_fixed4u_add_fp(
ident_t *id_ref,
int gtid, kmp_uint32 *lhs,
875void __kmpc_atomic_fixed4_sub_fp(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
877void __kmpc_atomic_fixed4u_sub_fp(
ident_t *id_ref,
int gtid, kmp_uint32 *lhs,
879void __kmpc_atomic_fixed4_mul_fp(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
881void __kmpc_atomic_fixed4u_mul_fp(
ident_t *id_ref,
int gtid, kmp_uint32 *lhs,
883void __kmpc_atomic_fixed4_div_fp(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
885void __kmpc_atomic_fixed4u_div_fp(
ident_t *id_ref,
int gtid, kmp_uint32 *lhs,
888void __kmpc_atomic_fixed8_add_fp(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
890void __kmpc_atomic_fixed8u_add_fp(
ident_t *id_ref,
int gtid, kmp_uint64 *lhs,
892void __kmpc_atomic_fixed8_sub_fp(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
894void __kmpc_atomic_fixed8u_sub_fp(
ident_t *id_ref,
int gtid, kmp_uint64 *lhs,
896void __kmpc_atomic_fixed8_mul_fp(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
898void __kmpc_atomic_fixed8u_mul_fp(
ident_t *id_ref,
int gtid, kmp_uint64 *lhs,
900void __kmpc_atomic_fixed8_div_fp(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
902void __kmpc_atomic_fixed8u_div_fp(
ident_t *id_ref,
int gtid, kmp_uint64 *lhs,
905void __kmpc_atomic_float4_add_fp(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
907void __kmpc_atomic_float4_sub_fp(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
909void __kmpc_atomic_float4_mul_fp(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
911void __kmpc_atomic_float4_div_fp(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
914void __kmpc_atomic_float8_add_fp(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
916void __kmpc_atomic_float8_sub_fp(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
918void __kmpc_atomic_float8_mul_fp(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
920void __kmpc_atomic_float8_div_fp(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
923void __kmpc_atomic_float10_add_fp(
ident_t *id_ref,
int gtid,
long double *lhs,
925void __kmpc_atomic_float10_sub_fp(
ident_t *id_ref,
int gtid,
long double *lhs,
927void __kmpc_atomic_float10_mul_fp(
ident_t *id_ref,
int gtid,
long double *lhs,
929void __kmpc_atomic_float10_div_fp(
ident_t *id_ref,
int gtid,
long double *lhs,
933void __kmpc_atomic_fixed1_sub_rev_fp(
ident_t *id_ref,
int gtid,
char *lhs,
935void __kmpc_atomic_fixed1u_sub_rev_fp(
ident_t *id_ref,
int gtid,
936 unsigned char *lhs, _Quad rhs);
937void __kmpc_atomic_fixed1_div_rev_fp(
ident_t *id_ref,
int gtid,
char *lhs,
939void __kmpc_atomic_fixed1u_div_rev_fp(
ident_t *id_ref,
int gtid,
940 unsigned char *lhs, _Quad rhs);
941void __kmpc_atomic_fixed2_sub_rev_fp(
ident_t *id_ref,
int gtid,
short *lhs,
943void __kmpc_atomic_fixed2u_sub_rev_fp(
ident_t *id_ref,
int gtid,
944 unsigned short *lhs, _Quad rhs);
945void __kmpc_atomic_fixed2_div_rev_fp(
ident_t *id_ref,
int gtid,
short *lhs,
947void __kmpc_atomic_fixed2u_div_rev_fp(
ident_t *id_ref,
int gtid,
948 unsigned short *lhs, _Quad rhs);
949void __kmpc_atomic_fixed4_sub_rev_fp(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
951void __kmpc_atomic_fixed4u_sub_rev_fp(
ident_t *id_ref,
int gtid,
952 kmp_uint32 *lhs, _Quad rhs);
953void __kmpc_atomic_fixed4_div_rev_fp(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
955void __kmpc_atomic_fixed4u_div_rev_fp(
ident_t *id_ref,
int gtid,
956 kmp_uint32 *lhs, _Quad rhs);
957void __kmpc_atomic_fixed8_sub_rev_fp(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
959void __kmpc_atomic_fixed8u_sub_rev_fp(
ident_t *id_ref,
int gtid,
960 kmp_uint64 *lhs, _Quad rhs);
961void __kmpc_atomic_fixed8_div_rev_fp(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
963void __kmpc_atomic_fixed8u_div_rev_fp(
ident_t *id_ref,
int gtid,
964 kmp_uint64 *lhs, _Quad rhs);
965void __kmpc_atomic_float4_sub_rev_fp(
ident_t *id_ref,
int gtid,
float *lhs,
967void __kmpc_atomic_float4_div_rev_fp(
ident_t *id_ref,
int gtid,
float *lhs,
969void __kmpc_atomic_float8_sub_rev_fp(
ident_t *id_ref,
int gtid,
double *lhs,
971void __kmpc_atomic_float8_div_rev_fp(
ident_t *id_ref,
int gtid,
double *lhs,
973void __kmpc_atomic_float10_sub_rev_fp(
ident_t *id_ref,
int gtid,
974 long double *lhs, _Quad rhs);
975void __kmpc_atomic_float10_div_rev_fp(
ident_t *id_ref,
int gtid,
976 long double *lhs, _Quad rhs);
981void __kmpc_atomic_cmplx4_add_cmplx8(
ident_t *id_ref,
int gtid,
982 kmp_cmplx32 *lhs, kmp_cmplx64 rhs);
983void __kmpc_atomic_cmplx4_sub_cmplx8(
ident_t *id_ref,
int gtid,
984 kmp_cmplx32 *lhs, kmp_cmplx64 rhs);
985void __kmpc_atomic_cmplx4_mul_cmplx8(
ident_t *id_ref,
int gtid,
986 kmp_cmplx32 *lhs, kmp_cmplx64 rhs);
987void __kmpc_atomic_cmplx4_div_cmplx8(
ident_t *id_ref,
int gtid,
988 kmp_cmplx32 *lhs, kmp_cmplx64 rhs);
991void __kmpc_atomic_1(
ident_t *id_ref,
int gtid,
void *lhs,
void *rhs,
992 void (*f)(
void *,
void *,
void *));
993void __kmpc_atomic_2(
ident_t *id_ref,
int gtid,
void *lhs,
void *rhs,
994 void (*f)(
void *,
void *,
void *));
995void __kmpc_atomic_4(
ident_t *id_ref,
int gtid,
void *lhs,
void *rhs,
996 void (*f)(
void *,
void *,
void *));
997void __kmpc_atomic_8(
ident_t *id_ref,
int gtid,
void *lhs,
void *rhs,
998 void (*f)(
void *,
void *,
void *));
999void __kmpc_atomic_10(
ident_t *id_ref,
int gtid,
void *lhs,
void *rhs,
1000 void (*f)(
void *,
void *,
void *));
1001void __kmpc_atomic_16(
ident_t *id_ref,
int gtid,
void *lhs,
void *rhs,
1002 void (*f)(
void *,
void *,
void *));
1003void __kmpc_atomic_20(
ident_t *id_ref,
int gtid,
void *lhs,
void *rhs,
1004 void (*f)(
void *,
void *,
void *));
1005void __kmpc_atomic_32(
ident_t *id_ref,
int gtid,
void *lhs,
void *rhs,
1006 void (*f)(
void *,
void *,
void *));
1009#if KMP_ARCH_X86 || KMP_ARCH_X86_64
1012char __kmpc_atomic_fixed1_rd(
ident_t *id_ref,
int gtid,
char *loc);
1013short __kmpc_atomic_fixed2_rd(
ident_t *id_ref,
int gtid,
short *loc);
1014kmp_int32 __kmpc_atomic_fixed4_rd(
ident_t *id_ref,
int gtid, kmp_int32 *loc);
1015kmp_int64 __kmpc_atomic_fixed8_rd(
ident_t *id_ref,
int gtid, kmp_int64 *loc);
1016kmp_real32 __kmpc_atomic_float4_rd(
ident_t *id_ref,
int gtid, kmp_real32 *loc);
1017kmp_real64 __kmpc_atomic_float8_rd(
ident_t *id_ref,
int gtid, kmp_real64 *loc);
1018long double __kmpc_atomic_float10_rd(
ident_t *id_ref,
int gtid,
1021QUAD_LEGACY __kmpc_atomic_float16_rd(
ident_t *id_ref,
int gtid,
1027void __kmpc_atomic_cmplx4_rd(kmp_cmplx32 *out,
ident_t *id_ref,
int gtid,
1030kmp_cmplx32 __kmpc_atomic_cmplx4_rd(
ident_t *id_ref,
int gtid,
1033kmp_cmplx64 __kmpc_atomic_cmplx8_rd(
ident_t *id_ref,
int gtid,
1035kmp_cmplx80 __kmpc_atomic_cmplx10_rd(
ident_t *id_ref,
int gtid,
1038CPLX128_LEG __kmpc_atomic_cmplx16_rd(
ident_t *id_ref,
int gtid,
1042Quad_a16_t __kmpc_atomic_float16_a16_rd(
ident_t *id_ref,
int gtid,
1044kmp_cmplx128_a16_t __kmpc_atomic_cmplx16_a16_rd(
ident_t *id_ref,
int gtid,
1045 kmp_cmplx128_a16_t *loc);
1050void __kmpc_atomic_fixed1_wr(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
1051void __kmpc_atomic_fixed2_wr(
ident_t *id_ref,
int gtid,
short *lhs,
short rhs);
1052void __kmpc_atomic_fixed4_wr(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
1054void __kmpc_atomic_fixed8_wr(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
1056void __kmpc_atomic_float4_wr(
ident_t *id_ref,
int gtid, kmp_real32 *lhs,
1058void __kmpc_atomic_float8_wr(
ident_t *id_ref,
int gtid, kmp_real64 *lhs,
1060void __kmpc_atomic_float10_wr(
ident_t *id_ref,
int gtid,
long double *lhs,
1063void __kmpc_atomic_float16_wr(
ident_t *id_ref,
int gtid, QUAD_LEGACY *lhs,
1066void __kmpc_atomic_cmplx4_wr(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
1068void __kmpc_atomic_cmplx8_wr(
ident_t *id_ref,
int gtid, kmp_cmplx64 *lhs,
1070void __kmpc_atomic_cmplx10_wr(
ident_t *id_ref,
int gtid, kmp_cmplx80 *lhs,
1073void __kmpc_atomic_cmplx16_wr(
ident_t *id_ref,
int gtid, CPLX128_LEG *lhs,
1077void __kmpc_atomic_float16_a16_wr(
ident_t *id_ref,
int gtid, Quad_a16_t *lhs,
1079void __kmpc_atomic_cmplx16_a16_wr(
ident_t *id_ref,
int gtid,
1080 kmp_cmplx128_a16_t *lhs,
1081 kmp_cmplx128_a16_t rhs);
1088char __kmpc_atomic_fixed1_add_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1089 char rhs,
int flag);
1090char __kmpc_atomic_fixed1_andb_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1091 char rhs,
int flag);
1092char __kmpc_atomic_fixed1_div_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1093 char rhs,
int flag);
1094unsigned char __kmpc_atomic_fixed1u_div_cpt(
ident_t *id_ref,
int gtid,
1096 unsigned char rhs,
int flag);
1097char __kmpc_atomic_fixed1_mul_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1098 char rhs,
int flag);
1099char __kmpc_atomic_fixed1_orb_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1100 char rhs,
int flag);
1101char __kmpc_atomic_fixed1_shl_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1102 char rhs,
int flag);
1103char __kmpc_atomic_fixed1_shr_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1104 char rhs,
int flag);
1105unsigned char __kmpc_atomic_fixed1u_shr_cpt(
ident_t *id_ref,
int gtid,
1107 unsigned char rhs,
int flag);
1108char __kmpc_atomic_fixed1_sub_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1109 char rhs,
int flag);
1110char __kmpc_atomic_fixed1_xor_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1111 char rhs,
int flag);
1113short __kmpc_atomic_fixed2_add_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1114 short rhs,
int flag);
1115short __kmpc_atomic_fixed2_andb_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1116 short rhs,
int flag);
1117short __kmpc_atomic_fixed2_div_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1118 short rhs,
int flag);
1119unsigned short __kmpc_atomic_fixed2u_div_cpt(
ident_t *id_ref,
int gtid,
1120 unsigned short *lhs,
1121 unsigned short rhs,
int flag);
1122short __kmpc_atomic_fixed2_mul_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1123 short rhs,
int flag);
1124short __kmpc_atomic_fixed2_orb_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1125 short rhs,
int flag);
1126short __kmpc_atomic_fixed2_shl_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1127 short rhs,
int flag);
1128short __kmpc_atomic_fixed2_shr_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1129 short rhs,
int flag);
1130unsigned short __kmpc_atomic_fixed2u_shr_cpt(
ident_t *id_ref,
int gtid,
1131 unsigned short *lhs,
1132 unsigned short rhs,
int flag);
1133short __kmpc_atomic_fixed2_sub_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1134 short rhs,
int flag);
1135short __kmpc_atomic_fixed2_xor_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1136 short rhs,
int flag);
1138kmp_int32 __kmpc_atomic_fixed4_add_cpt(
ident_t *id_ref,
int gtid,
1139 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1140kmp_int32 __kmpc_atomic_fixed4_sub_cpt(
ident_t *id_ref,
int gtid,
1141 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1143kmp_real32 __kmpc_atomic_float4_add_cpt(
ident_t *id_ref,
int gtid,
1144 kmp_real32 *lhs, kmp_real32 rhs,
1146kmp_real32 __kmpc_atomic_float4_sub_cpt(
ident_t *id_ref,
int gtid,
1147 kmp_real32 *lhs, kmp_real32 rhs,
1150kmp_int64 __kmpc_atomic_fixed8_add_cpt(
ident_t *id_ref,
int gtid,
1151 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1152kmp_int64 __kmpc_atomic_fixed8_sub_cpt(
ident_t *id_ref,
int gtid,
1153 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1155kmp_real64 __kmpc_atomic_float8_add_cpt(
ident_t *id_ref,
int gtid,
1156 kmp_real64 *lhs, kmp_real64 rhs,
1158kmp_real64 __kmpc_atomic_float8_sub_cpt(
ident_t *id_ref,
int gtid,
1159 kmp_real64 *lhs, kmp_real64 rhs,
1162kmp_int32 __kmpc_atomic_fixed4_andb_cpt(
ident_t *id_ref,
int gtid,
1163 kmp_int32 *lhs, kmp_int32 rhs,
1165kmp_int32 __kmpc_atomic_fixed4_div_cpt(
ident_t *id_ref,
int gtid,
1166 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1167kmp_uint32 __kmpc_atomic_fixed4u_div_cpt(
ident_t *id_ref,
int gtid,
1168 kmp_uint32 *lhs, kmp_uint32 rhs,
1170kmp_int32 __kmpc_atomic_fixed4_mul_cpt(
ident_t *id_ref,
int gtid,
1171 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1172kmp_int32 __kmpc_atomic_fixed4_orb_cpt(
ident_t *id_ref,
int gtid,
1173 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1174kmp_int32 __kmpc_atomic_fixed4_shl_cpt(
ident_t *id_ref,
int gtid,
1175 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1176kmp_int32 __kmpc_atomic_fixed4_shr_cpt(
ident_t *id_ref,
int gtid,
1177 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1178kmp_uint32 __kmpc_atomic_fixed4u_shr_cpt(
ident_t *id_ref,
int gtid,
1179 kmp_uint32 *lhs, kmp_uint32 rhs,
1181kmp_int32 __kmpc_atomic_fixed4_xor_cpt(
ident_t *id_ref,
int gtid,
1182 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1184kmp_int64 __kmpc_atomic_fixed8_andb_cpt(
ident_t *id_ref,
int gtid,
1185 kmp_int64 *lhs, kmp_int64 rhs,
1187kmp_int64 __kmpc_atomic_fixed8_div_cpt(
ident_t *id_ref,
int gtid,
1188 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1189kmp_uint64 __kmpc_atomic_fixed8u_div_cpt(
ident_t *id_ref,
int gtid,
1190 kmp_uint64 *lhs, kmp_uint64 rhs,
1192kmp_int64 __kmpc_atomic_fixed8_mul_cpt(
ident_t *id_ref,
int gtid,
1193 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1194kmp_int64 __kmpc_atomic_fixed8_orb_cpt(
ident_t *id_ref,
int gtid,
1195 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1196kmp_int64 __kmpc_atomic_fixed8_shl_cpt(
ident_t *id_ref,
int gtid,
1197 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1198kmp_int64 __kmpc_atomic_fixed8_shr_cpt(
ident_t *id_ref,
int gtid,
1199 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1200kmp_uint64 __kmpc_atomic_fixed8u_shr_cpt(
ident_t *id_ref,
int gtid,
1201 kmp_uint64 *lhs, kmp_uint64 rhs,
1203kmp_int64 __kmpc_atomic_fixed8_xor_cpt(
ident_t *id_ref,
int gtid,
1204 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1206kmp_real32 __kmpc_atomic_float4_div_cpt(
ident_t *id_ref,
int gtid,
1207 kmp_real32 *lhs, kmp_real32 rhs,
1209kmp_real32 __kmpc_atomic_float4_mul_cpt(
ident_t *id_ref,
int gtid,
1210 kmp_real32 *lhs, kmp_real32 rhs,
1213kmp_real64 __kmpc_atomic_float8_div_cpt(
ident_t *id_ref,
int gtid,
1214 kmp_real64 *lhs, kmp_real64 rhs,
1216kmp_real64 __kmpc_atomic_float8_mul_cpt(
ident_t *id_ref,
int gtid,
1217 kmp_real64 *lhs, kmp_real64 rhs,
1220char __kmpc_atomic_fixed1_andl_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1221 char rhs,
int flag);
1222char __kmpc_atomic_fixed1_orl_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1223 char rhs,
int flag);
1224short __kmpc_atomic_fixed2_andl_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1225 short rhs,
int flag);
1226short __kmpc_atomic_fixed2_orl_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1227 short rhs,
int flag);
1228kmp_int32 __kmpc_atomic_fixed4_andl_cpt(
ident_t *id_ref,
int gtid,
1229 kmp_int32 *lhs, kmp_int32 rhs,
1231kmp_int32 __kmpc_atomic_fixed4_orl_cpt(
ident_t *id_ref,
int gtid,
1232 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1233kmp_int64 __kmpc_atomic_fixed8_andl_cpt(
ident_t *id_ref,
int gtid,
1234 kmp_int64 *lhs, kmp_int64 rhs,
1236kmp_int64 __kmpc_atomic_fixed8_orl_cpt(
ident_t *id_ref,
int gtid,
1237 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1239char __kmpc_atomic_fixed1_max_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1240 char rhs,
int flag);
1241char __kmpc_atomic_fixed1_min_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1242 char rhs,
int flag);
1243short __kmpc_atomic_fixed2_max_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1244 short rhs,
int flag);
1245short __kmpc_atomic_fixed2_min_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1246 short rhs,
int flag);
1247kmp_int32 __kmpc_atomic_fixed4_max_cpt(
ident_t *id_ref,
int gtid,
1248 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1249kmp_int32 __kmpc_atomic_fixed4_min_cpt(
ident_t *id_ref,
int gtid,
1250 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1251kmp_int64 __kmpc_atomic_fixed8_max_cpt(
ident_t *id_ref,
int gtid,
1252 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1253kmp_int64 __kmpc_atomic_fixed8_min_cpt(
ident_t *id_ref,
int gtid,
1254 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1255kmp_real32 __kmpc_atomic_float4_max_cpt(
ident_t *id_ref,
int gtid,
1256 kmp_real32 *lhs, kmp_real32 rhs,
1258kmp_real32 __kmpc_atomic_float4_min_cpt(
ident_t *id_ref,
int gtid,
1259 kmp_real32 *lhs, kmp_real32 rhs,
1261kmp_real64 __kmpc_atomic_float8_max_cpt(
ident_t *id_ref,
int gtid,
1262 kmp_real64 *lhs, kmp_real64 rhs,
1264kmp_real64 __kmpc_atomic_float8_min_cpt(
ident_t *id_ref,
int gtid,
1265 kmp_real64 *lhs, kmp_real64 rhs,
1267long double __kmpc_atomic_float10_max_cpt(
ident_t *id_ref,
int gtid,
1268 long double *lhs,
long double rhs,
1270long double __kmpc_atomic_float10_min_cpt(
ident_t *id_ref,
int gtid,
1271 long double *lhs,
long double rhs,
1274QUAD_LEGACY __kmpc_atomic_float16_max_cpt(
ident_t *id_ref,
int gtid,
1275 QUAD_LEGACY *lhs, QUAD_LEGACY rhs,
1277QUAD_LEGACY __kmpc_atomic_float16_min_cpt(
ident_t *id_ref,
int gtid,
1278 QUAD_LEGACY *lhs, QUAD_LEGACY rhs,
1282char __kmpc_atomic_fixed1_neqv_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1283 char rhs,
int flag);
1284short __kmpc_atomic_fixed2_neqv_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1285 short rhs,
int flag);
1286kmp_int32 __kmpc_atomic_fixed4_neqv_cpt(
ident_t *id_ref,
int gtid,
1287 kmp_int32 *lhs, kmp_int32 rhs,
1289kmp_int64 __kmpc_atomic_fixed8_neqv_cpt(
ident_t *id_ref,
int gtid,
1290 kmp_int64 *lhs, kmp_int64 rhs,
1293char __kmpc_atomic_fixed1_eqv_cpt(
ident_t *id_ref,
int gtid,
char *lhs,
1294 char rhs,
int flag);
1295short __kmpc_atomic_fixed2_eqv_cpt(
ident_t *id_ref,
int gtid,
short *lhs,
1296 short rhs,
int flag);
1297kmp_int32 __kmpc_atomic_fixed4_eqv_cpt(
ident_t *id_ref,
int gtid,
1298 kmp_int32 *lhs, kmp_int32 rhs,
int flag);
1299kmp_int64 __kmpc_atomic_fixed8_eqv_cpt(
ident_t *id_ref,
int gtid,
1300 kmp_int64 *lhs, kmp_int64 rhs,
int flag);
1302long double __kmpc_atomic_float10_add_cpt(
ident_t *id_ref,
int gtid,
1303 long double *lhs,
long double rhs,
1305long double __kmpc_atomic_float10_sub_cpt(
ident_t *id_ref,
int gtid,
1306 long double *lhs,
long double rhs,
1308long double __kmpc_atomic_float10_mul_cpt(
ident_t *id_ref,
int gtid,
1309 long double *lhs,
long double rhs,
1311long double __kmpc_atomic_float10_div_cpt(
ident_t *id_ref,
int gtid,
1312 long double *lhs,
long double rhs,
1316QUAD_LEGACY __kmpc_atomic_float16_add_cpt(
ident_t *id_ref,
int gtid,
1317 QUAD_LEGACY *lhs, QUAD_LEGACY rhs,
1319QUAD_LEGACY __kmpc_atomic_float16_sub_cpt(
ident_t *id_ref,
int gtid,
1320 QUAD_LEGACY *lhs, QUAD_LEGACY rhs,
1322QUAD_LEGACY __kmpc_atomic_float16_mul_cpt(
ident_t *id_ref,
int gtid,
1323 QUAD_LEGACY *lhs, QUAD_LEGACY rhs,
1325QUAD_LEGACY __kmpc_atomic_float16_div_cpt(
ident_t *id_ref,
int gtid,
1326 QUAD_LEGACY *lhs, QUAD_LEGACY rhs,
1332void __kmpc_atomic_cmplx4_add_cpt(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
1333 kmp_cmplx32 rhs, kmp_cmplx32 *out,
int flag);
1334void __kmpc_atomic_cmplx4_sub_cpt(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
1335 kmp_cmplx32 rhs, kmp_cmplx32 *out,
int flag);
1336void __kmpc_atomic_cmplx4_mul_cpt(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
1337 kmp_cmplx32 rhs, kmp_cmplx32 *out,
int flag);
1338void __kmpc_atomic_cmplx4_div_cpt(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
1339 kmp_cmplx32 rhs, kmp_cmplx32 *out,
int flag);
1341kmp_cmplx64 __kmpc_atomic_cmplx8_add_cpt(
ident_t *id_ref,
int gtid,
1342 kmp_cmplx64 *lhs, kmp_cmplx64 rhs,
1344kmp_cmplx64 __kmpc_atomic_cmplx8_sub_cpt(
ident_t *id_ref,
int gtid,
1345 kmp_cmplx64 *lhs, kmp_cmplx64 rhs,
1347kmp_cmplx64 __kmpc_atomic_cmplx8_mul_cpt(
ident_t *id_ref,
int gtid,
1348 kmp_cmplx64 *lhs, kmp_cmplx64 rhs,
1350kmp_cmplx64 __kmpc_atomic_cmplx8_div_cpt(
ident_t *id_ref,
int gtid,
1351 kmp_cmplx64 *lhs, kmp_cmplx64 rhs,
1353kmp_cmplx80 __kmpc_atomic_cmplx10_add_cpt(
ident_t *id_ref,
int gtid,
1354 kmp_cmplx80 *lhs, kmp_cmplx80 rhs,
1356kmp_cmplx80 __kmpc_atomic_cmplx10_sub_cpt(
ident_t *id_ref,
int gtid,
1357 kmp_cmplx80 *lhs, kmp_cmplx80 rhs,
1359kmp_cmplx80 __kmpc_atomic_cmplx10_mul_cpt(
ident_t *id_ref,
int gtid,
1360 kmp_cmplx80 *lhs, kmp_cmplx80 rhs,
1362kmp_cmplx80 __kmpc_atomic_cmplx10_div_cpt(
ident_t *id_ref,
int gtid,
1363 kmp_cmplx80 *lhs, kmp_cmplx80 rhs,
1366CPLX128_LEG __kmpc_atomic_cmplx16_add_cpt(
ident_t *id_ref,
int gtid,
1367 CPLX128_LEG *lhs, CPLX128_LEG rhs,
1369CPLX128_LEG __kmpc_atomic_cmplx16_sub_cpt(
ident_t *id_ref,
int gtid,
1370 CPLX128_LEG *lhs, CPLX128_LEG rhs,
1372CPLX128_LEG __kmpc_atomic_cmplx16_mul_cpt(
ident_t *id_ref,
int gtid,
1373 CPLX128_LEG *lhs, CPLX128_LEG rhs,
1375CPLX128_LEG __kmpc_atomic_cmplx16_div_cpt(
ident_t *id_ref,
int gtid,
1376 CPLX128_LEG *lhs, CPLX128_LEG rhs,
1380Quad_a16_t __kmpc_atomic_float16_add_a16_cpt(
ident_t *id_ref,
int gtid,
1381 Quad_a16_t *lhs, Quad_a16_t rhs,
1383Quad_a16_t __kmpc_atomic_float16_sub_a16_cpt(
ident_t *id_ref,
int gtid,
1384 Quad_a16_t *lhs, Quad_a16_t rhs,
1386Quad_a16_t __kmpc_atomic_float16_mul_a16_cpt(
ident_t *id_ref,
int gtid,
1387 Quad_a16_t *lhs, Quad_a16_t rhs,
1389Quad_a16_t __kmpc_atomic_float16_div_a16_cpt(
ident_t *id_ref,
int gtid,
1390 Quad_a16_t *lhs, Quad_a16_t rhs,
1392Quad_a16_t __kmpc_atomic_float16_max_a16_cpt(
ident_t *id_ref,
int gtid,
1393 Quad_a16_t *lhs, Quad_a16_t rhs,
1395Quad_a16_t __kmpc_atomic_float16_min_a16_cpt(
ident_t *id_ref,
int gtid,
1396 Quad_a16_t *lhs, Quad_a16_t rhs,
1398kmp_cmplx128_a16_t __kmpc_atomic_cmplx16_add_a16_cpt(
ident_t *id_ref,
int gtid,
1399 kmp_cmplx128_a16_t *lhs,
1400 kmp_cmplx128_a16_t rhs,
1402kmp_cmplx128_a16_t __kmpc_atomic_cmplx16_sub_a16_cpt(
ident_t *id_ref,
int gtid,
1403 kmp_cmplx128_a16_t *lhs,
1404 kmp_cmplx128_a16_t rhs,
1406kmp_cmplx128_a16_t __kmpc_atomic_cmplx16_mul_a16_cpt(
ident_t *id_ref,
int gtid,
1407 kmp_cmplx128_a16_t *lhs,
1408 kmp_cmplx128_a16_t rhs,
1410kmp_cmplx128_a16_t __kmpc_atomic_cmplx16_div_a16_cpt(
ident_t *id_ref,
int gtid,
1411 kmp_cmplx128_a16_t *lhs,
1412 kmp_cmplx128_a16_t rhs,
1417void __kmpc_atomic_start(
void);
1418void __kmpc_atomic_end(
void);
1423char __kmpc_atomic_fixed1_sub_cpt_rev(
ident_t *id_ref,
int gtid,
char *lhs,
1424 char rhs,
int flag);
1425char __kmpc_atomic_fixed1_div_cpt_rev(
ident_t *id_ref,
int gtid,
char *lhs,
1426 char rhs,
int flag);
1427unsigned char __kmpc_atomic_fixed1u_div_cpt_rev(
ident_t *id_ref,
int gtid,
1429 unsigned char rhs,
int flag);
1430char __kmpc_atomic_fixed1_shl_cpt_rev(
ident_t *id_ref,
int gtid,
char *lhs,
1431 char rhs,
int flag);
1432char __kmpc_atomic_fixed1_shr_cpt_rev(
ident_t *id_ref,
int gtid,
char *lhs,
1433 char rhs,
int flag);
1434unsigned char __kmpc_atomic_fixed1u_shr_cpt_rev(
ident_t *id_ref,
int gtid,
1436 unsigned char rhs,
int flag);
1437short __kmpc_atomic_fixed2_sub_cpt_rev(
ident_t *id_ref,
int gtid,
short *lhs,
1438 short rhs,
int flag);
1439short __kmpc_atomic_fixed2_div_cpt_rev(
ident_t *id_ref,
int gtid,
short *lhs,
1440 short rhs,
int flag);
1441unsigned short __kmpc_atomic_fixed2u_div_cpt_rev(
ident_t *id_ref,
int gtid,
1442 unsigned short *lhs,
1443 unsigned short rhs,
int flag);
1444short __kmpc_atomic_fixed2_shl_cpt_rev(
ident_t *id_ref,
int gtid,
short *lhs,
1445 short rhs,
int flag);
1446short __kmpc_atomic_fixed2_shr_cpt_rev(
ident_t *id_ref,
int gtid,
short *lhs,
1447 short rhs,
int flag);
1448unsigned short __kmpc_atomic_fixed2u_shr_cpt_rev(
ident_t *id_ref,
int gtid,
1449 unsigned short *lhs,
1450 unsigned short rhs,
int flag);
1451kmp_int32 __kmpc_atomic_fixed4_sub_cpt_rev(
ident_t *id_ref,
int gtid,
1452 kmp_int32 *lhs, kmp_int32 rhs,
1454kmp_int32 __kmpc_atomic_fixed4_div_cpt_rev(
ident_t *id_ref,
int gtid,
1455 kmp_int32 *lhs, kmp_int32 rhs,
1457kmp_uint32 __kmpc_atomic_fixed4u_div_cpt_rev(
ident_t *id_ref,
int gtid,
1458 kmp_uint32 *lhs, kmp_uint32 rhs,
1460kmp_int32 __kmpc_atomic_fixed4_shl_cpt_rev(
ident_t *id_ref,
int gtid,
1461 kmp_int32 *lhs, kmp_int32 rhs,
1463kmp_int32 __kmpc_atomic_fixed4_shr_cpt_rev(
ident_t *id_ref,
int gtid,
1464 kmp_int32 *lhs, kmp_int32 rhs,
1466kmp_uint32 __kmpc_atomic_fixed4u_shr_cpt_rev(
ident_t *id_ref,
int gtid,
1467 kmp_uint32 *lhs, kmp_uint32 rhs,
1469kmp_int64 __kmpc_atomic_fixed8_sub_cpt_rev(
ident_t *id_ref,
int gtid,
1470 kmp_int64 *lhs, kmp_int64 rhs,
1472kmp_int64 __kmpc_atomic_fixed8_div_cpt_rev(
ident_t *id_ref,
int gtid,
1473 kmp_int64 *lhs, kmp_int64 rhs,
1475kmp_uint64 __kmpc_atomic_fixed8u_div_cpt_rev(
ident_t *id_ref,
int gtid,
1476 kmp_uint64 *lhs, kmp_uint64 rhs,
1478kmp_int64 __kmpc_atomic_fixed8_shl_cpt_rev(
ident_t *id_ref,
int gtid,
1479 kmp_int64 *lhs, kmp_int64 rhs,
1481kmp_int64 __kmpc_atomic_fixed8_shr_cpt_rev(
ident_t *id_ref,
int gtid,
1482 kmp_int64 *lhs, kmp_int64 rhs,
1484kmp_uint64 __kmpc_atomic_fixed8u_shr_cpt_rev(
ident_t *id_ref,
int gtid,
1485 kmp_uint64 *lhs, kmp_uint64 rhs,
1487float __kmpc_atomic_float4_sub_cpt_rev(
ident_t *id_ref,
int gtid,
float *lhs,
1488 float rhs,
int flag);
1489float __kmpc_atomic_float4_div_cpt_rev(
ident_t *id_ref,
int gtid,
float *lhs,
1490 float rhs,
int flag);
1491double __kmpc_atomic_float8_sub_cpt_rev(
ident_t *id_ref,
int gtid,
double *lhs,
1492 double rhs,
int flag);
1493double __kmpc_atomic_float8_div_cpt_rev(
ident_t *id_ref,
int gtid,
double *lhs,
1494 double rhs,
int flag);
1495long double __kmpc_atomic_float10_sub_cpt_rev(
ident_t *id_ref,
int gtid,
1496 long double *lhs,
long double rhs,
1498long double __kmpc_atomic_float10_div_cpt_rev(
ident_t *id_ref,
int gtid,
1499 long double *lhs,
long double rhs,
1502QUAD_LEGACY __kmpc_atomic_float16_sub_cpt_rev(
ident_t *id_ref,
int gtid,
1503 QUAD_LEGACY *lhs, QUAD_LEGACY rhs,
1505QUAD_LEGACY __kmpc_atomic_float16_div_cpt_rev(
ident_t *id_ref,
int gtid,
1506 QUAD_LEGACY *lhs, QUAD_LEGACY rhs,
1511void __kmpc_atomic_cmplx4_sub_cpt_rev(
ident_t *id_ref,
int gtid,
1512 kmp_cmplx32 *lhs, kmp_cmplx32 rhs,
1513 kmp_cmplx32 *out,
int flag);
1514void __kmpc_atomic_cmplx4_div_cpt_rev(
ident_t *id_ref,
int gtid,
1515 kmp_cmplx32 *lhs, kmp_cmplx32 rhs,
1516 kmp_cmplx32 *out,
int flag);
1517kmp_cmplx64 __kmpc_atomic_cmplx8_sub_cpt_rev(
ident_t *id_ref,
int gtid,
1518 kmp_cmplx64 *lhs, kmp_cmplx64 rhs,
1520kmp_cmplx64 __kmpc_atomic_cmplx8_div_cpt_rev(
ident_t *id_ref,
int gtid,
1521 kmp_cmplx64 *lhs, kmp_cmplx64 rhs,
1523kmp_cmplx80 __kmpc_atomic_cmplx10_sub_cpt_rev(
ident_t *id_ref,
int gtid,
1524 kmp_cmplx80 *lhs, kmp_cmplx80 rhs,
1526kmp_cmplx80 __kmpc_atomic_cmplx10_div_cpt_rev(
ident_t *id_ref,
int gtid,
1527 kmp_cmplx80 *lhs, kmp_cmplx80 rhs,
1530CPLX128_LEG __kmpc_atomic_cmplx16_sub_cpt_rev(
ident_t *id_ref,
int gtid,
1531 CPLX128_LEG *lhs, CPLX128_LEG rhs,
1533CPLX128_LEG __kmpc_atomic_cmplx16_div_cpt_rev(
ident_t *id_ref,
int gtid,
1534 CPLX128_LEG *lhs, CPLX128_LEG rhs,
1537Quad_a16_t __kmpc_atomic_float16_sub_a16_cpt_rev(
ident_t *id_ref,
int gtid,
1539 Quad_a16_t rhs,
int flag);
1540Quad_a16_t __kmpc_atomic_float16_div_a16_cpt_rev(
ident_t *id_ref,
int gtid,
1542 Quad_a16_t rhs,
int flag);
1544__kmpc_atomic_cmplx16_sub_a16_cpt_rev(
ident_t *id_ref,
int gtid,
1545 kmp_cmplx128_a16_t *lhs,
1546 kmp_cmplx128_a16_t rhs,
int flag);
1548__kmpc_atomic_cmplx16_div_a16_cpt_rev(
ident_t *id_ref,
int gtid,
1549 kmp_cmplx128_a16_t *lhs,
1550 kmp_cmplx128_a16_t rhs,
int flag);
1555char __kmpc_atomic_fixed1_swp(
ident_t *id_ref,
int gtid,
char *lhs,
char rhs);
1556short __kmpc_atomic_fixed2_swp(
ident_t *id_ref,
int gtid,
short *lhs,
1558kmp_int32 __kmpc_atomic_fixed4_swp(
ident_t *id_ref,
int gtid, kmp_int32 *lhs,
1560kmp_int64 __kmpc_atomic_fixed8_swp(
ident_t *id_ref,
int gtid, kmp_int64 *lhs,
1562float __kmpc_atomic_float4_swp(
ident_t *id_ref,
int gtid,
float *lhs,
1564double __kmpc_atomic_float8_swp(
ident_t *id_ref,
int gtid,
double *lhs,
1566long double __kmpc_atomic_float10_swp(
ident_t *id_ref,
int gtid,
1567 long double *lhs,
long double rhs);
1569QUAD_LEGACY __kmpc_atomic_float16_swp(
ident_t *id_ref,
int gtid,
1570 QUAD_LEGACY *lhs, QUAD_LEGACY rhs);
1573void __kmpc_atomic_cmplx4_swp(
ident_t *id_ref,
int gtid, kmp_cmplx32 *lhs,
1574 kmp_cmplx32 rhs, kmp_cmplx32 *out);
1578kmp_cmplx64 __kmpc_atomic_cmplx8_swp(
ident_t *id_ref,
int gtid,
1579 kmp_cmplx64 *lhs, kmp_cmplx64 rhs);
1580kmp_cmplx80 __kmpc_atomic_cmplx10_swp(
ident_t *id_ref,
int gtid,
1581 kmp_cmplx80 *lhs, kmp_cmplx80 rhs);
1583CPLX128_LEG __kmpc_atomic_cmplx16_swp(
ident_t *id_ref,
int gtid,
1584 CPLX128_LEG *lhs, CPLX128_LEG rhs);
1586Quad_a16_t __kmpc_atomic_float16_a16_swp(
ident_t *id_ref,
int gtid,
1587 Quad_a16_t *lhs, Quad_a16_t rhs);
1588kmp_cmplx128_a16_t __kmpc_atomic_cmplx16_a16_swp(
ident_t *id_ref,
int gtid,
1589 kmp_cmplx128_a16_t *lhs,
1590 kmp_cmplx128_a16_t rhs);
1597char __kmpc_atomic_fixed1_add_cpt_fp(
ident_t *id_ref,
int gtid,
char *lhs,
1598 _Quad rhs,
int flag);
1599char __kmpc_atomic_fixed1_sub_cpt_fp(
ident_t *id_ref,
int gtid,
char *lhs,
1600 _Quad rhs,
int flag);
1601char __kmpc_atomic_fixed1_mul_cpt_fp(
ident_t *id_ref,
int gtid,
char *lhs,
1602 _Quad rhs,
int flag);
1603char __kmpc_atomic_fixed1_div_cpt_fp(
ident_t *id_ref,
int gtid,
char *lhs,
1604 _Quad rhs,
int flag);
1605unsigned char __kmpc_atomic_fixed1u_add_cpt_fp(
ident_t *id_ref,
int gtid,
1606 unsigned char *lhs, _Quad rhs,
1608unsigned char __kmpc_atomic_fixed1u_sub_cpt_fp(
ident_t *id_ref,
int gtid,
1609 unsigned char *lhs, _Quad rhs,
1611unsigned char __kmpc_atomic_fixed1u_mul_cpt_fp(
ident_t *id_ref,
int gtid,
1612 unsigned char *lhs, _Quad rhs,
1614unsigned char __kmpc_atomic_fixed1u_div_cpt_fp(
ident_t *id_ref,
int gtid,
1615 unsigned char *lhs, _Quad rhs,
1618short __kmpc_atomic_fixed2_add_cpt_fp(
ident_t *id_ref,
int gtid,
short *lhs,
1619 _Quad rhs,
int flag);
1620short __kmpc_atomic_fixed2_sub_cpt_fp(
ident_t *id_ref,
int gtid,
short *lhs,
1621 _Quad rhs,
int flag);
1622short __kmpc_atomic_fixed2_mul_cpt_fp(
ident_t *id_ref,
int gtid,
short *lhs,
1623 _Quad rhs,
int flag);
1624short __kmpc_atomic_fixed2_div_cpt_fp(
ident_t *id_ref,
int gtid,
short *lhs,
1625 _Quad rhs,
int flag);
1626unsigned short __kmpc_atomic_fixed2u_add_cpt_fp(
ident_t *id_ref,
int gtid,
1627 unsigned short *lhs, _Quad rhs,
1629unsigned short __kmpc_atomic_fixed2u_sub_cpt_fp(
ident_t *id_ref,
int gtid,
1630 unsigned short *lhs, _Quad rhs,
1632unsigned short __kmpc_atomic_fixed2u_mul_cpt_fp(
ident_t *id_ref,
int gtid,
1633 unsigned short *lhs, _Quad rhs,
1635unsigned short __kmpc_atomic_fixed2u_div_cpt_fp(
ident_t *id_ref,
int gtid,
1636 unsigned short *lhs, _Quad rhs,
1639kmp_int32 __kmpc_atomic_fixed4_add_cpt_fp(
ident_t *id_ref,
int gtid,
1640 kmp_int32 *lhs, _Quad rhs,
int flag);
1641kmp_int32 __kmpc_atomic_fixed4_sub_cpt_fp(
ident_t *id_ref,
int gtid,
1642 kmp_int32 *lhs, _Quad rhs,
int flag);
1643kmp_int32 __kmpc_atomic_fixed4_mul_cpt_fp(
ident_t *id_ref,
int gtid,
1644 kmp_int32 *lhs, _Quad rhs,
int flag);
1645kmp_int32 __kmpc_atomic_fixed4_div_cpt_fp(
ident_t *id_ref,
int gtid,
1646 kmp_int32 *lhs, _Quad rhs,
int flag);
1647kmp_uint32 __kmpc_atomic_fixed4u_add_cpt_fp(
ident_t *id_ref,
int gtid,
1648 kmp_uint32 *lhs, _Quad rhs,
1650kmp_uint32 __kmpc_atomic_fixed4u_sub_cpt_fp(
ident_t *id_ref,
int gtid,
1651 kmp_uint32 *lhs, _Quad rhs,
1653kmp_uint32 __kmpc_atomic_fixed4u_mul_cpt_fp(
ident_t *id_ref,
int gtid,
1654 kmp_uint32 *lhs, _Quad rhs,
1656kmp_uint32 __kmpc_atomic_fixed4u_div_cpt_fp(
ident_t *id_ref,
int gtid,
1657 kmp_uint32 *lhs, _Quad rhs,
1660kmp_int64 __kmpc_atomic_fixed8_add_cpt_fp(
ident_t *id_ref,
int gtid,
1661 kmp_int64 *lhs, _Quad rhs,
int flag);
1662kmp_int64 __kmpc_atomic_fixed8_sub_cpt_fp(
ident_t *id_ref,
int gtid,
1663 kmp_int64 *lhs, _Quad rhs,
int flag);
1664kmp_int64 __kmpc_atomic_fixed8_mul_cpt_fp(
ident_t *id_ref,
int gtid,
1665 kmp_int64 *lhs, _Quad rhs,
int flag);
1666kmp_int64 __kmpc_atomic_fixed8_div_cpt_fp(
ident_t *id_ref,
int gtid,
1667 kmp_int64 *lhs, _Quad rhs,
int flag);
1668kmp_uint64 __kmpc_atomic_fixed8u_add_cpt_fp(
ident_t *id_ref,
int gtid,
1669 kmp_uint64 *lhs, _Quad rhs,
1671kmp_uint64 __kmpc_atomic_fixed8u_sub_cpt_fp(
ident_t *id_ref,
int gtid,
1672 kmp_uint64 *lhs, _Quad rhs,
1674kmp_uint64 __kmpc_atomic_fixed8u_mul_cpt_fp(
ident_t *id_ref,
int gtid,
1675 kmp_uint64 *lhs, _Quad rhs,
1677kmp_uint64 __kmpc_atomic_fixed8u_div_cpt_fp(
ident_t *id_ref,
int gtid,
1678 kmp_uint64 *lhs, _Quad rhs,
1681float __kmpc_atomic_float4_add_cpt_fp(
ident_t *id_ref,
int gtid,
1682 kmp_real32 *lhs, _Quad rhs,
int flag);
1683float __kmpc_atomic_float4_sub_cpt_fp(
ident_t *id_ref,
int gtid,
1684 kmp_real32 *lhs, _Quad rhs,
int flag);
1685float __kmpc_atomic_float4_mul_cpt_fp(
ident_t *id_ref,
int gtid,
1686 kmp_real32 *lhs, _Quad rhs,
int flag);
1687float __kmpc_atomic_float4_div_cpt_fp(
ident_t *id_ref,
int gtid,
1688 kmp_real32 *lhs, _Quad rhs,
int flag);
1690double __kmpc_atomic_float8_add_cpt_fp(
ident_t *id_ref,
int gtid,
1691 kmp_real64 *lhs, _Quad rhs,
int flag);
1692double __kmpc_atomic_float8_sub_cpt_fp(
ident_t *id_ref,
int gtid,
1693 kmp_real64 *lhs, _Quad rhs,
int flag);
1694double __kmpc_atomic_float8_mul_cpt_fp(
ident_t *id_ref,
int gtid,
1695 kmp_real64 *lhs, _Quad rhs,
int flag);
1696double __kmpc_atomic_float8_div_cpt_fp(
ident_t *id_ref,
int gtid,
1697 kmp_real64 *lhs, _Quad rhs,
int flag);
1699long double __kmpc_atomic_float10_add_cpt_fp(
ident_t *id_ref,
int gtid,
1700 long double *lhs, _Quad rhs,
1702long double __kmpc_atomic_float10_sub_cpt_fp(
ident_t *id_ref,
int gtid,
1703 long double *lhs, _Quad rhs,
1705long double __kmpc_atomic_float10_mul_cpt_fp(
ident_t *id_ref,
int gtid,
1706 long double *lhs, _Quad rhs,
1708long double __kmpc_atomic_float10_div_cpt_fp(
ident_t *id_ref,
int gtid,
1709 long double *lhs, _Quad rhs,
1712char __kmpc_atomic_fixed1_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
char *lhs,
1713 _Quad rhs,
int flag);
1714unsigned char __kmpc_atomic_fixed1u_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1716 _Quad rhs,
int flag);
1717char __kmpc_atomic_fixed1_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
char *lhs,
1718 _Quad rhs,
int flag);
1719unsigned char __kmpc_atomic_fixed1u_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1721 _Quad rhs,
int flag);
1722short __kmpc_atomic_fixed2_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
short *lhs,
1723 _Quad rhs,
int flag);
1724unsigned short __kmpc_atomic_fixed2u_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1725 unsigned short *lhs,
1726 _Quad rhs,
int flag);
1727short __kmpc_atomic_fixed2_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
short *lhs,
1728 _Quad rhs,
int flag);
1729unsigned short __kmpc_atomic_fixed2u_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1730 unsigned short *lhs,
1731 _Quad rhs,
int flag);
1732kmp_int32 __kmpc_atomic_fixed4_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1733 kmp_int32 *lhs, _Quad rhs,
1735kmp_uint32 __kmpc_atomic_fixed4u_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1736 kmp_uint32 *lhs, _Quad rhs,
1738kmp_int32 __kmpc_atomic_fixed4_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1739 kmp_int32 *lhs, _Quad rhs,
1741kmp_uint32 __kmpc_atomic_fixed4u_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1742 kmp_uint32 *lhs, _Quad rhs,
1744kmp_int64 __kmpc_atomic_fixed8_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1745 kmp_int64 *lhs, _Quad rhs,
1747kmp_uint64 __kmpc_atomic_fixed8u_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1748 kmp_uint64 *lhs, _Quad rhs,
1750kmp_int64 __kmpc_atomic_fixed8_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1751 kmp_int64 *lhs, _Quad rhs,
1753kmp_uint64 __kmpc_atomic_fixed8u_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1754 kmp_uint64 *lhs, _Quad rhs,
1756float __kmpc_atomic_float4_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
float *lhs,
1757 _Quad rhs,
int flag);
1758float __kmpc_atomic_float4_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
float *lhs,
1759 _Quad rhs,
int flag);
1760double __kmpc_atomic_float8_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1761 double *lhs, _Quad rhs,
int flag);
1762double __kmpc_atomic_float8_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1763 double *lhs, _Quad rhs,
int flag);
1764long double __kmpc_atomic_float10_sub_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1765 long double *lhs, _Quad rhs,
1767long double __kmpc_atomic_float10_div_cpt_rev_fp(
ident_t *id_ref,
int gtid,
1768 long double *lhs, _Quad rhs,
1803bool __kmpc_atomic_bool_1_cas(
ident_t *loc,
int gtid,
char *x,
char e,
char d);
1804bool __kmpc_atomic_bool_2_cas(
ident_t *loc,
int gtid,
short *x,
short e,
1806bool __kmpc_atomic_bool_4_cas(
ident_t *loc,
int gtid, kmp_int32 *x, kmp_int32 e,
1808bool __kmpc_atomic_bool_8_cas(
ident_t *loc,
int gtid, kmp_int64 *x, kmp_int64 e,
1813char __kmpc_atomic_val_1_cas(
ident_t *loc,
int gtid,
char *x,
char e,
char d);
1814short __kmpc_atomic_val_2_cas(
ident_t *loc,
int gtid,
short *x,
short e,
1816kmp_int32 __kmpc_atomic_val_4_cas(
ident_t *loc,
int gtid, kmp_int32 *x,
1817 kmp_int32 e, kmp_int32 d);
1818kmp_int64 __kmpc_atomic_val_8_cas(
ident_t *loc,
int gtid, kmp_int64 *x,
1819 kmp_int64 e, kmp_int64 d);
1824bool __kmpc_atomic_bool_1_cas_cpt(
ident_t *loc,
int gtid,
char *x,
char e,
1826bool __kmpc_atomic_bool_2_cas_cpt(
ident_t *loc,
int gtid,
short *x,
short e,
1827 short d,
short *pv);
1828bool __kmpc_atomic_bool_4_cas_cpt(
ident_t *loc,
int gtid, kmp_int32 *x,
1829 kmp_int32 e, kmp_int32 d, kmp_int32 *pv);
1830bool __kmpc_atomic_bool_8_cas_cpt(
ident_t *loc,
int gtid, kmp_int64 *x,
1831 kmp_int64 e, kmp_int64 d, kmp_int64 *pv);
1836char __kmpc_atomic_val_1_cas_cpt(
ident_t *loc,
int gtid,
char *x,
char e,
1838short __kmpc_atomic_val_2_cas_cpt(
ident_t *loc,
int gtid,
short *x,
short e,
1839 short d,
short *pv);
1840kmp_int32 __kmpc_atomic_val_4_cas_cpt(
ident_t *loc,
int gtid, kmp_int32 *x,
1841 kmp_int32 e, kmp_int32 d, kmp_int32 *pv);
1842kmp_int64 __kmpc_atomic_val_8_cas_cpt(
ident_t *loc,
int gtid, kmp_int64 *x,
1843 kmp_int64 e, kmp_int64 d, kmp_int64 *pv);