mirror of
https://github.com/RPCS3/asmjit.git
synced 2026-01-31 01:35:21 +01:00
[Bug] Don't allocate k0 register (x86::Compiler)
This commit is contained in:
@@ -1121,7 +1121,7 @@ void X86RAPass::onInit() noexcept {
|
||||
_availableRegs[Reg::kGroupGp ] = Support::lsbMask<uint32_t>(_physRegCount.get(Reg::kGroupGp ));
|
||||
_availableRegs[Reg::kGroupVec ] = Support::lsbMask<uint32_t>(_physRegCount.get(Reg::kGroupVec ));
|
||||
_availableRegs[Reg::kGroupMm ] = Support::lsbMask<uint32_t>(_physRegCount.get(Reg::kGroupMm ));
|
||||
_availableRegs[Reg::kGroupKReg] = Support::lsbMask<uint32_t>(_physRegCount.get(Reg::kGroupKReg));
|
||||
_availableRegs[Reg::kGroupKReg] = Support::lsbMask<uint32_t>(_physRegCount.get(Reg::kGroupKReg)) ^ 1u;
|
||||
|
||||
_scratchRegIndexes[0] = uint8_t(Gp::kIdCx);
|
||||
_scratchRegIndexes[1] = uint8_t(baseRegCount - 1);
|
||||
|
||||
Reference in New Issue
Block a user