From 235b67707f71498d7a3848eed6f4b83491795839 Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Thu, 11 Aug 2022 23:57:28 -0500 Subject: [PATCH] Common:X64ABI: Work around clang-format being dumb --- Source/Core/Common/x64ABI.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/Common/x64ABI.cpp b/Source/Core/Common/x64ABI.cpp index 424e8a483e..9f45c132a6 100644 --- a/Source/Core/Common/x64ABI.cpp +++ b/Source/Core/Common/x64ABI.cpp @@ -54,13 +54,13 @@ size_t XEmitter::ABI_PushRegistersAndAdjustStack(BitSet32 mask, size_t rsp_align PUSH(RBP); MOV(64, R(RBP), R(RSP)); } - for (int r : mask& ABI_ALL_GPRS & ~BitSet32{RBP}) + for (int r : (mask & ABI_ALL_GPRS & ~BitSet32{RBP})) PUSH((X64Reg)r); if (subtraction) SUB(64, R(RSP), subtraction >= 0x80 ? Imm32((u32)subtraction) : Imm8((u8)subtraction)); - for (int x : mask& ABI_ALL_FPRS) + for (int x : (mask & ABI_ALL_FPRS)) { MOVAPD(MDisp(RSP, (int)xmm_offset), (X64Reg)(x - 16)); xmm_offset += 16; @@ -77,7 +77,7 @@ void XEmitter::ABI_PopRegistersAndAdjustStack(BitSet32 mask, size_t rsp_alignmen ABI_CalculateFrameSize(mask, rsp_alignment, needed_frame_size, &shadow, &subtraction, &xmm_offset); - for (int x : mask& ABI_ALL_FPRS) + for (int x : (mask & ABI_ALL_FPRS)) { MOVAPD((X64Reg)(x - 16), MDisp(RSP, (int)xmm_offset)); xmm_offset += 16;