Browse Source

Add (empty) read barrier definition

tags/v0.3.10^2
Martin Kroeker GitHub 6 years ago
parent
commit
a52bdd9d7b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      common_x86_64.h

+ 3
- 0
common_x86_64.h View File

@@ -63,13 +63,16 @@
#ifdef __GNUC__
#define MB do { __asm__ __volatile__("": : :"memory"); } while (0)
#define WMB do { __asm__ __volatile__("": : :"memory"); } while (0)
#define RMB
#else
#define MB do {} while (0)
#define WMB do {} while (0)
#define RMB
#endif

static void __inline blas_lock(volatile BLASULONG *address){

#ifndef C_MSVC
int ret;
#else


Loading…
Cancel
Save