From d0183579145aab14cfccb13d6bfaed55d812baa8 Mon Sep 17 00:00:00 2001 From: harshinisrinath Date: Fri, 16 Jun 2023 16:09:48 -0700 Subject: [PATCH] Improve test coverage on ieu fw. --- tests/coverage/fpu.S | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/coverage/fpu.S b/tests/coverage/fpu.S index 7e67b8ab5..29ad9b418 100644 --- a/tests/coverage/fpu.S +++ b/tests/coverage/fpu.S @@ -156,6 +156,10 @@ main: .word 0x43007053 // illegal fcvt.d.* (bad Rs2D) .word 0x42207053 // illegal fcvt.d.* (bad Rs2D[1]) + # Test floating point convert to integer and using result + fcvt.w.s t0, f0 + add t1, t0, t0 + j done .section .data