Skip to content

Support %hi() and %lo() as in GNU assembler #7

Description

@tmcintos

Support %hi() and %lo() as in GNU assembler:

lui a5,%hi(.LC0)
addi a0,a5,%lo(.LC0)

This would provide better compatibility with gcc-generated assembly code; e.g. https://godbolt.org/z/tTvkEE

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions