Skip to content

FPU crash #50

@0x746172677A

Description

@0x746172677A

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions