Skip to content
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

FPU crash #50

Open
0x746172677A opened this issue Nov 22, 2024 · 0 comments
Open

FPU crash #50

0x746172677A opened this issue Nov 22, 2024 · 0 comments

Comments

@0x746172677A
Copy link

I made a mistake while testing FPU ops and accidentally found a way to crash Arculator.
Seems like ldfs f#, [r#] with r# containing a bad address causes a crash if your config has an FPU.
Crashes with arm2+fppc under ROS3, generates an exception in RISC OS without the fppc.

Here's the minimal test case

.arch armv2
.fpu fpa
.global main
main:
    ldr r0, floatNum
    ldfs f0, [r0]
    mov pc, lr

floatNum:
    .word 0x3f9d70a4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant