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

Method C_FLW

external/biscuit/src/assembler_compressed.cpp:291–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289}
290
291void Assembler::C_FLW(FPR rd, uint32_t imm, GPR rs) noexcept {
292 BISCUIT_ASSERT(IsRV32(m_features));
293 BISCUIT_ASSERT(imm <= 124);
294 BISCUIT_ASSERT(imm % 4 == 0);
295
296 imm &= 0x7C;
297 const auto new_imm = ((imm & 0b0100) << 5) | (imm & 0x78);
298 EmitCompressedLoad(m_buffer, 0b011, new_imm, rs, rd, 0b00);
299}
300
301void Assembler::C_FLWSP(FPR rd, uint32_t imm) noexcept {
302 BISCUIT_ASSERT(IsRV32(m_features));

Callers 1

Calls 2

IsRV32Function · 0.85
EmitCompressedLoadFunction · 0.85

Tested by

no test coverage detected