[Openmp-commits] [PATCH] D30408: Mixed type atomic routines are missed from DLL (Windows)

Olga Malysheva via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Feb 27 07:44:13 PST 2017


omalyshe created this revision.

Atomic routines for reverse subtraction update for mixed types were missed from DLL on Windows.


Repository:
  rL LLVM

https://reviews.llvm.org/D30408

Files:
  runtime/src/dllexports
  runtime/src/kmp_atomic.h


Index: runtime/src/kmp_atomic.h
===================================================================
--- runtime/src/kmp_atomic.h
+++ runtime/src/kmp_atomic.h
@@ -729,15 +729,19 @@
 
 // Reverse operations
 void __kmpc_atomic_fixed1_sub_rev_fp(  ident_t *id_ref, int gtid, char * lhs, _Quad rhs );
+void __kmpc_atomic_fixed1u_sub_rev_fp( ident_t *id_ref, int gtid, unsigned char * lhs, _Quad rhs );
 void __kmpc_atomic_fixed1_div_rev_fp(  ident_t *id_ref, int gtid, char * lhs, _Quad rhs );
 void __kmpc_atomic_fixed1u_div_rev_fp( ident_t *id_ref, int gtid, unsigned char * lhs, _Quad rhs );
 void __kmpc_atomic_fixed2_sub_rev_fp(  ident_t *id_ref, int gtid, short * lhs, _Quad rhs );
+void __kmpc_atomic_fixed2u_sub_rev_fp( ident_t *id_ref, int gtid, unsigned short * lhs, _Quad rhs );
 void __kmpc_atomic_fixed2_div_rev_fp(  ident_t *id_ref, int gtid, short * lhs, _Quad rhs );
 void __kmpc_atomic_fixed2u_div_rev_fp( ident_t *id_ref, int gtid, unsigned short * lhs, _Quad rhs );
 void __kmpc_atomic_fixed4_sub_rev_fp(  ident_t *id_ref, int gtid, kmp_int32 * lhs, _Quad rhs );
+void __kmpc_atomic_fixed4u_sub_rev_fp( ident_t *id_ref, int gtid, kmp_uint32 * lhs, _Quad rhs );
 void __kmpc_atomic_fixed4_div_rev_fp(  ident_t *id_ref, int gtid, kmp_int32 * lhs, _Quad rhs );
 void __kmpc_atomic_fixed4u_div_rev_fp( ident_t *id_ref, int gtid, kmp_uint32 * lhs, _Quad rhs );
 void __kmpc_atomic_fixed8_sub_rev_fp(  ident_t *id_ref, int gtid, kmp_int64 * lhs, _Quad rhs );
+void __kmpc_atomic_fixed8u_sub_rev_fp( ident_t *id_ref, int gtid, kmp_uint64 * lhs, _Quad rhs );
 void __kmpc_atomic_fixed8_div_rev_fp(  ident_t *id_ref, int gtid, kmp_int64 * lhs, _Quad rhs );
 void __kmpc_atomic_fixed8u_div_rev_fp( ident_t *id_ref, int gtid, kmp_uint64 * lhs, _Quad rhs );
 void __kmpc_atomic_float4_sub_rev_fp(  ident_t *id_ref, int gtid, float * lhs, _Quad rhs );
Index: runtime/src/dllexports
===================================================================
--- runtime/src/dllexports
+++ runtime/src/dllexports
@@ -1117,15 +1117,19 @@
 
             %ifdef HAVE_QUAD
             __kmpc_atomic_fixed1_sub_rev_fp
+            __kmpc_atomic_fixed1u_sub_rev_fp
             __kmpc_atomic_fixed1_div_rev_fp
             __kmpc_atomic_fixed1u_div_rev_fp
             __kmpc_atomic_fixed2_sub_rev_fp
+            __kmpc_atomic_fixed2u_sub_rev_fp
             __kmpc_atomic_fixed2_div_rev_fp
             __kmpc_atomic_fixed2u_div_rev_fp
             __kmpc_atomic_fixed4_sub_rev_fp
+            __kmpc_atomic_fixed4u_sub_rev_fp
             __kmpc_atomic_fixed4_div_rev_fp
             __kmpc_atomic_fixed4u_div_rev_fp
             __kmpc_atomic_fixed8_sub_rev_fp
+            __kmpc_atomic_fixed8u_sub_rev_fp
             __kmpc_atomic_fixed8_div_rev_fp
             __kmpc_atomic_fixed8u_div_rev_fp
             __kmpc_atomic_float4_sub_rev_fp


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30408.89882.patch
Type: text/x-patch
Size: 2835 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20170227/c91b67ca/attachment.bin>


More information about the Openmp-commits mailing list