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

LoongArch: gas: add support using variable for li.w/d #215

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 15, 2022

  1. LoongArch: gas: add support using constant variable in instructions.

            Instructions that can load immediate support using constant
            variable like ".equ var, 123    li.w/d resgister, var".
    
    gas/
            * config/loongarch-parse.y
            * config/tc-loongarch.c
    
            Add two testcases.One is a program using constant variable,
            another test almost all instructions that can load immediate.
    
    gas/
            * testsuite/gas/loongarch/li.d
            * testsuite/gas/loongarch/li.s
            * testsuite/gas/loongarch/imm_ins.d
            * testsuite/gas/loongarch/imm_ins.s
    tangxiaolin committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    aa16359 View commit details
    Browse the repository at this point in the history