Skip to content
This repository was archived by the owner on Sep 2, 2018. It is now read-only.
This repository was archived by the owner on Sep 2, 2018. It is now read-only.

Division operations are being incorrectly lowered #70

Closed
@dylanmckay

Description

@dylanmckay

We are not handling the lowering of various instructions correctly.

This problem came about in this mailing list exchange.

Division is being lowered into a call to the libgcc function __udivqi3. This function does not exist. GCC instead lowers this to __divmodhi4, which is what we should be doing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions