support float stack spills (#513)

This commit is contained in:
water111
2021-05-21 10:29:05 -04:00
committed by GitHub
parent 663b5c7899
commit 46e5d1928b
3 changed files with 25 additions and 4 deletions
+3 -1
View File
@@ -69,7 +69,9 @@ constexpr StackInstrInfo stack_instrs[] = {{InstructionKind::SQ, false, 16, fals
{InstructionKind::LQ, true, 16, false},
{InstructionKind::SW, false, 4, false},
//{InstructionKind::LWU, true, 4, false}
{InstructionKind::SD, false, 8, false}};
{InstructionKind::SD, false, 8, false},
{InstructionKind::SWC1, false, 4, false},
{InstructionKind::LWC1, true, 4, false}};
} // namespace
StackSpillMap build_spill_map(const std::vector<Instruction>& instructions, Range<int> range) {