-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: illegal operands when trying to running floating-point testscase when using TEST_FPSR_OP #498
Comments
IS this a problem with the test, or a problem with the toolchain?
…On Sun, Sep 29, 2024 at 9:15 AM Pagerd ***@***.***> wrote:
I'm trying to add 'fcvt.s.h' testcases in act,Some parameters are as
follows
inst_1:
// rs1 != rd, rs1==f29, rd==f30,fs1 == 0 and fe1 == 0x0d and fm1 == 0x1b7 and fcsr == 0x0 and rm_val == 7 and rs1_nan_prefix == 0xfffff
/* opcode: fcvt.s.h ; op1:f29; dest:f30; op1val:0x35b7; valaddr_reg:x3;
val_offset:1*FLEN/8; rmval:dyn; correctval:??; testreg:x2;
fcsr_val: 0 */
TEST_FPSR_OP(fcvt.s.h, f30, f29, dyn, 0, 0, x3, 1*FLEN/8, x4, x1, x2)
when using riscof running in riscof will showing error message
/home/pager/Desktop/work/ZfhTest/riscv-arch-test/riscv-test-suite/rv32i_m/Zfh/src/fcvt.s.h_b22-01.S:43: Error: illegal operands `fcvt.s.h f31,f31,dyn'
/home/pager/Desktop/work/ZfhTest/riscv-arch-test/riscv-test-suite/rv32i_m/Zfh/src/fcvt.s.h_b22-01.S:50: Error: illegal operands `fcvt.s.h f30,f29,dyn'
/home/pager/Desktop/work/ZfhTest/riscv-arch-test/riscv-test-suite/rv32i_m/Zfh/src/fcvt.s.h_b22-01.S:57: Error: illegal operands `fcvt.s.h f29,f30,dyn'
/home/pager/Desktop/work/ZfhTest/riscv-arch-test/riscv-test-suite/rv32i_m/Zfh/src/fcvt.s.h_b22-01.S:64: Error: illegal operands `fcvt.s.h f28,f27,dyn'
seems like TEST_FPSR_OP is not support fcvt.s.h
—
Reply to this email directly, view it on GitHub
<#498>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHPXVJSXBZZCV5WSNBLQSYLZZARSDAVCNFSM6AAAAABPB23KOWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2TKMBQHEZDIMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
That is, a problem with the toolchain that you are using to run the tests.
On Sun, Sep 29, 2024 at 9:16 PM Allen Baum ***@***.***>
wrote:
… IS this a problem with the test, or a problem with the toolchain?
On Sun, Sep 29, 2024 at 9:15 AM Pagerd ***@***.***> wrote:
> I'm trying to add 'fcvt.s.h' testcases in act,Some parameters are as
> follows
>
> inst_1:
> // rs1 != rd, rs1==f29, rd==f30,fs1 == 0 and fe1 == 0x0d and fm1 == 0x1b7 and fcsr == 0x0 and rm_val == 7 and rs1_nan_prefix == 0xfffff
> /* opcode: fcvt.s.h ; op1:f29; dest:f30; op1val:0x35b7; valaddr_reg:x3;
> val_offset:1*FLEN/8; rmval:dyn; correctval:??; testreg:x2;
> fcsr_val: 0 */
> TEST_FPSR_OP(fcvt.s.h, f30, f29, dyn, 0, 0, x3, 1*FLEN/8, x4, x1, x2)
>
> when using riscof running in riscof will showing error message
>
> /home/pager/Desktop/work/ZfhTest/riscv-arch-test/riscv-test-suite/rv32i_m/Zfh/src/fcvt.s.h_b22-01.S:43: Error: illegal operands `fcvt.s.h f31,f31,dyn'
> /home/pager/Desktop/work/ZfhTest/riscv-arch-test/riscv-test-suite/rv32i_m/Zfh/src/fcvt.s.h_b22-01.S:50: Error: illegal operands `fcvt.s.h f30,f29,dyn'
> /home/pager/Desktop/work/ZfhTest/riscv-arch-test/riscv-test-suite/rv32i_m/Zfh/src/fcvt.s.h_b22-01.S:57: Error: illegal operands `fcvt.s.h f29,f30,dyn'
> /home/pager/Desktop/work/ZfhTest/riscv-arch-test/riscv-test-suite/rv32i_m/Zfh/src/fcvt.s.h_b22-01.S:64: Error: illegal operands `fcvt.s.h f28,f27,dyn'
>
> seems like TEST_FPSR_OP is not support fcvt.s.h
>
> —
> Reply to this email directly, view it on GitHub
> <#498>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AHPXVJSXBZZCV5WSNBLQSYLZZARSDAVCNFSM6AAAAABPB23KOWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2TKMBQHEZDIMA>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to add 'fcvt.s.h' testcases in act,Some parameters are as follows
when using riscof running in riscof will showing error message
seems like
TEST_FPSR_OP
is not support fcvt.s.hThe text was updated successfully, but these errors were encountered: