masayuki2009 commented on PR #6134: URL: https://github.com/apache/incubator-nuttx/pull/6134#issuecomment-1109173828
@pussuw I noticed that fpu_test with rv-virt:nsh64 on QEMU failed. If I revert this PR, it works. $ ~/opensource/QEMU/qemu-6.2/build/riscv64-softmmu/qemu-system-riscv64 -nographic -cpu rv64 -smp 8 -M virt -bios none -kernel ./nuttx ``` user_main: FPU test Starting task FPU#1 fpu_test: Started task FPU#1 at PID=4 riscv_exception: EXCEPTION: Illegal instruction. MCAUSE: 0000000000000002 riscv_exception: PANIC!!! Exception = 0000000000000002 up_assert: Assertion failed at file:common/riscv_exception.c line: 89 task: FPU#1 riscv_registerdump: EPC: 000000008000f574 riscv_registerdump: A0: 0000000000000000 A1: 0000000080025f30 A2: 0000000080025f30 A3: 000000008000f518 riscv_registerdump: A4: 0000000000000020 A5: 0000000000000440 A6: 0000000000000000 A7: 0000000000000000 riscv_registerdump: T0: 0000000000000000 T1: 0000000000000000 T2: 0000000000000000 T3: 0000000000000000 riscv_registerdump: T4: 0000000000000000 T5: 0000000000000000 T6: 0000000000000000 riscv_registerdump: S0: 0000000000000000 S1: 0000000000000001 S2: 0000000000000000 S3: 0000000000000000 riscv_registerdump: S4: 0000000000000000 S5: 000000008001f608 S6: 0000000000000000 S7: 0000000000000000 riscv_registerdump: S8: 0000000000000000 S9: 0000000000000000 S10: 0000000000000000 S11: 0000000000000000 riscv_registerdump: SP: 0000000080026670 FP: 0000000000000000 TP: 0000000000000000 RA: 000000008000f566 riscv_dumpstate: sp: 000000008001ea70 riscv_dumpstate: IRQ stack: riscv_dumpstate: base: 000000008001e310 riscv_dumpstate: size: 0000000000000800 riscv_stackdump: 000000008001ea60: 000007e0 00000000 80004baa 00000000 00000059 00000000 80015478 00000000 riscv_stackdump: 000000008001ea80: 00000000 00000000 00000000 00000000 00000000 00000000 80026460 00000000 riscv_stackdump: 000000008001eaa0: 00000002 00000000 8000307c 00000000 00000009 00000000 800006a4 00000000 riscv_stackdump: 000000008001eac0: 8001ff18 00000000 00000001 00000000 8001ff18 00000000 80000aa8 00000000 riscv_stackdump: 000000008001eae0: deadbeef deadbeef 80000400 00000000 00000002 00000000 800003c2 00000000 riscv_dumpstate: sp: 0000000080026670 riscv_dumpstate: User stack: riscv_dumpstate: base: 0000000080025f50 riscv_dumpstate: size: 00000000000007e0 riscv_dumpstate: User Stack riscv_stackdump: 0000000080026660: 00000000 00000000 8000f566 00000000 8001ec38 00000000 00000c00 00000000 riscv_stackdump: 0000000080026680: 80005082 00000000 00000000 00000000 80021540 00000000 80000bec 00000000 riscv_stackdump: 00000000800266a0: 80021580 00000000 80000fb0 00000000 80021580 00000000 80000cfa 00000000 riscv_stackdump: 00000000800266c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 riscv_stackdump: 00000000800266e0: 00000000 00000000 00000000 00000000 8000f518 00000000 80003160 00000000 riscv_stackdump: 0000000080026700: 80025f30 00000000 00000001 00000000 00000000 00000000 8000100a 00000000 riscv_showtasks: PID PRI USED STACK FILLED COMMAND riscv_showtasks: ---- ---- 648 2048 31.6% irq riscv_dump_task: 0 0 1040 2000 52.0% Idle Task riscv_dump_task: 1 100 1616 3040 53.1% nsh_main riscv_dump_task: 2 100 1328 2016 65.8% ostest riscv_dump_task: 3 100 1440 8112 17.7% ostest riscv_dump_task: 4 100 720 2016 35.7% FPU#1 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
