mirror of
https://github.com/yuzu-mirror/oaknut.git
synced 2026-01-04 15:39:57 +01:00
oaknut: Fix MOV for applications of MOVN
This commit is contained in:
parent
0575cadc49
commit
b4ac8fd6c1
|
|
@ -110,8 +110,8 @@ public:
|
|||
return;
|
||||
if (MovImm16::is_valid(imm))
|
||||
return MOVZ(wd, imm);
|
||||
if (MovImm16::is_valid(~imm))
|
||||
return MOVN(wd, ~imm);
|
||||
if (MovImm16::is_valid(~static_cast<std::uint64_t>(imm)))
|
||||
return MOVN(wd, ~static_cast<std::uint64_t>(imm));
|
||||
if (detail::encode_bit_imm(imm))
|
||||
return ORR(wd, WzrReg{}, imm);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue