Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #9856 from JosJuice/jitarm64-msvc-warning
JitArm64: Fix MSVC warning '~': zero extending 'u32' to 'u64'
  • Loading branch information
Tilka committed Jun 29, 2021
2 parents 3b3fb9d + e581d97 commit 6320861
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -714,7 +714,8 @@ void JitArm64::mcrfs(UGeckoInstruction inst)

if (mask != 0)
{
ANDI2R(WA, WA, ~mask);
const u32 inverted_mask = ~mask;
ANDI2R(WA, WA, inverted_mask);
STR(IndexType::Unsigned, WA, PPC_REG, PPCSTATE_OFF(fpscr));
}

Expand Down

0 comments on commit 6320861

Please sign in to comment.