()
| 264 | |
| 265 | // --- RV64FD - FP int conversions --- |
| 266 | |
| 267 | #[test] |
| 268 | fn rv64fd_float_to_int() { |
| 269 | assert_enc!(FcvtWS::new(10, 20), 0xc00a0553u32); |
| 270 | assert_enc!(FcvtWUS::new(10, 20), 0xc01a0553u32); |
| 271 | assert_enc!(FcvtLS::new(10, 20), 0xc02a0553u32); |
| 272 | assert_enc!(FcvtLUS::new(10, 20), 0xc03a0553u32); |
| 273 | assert_enc!(FcvtWD::new(10, 20), 0xc20a0553u32); |
| 274 | assert_enc!(FcvtWUD::new(10, 20), 0xc21a0553u32); |
| 275 | assert_enc!(FcvtLD::new(10, 20), 0xc22a0553u32); |
| 276 | assert_enc!(FcvtLUD::new(10, 20), 0xc23a0553u32); |
| 277 | } |
| 278 |
nothing calls this directly
no outgoing calls
no test coverage detected