Commit e71b64fa authored by qinsoon's avatar qinsoon

use NotAtomic for load/store in the fastpath

parent 844720a1
Pipeline #1309 passed with stages
in 49 minutes and 50 seconds
......@@ -216,7 +216,7 @@ fn gen_allocation_sequence(
ops: vec![tmp_cursor_loc_u64.clone()],
v: Instruction_::Load {
is_ptr: true,
order: MemoryOrder::SeqCst,
order: MemoryOrder::NotAtomic,
mem_loc: 0
}
}));
......@@ -299,7 +299,7 @@ fn gen_allocation_sequence(
ops: vec![tmp_limit_loc_u64.clone()],
v: Instruction_::Load {
is_ptr: true,
order: MemoryOrder::SeqCst,
order: MemoryOrder::NotAtomic,
mem_loc: 0
}
}));
......@@ -346,7 +346,7 @@ fn gen_allocation_sequence(
ops: vec![tmp_cursor_loc_u64.clone(), tmp_end.clone()],
v: Instruction_::Store {
is_ptr: true,
order: MemoryOrder::SeqCst,
order: MemoryOrder::NotAtomic,
mem_loc: 0,
value: 1
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment