src/arch/riscv/regs/float.hh
// Extract a 32 bit float packed into a 64 bit value.
Extract a 32 bit float packed into a 64 bit value.
Extract a 32 bit float packed into a 64 bit value .
static constexpr uint32_t
unboxF32(uint64_t v)
{
    if (bits(v, 63, 32) == mask(32))
        return bits(v, 31, 0);
    else
        return defaultNaNF32UI;
}
static constexpr uint32_t unboxF32 ( uint64_t v ) { if ( bits ( v , 63 , 32 ) == mask ( 32 ) ) return bits ( v , 31 , 0 ) ; else return defaultNaNF32UI ; }
Extract a 32 bit float packed into a 64 bit value.
Extract a 32 bit float packed into a 64 bit value .
// The upper 32 bits should all be ones.