diff options
author | TSRBerry <20988865+TSRBerry@users.noreply.github.com> | 2023-06-28 01:18:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 01:18:19 +0200 |
commit | fbaf62c2309f2987fa73a2022167ee3e81e31ea9 (patch) | |
tree | 9d2ef3298843b551a544acc429f2269f101af935 /src/ARMeilleure/CodeGen/X86/CodeGenerator.cs | |
parent | b186ec9fc5684bd8fa831a1777f6e936b897c352 (diff) |
Apply new naming rule to all projects except Vp9 (#5407)1.1.927
Diffstat (limited to 'src/ARMeilleure/CodeGen/X86/CodeGenerator.cs')
-rw-r--r-- | src/ARMeilleure/CodeGen/X86/CodeGenerator.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ARMeilleure/CodeGen/X86/CodeGenerator.cs b/src/ARMeilleure/CodeGen/X86/CodeGenerator.cs index 3cab0b6c..9e94a077 100644 --- a/src/ARMeilleure/CodeGen/X86/CodeGenerator.cs +++ b/src/ARMeilleure/CodeGen/X86/CodeGenerator.cs @@ -1296,11 +1296,11 @@ namespace ARMeilleure.CodeGen.X86 } else { - const byte mask = 0b01_00_11_10; + const byte Mask = 0b01_00_11_10; - context.Assembler.Pshufd(src1, src1, mask); + context.Assembler.Pshufd(src1, src1, Mask); context.Assembler.Movq(dest, src1); - context.Assembler.Pshufd(src1, src1, mask); + context.Assembler.Pshufd(src1, src1, Mask); } } else @@ -1853,9 +1853,9 @@ namespace ARMeilleure.CodeGen.X86 // that the OS will map all pages that we'll use. We do that by // doing a dummy read on those pages, forcing a page fault and // the OS to map them. If they are already mapped, nothing happens. - const int pageMask = PageSize - 1; + const int PageMask = PageSize - 1; - size = (size + pageMask) & ~pageMask; + size = (size + PageMask) & ~PageMask; Operand rsp = Register(X86Register.Rsp); Operand temp = Register(CallingConvention.GetIntReturnRegister()); |