MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / rv64fd_int_to_float

Function rv64fd_int_to_float

crates/asm-to-binary/tests/asm_encoding.rs:278–285  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

276 assert_enc!(FcvtLUD::new(10, 20), 0xc23a0553u32);
277}
278
279#[test]
280fn rv64fd_int_to_float() {
281 assert_enc!(FcvtSW::new(10, 5), 0xd0028553u32);
282 assert_enc!(FcvtSWU::new(10, 5), 0xd0128553u32);
283 assert_enc!(FcvtSL::new(10, 5), 0xd0228553u32);
284 assert_enc!(FcvtSLU::new(10, 5), 0xd0328553u32);
285 assert_enc!(FcvtDW::new(10, 5), 0xd2028553u32);
286 assert_enc!(FcvtDL::new(10, 5), 0xd2228553u32);
287}
288

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected