MCPcopy Create free account
hub / github.com/OFFTKP/felix86 / C_FSW

Method C_FSW

external/biscuit/src/assembler_compressed.cpp:355–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355void Assembler::C_FSW(FPR rs2, uint32_t imm, GPR rs1) noexcept {
356 BISCUIT_ASSERT(IsRV32(m_features));
357 BISCUIT_ASSERT(imm <= 124);
358 BISCUIT_ASSERT(imm % 4 == 0);
359
360 imm &= 0x7C;
361 const auto new_imm = ((imm & 0b0100) << 5) | (imm & 0x78);
362 EmitCompressedStore(m_buffer, 0b111, new_imm, rs1, rs2, 0b00);
363}
364
365void Assembler::C_FSWSP(FPR rs, uint32_t imm) noexcept {
366 BISCUIT_ASSERT(IsRV32(m_features));

Callers 1

Calls 2

IsRV32Function · 0.85
EmitCompressedStoreFunction · 0.85

Tested by

no test coverage detected