addi a0, a0, foo and lw a0, foo(a0) and similar are now rejected. An explicit %lo and %pcrel_lo modifier is required. This matches gas behaviour.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D51732
[RISCV][MC] Reject bare symbols for the simm12 operand type AbandonedPublic Authored by asb on Sep 6 2018, 6:50 AM.
Details
Summary addi a0, a0, foo and lw a0, foo(a0) and similar are now rejected. An explicit %lo and %pcrel_lo modifier is required. This matches gas behaviour.
Diff Detail Event TimelineHerald added subscribers: jocewei, PkmX, rkruppe and 14 others. · View Herald TranscriptSep 6 2018, 6:50 AM
Revision Contents
Diff 164206 lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
test/MC/RISCV/rv32d-invalid.s
test/MC/RISCV/rv32f-invalid.s
test/MC/RISCV/rv32i-invalid.s
test/MC/RISCV/rv32i-valid.s
test/MC/RISCV/rv64i-invalid.s
|