Skip to content

Tagged adds #784

Open
Open
@sorear

Description

@sorear

Old SPARC had an instruction which added or subtracted two numbers, but raised an exception if the low two bits of either input were nonzero or if the result overflowed. It could be an interesting research idea to implement something similar in silver or a risc-v extension (possibly in scope for the J working group, although said scope is ill defined) and get cakeml to use it. The difficult part is likely to be the trap handler and call back into wordLang code (against the normal order of transformations) to handle the instruction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions