[Openmp-commits] [openmp] r297082 - Mixed type atomic routines added to Windows DLL

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Mon Mar 6 13:46:37 PST 2017


Author: jlpeyton
Date: Mon Mar  6 15:46:36 2017
New Revision: 297082

URL: http://llvm.org/viewvc/llvm-project?rev=297082&view=rev
Log:
Mixed type atomic routines added to Windows DLL

Patch by Olga Malysheva

Differential Revision: https://reviews.llvm.org/D30408

Modified:
    openmp/trunk/runtime/src/dllexports
    openmp/trunk/runtime/src/kmp_atomic.h

Modified: openmp/trunk/runtime/src/dllexports
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/dllexports?rev=297082&r1=297081&r2=297082&view=diff
==============================================================================
--- openmp/trunk/runtime/src/dllexports (original)
+++ openmp/trunk/runtime/src/dllexports Mon Mar  6 15:46:36 2017
@@ -1117,15 +1117,19 @@ kmp_set_disp_num_buffers
 
             %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

Modified: openmp/trunk/runtime/src/kmp_atomic.h
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_atomic.h?rev=297082&r1=297081&r2=297082&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_atomic.h (original)
+++ openmp/trunk/runtime/src/kmp_atomic.h Mon Mar  6 15:46:36 2017
@@ -729,15 +729,19 @@ void __kmpc_atomic_float10_div_fp( ident
 
 // 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 );




More information about the Openmp-commits mailing list