Displaying 2 results from an estimated 2 matches for "r56496".
2008 Sep 25
0
[LLVMdev] confused about llvm.memory.barrier
On Thu, 2008-09-25 at 10:28 -0400, Luke Dalessandro wrote:
> When I request a write-before-read memory barrier on x86 I would expect
> to get an assembly instruction that would enforce this ordering (mfence,
> xchg, cas), but it just turns into a nop.
In its usual configuration, an x86 family CPU implements a strong memory
ordering constraint for all loads and stores, so as long as the
2008 Sep 25
5
[LLVMdev] confused about llvm.memory.barrier
When I request a write-before-read memory barrier on x86 I would expect
to get an assembly instruction that would enforce this ordering (mfence,
xchg, cas), but it just turns into a nop.
1. ; ModuleID = 'test.bc'
2. target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-
i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
3. target