Skip to content

Commit

Permalink
Substituting _ARM64_BARRIER_SY and _ARM_BARRIER_SY with literals
Browse files Browse the repository at this point in the history
  • Loading branch information
Epixu committed Jul 21, 2024
1 parent 112856a commit acd6694
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions simde/x86/sse.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
}
#elif defined(__aarch64__) || defined(__arm64ec__)
static HEDLEY_ALWAYS_INLINE void simde_MemoryBarrier(void) {
__dmb(_ARM64_BARRIER_SY);
__dmb(0xF/* _ARM64_BARRIER_SY defined in <arm64intr.h> */);
}
#elif defined(__x86_64__)
#pragma intrinsic(__faststorefence)
Expand All @@ -64,7 +64,7 @@
}
#elif defined(__arm__)
static HEDLEY_ALWAYS_INLINE void simde_MemoryBarrier(void) {
__dmb(_ARM_BARRIER_SY);
__dmb(0xF /* _ARM_BARRIER_SY defined in <armintr.h> */);
}
#endif
#endif
Expand Down

0 comments on commit acd6694

Please sign in to comment.