emit_x64_memory: Appease MSVC
Associated with changes in 8bcd46b7e9dc487da217b216c908f2ef15e7a8cf
This commit is contained in:
parent
8bcd46b7e9
commit
f6be6bc14b
@ -319,9 +319,9 @@ void AxxEmitX64::EmitExclusiveReadMemoryInline(AxxEmitContext& ctx, IR::Inst* in
|
||||
}
|
||||
|
||||
auto args = ctx.reg_alloc.GetArgumentInfo(inst);
|
||||
const bool ordered = true;
|
||||
constexpr bool ordered = true;
|
||||
|
||||
if (ordered && bitsize == 128) {
|
||||
if constexpr (ordered && bitsize == 128) {
|
||||
// Required for atomic 128-bit loads/stores
|
||||
ctx.reg_alloc.ScratchGpr(HostLoc::RAX);
|
||||
ctx.reg_alloc.ScratchGpr(HostLoc::RBX);
|
||||
@ -394,7 +394,7 @@ void AxxEmitX64::EmitExclusiveWriteMemoryInline(AxxEmitContext& ctx, IR::Inst* i
|
||||
}
|
||||
|
||||
auto args = ctx.reg_alloc.GetArgumentInfo(inst);
|
||||
const bool ordered = true;
|
||||
constexpr bool ordered = true;
|
||||
|
||||
const auto value = [&] {
|
||||
if constexpr (bitsize == 128) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user