Not only some AMO instructions but also other instructions need to process (${gpr}) or 0(${gpr}), where the 0 is be silently ignored. This patch does some changes for general usage.
Signed-off-by: Eric Tang <eric.tang@starfivetech.com>
Paths
| Differential D120017
[RISCV] Change GPRMemAtomic to GPRMemZeroOffset for general usage ClosedPublic Authored by tangxingxin1008 on Feb 17 2022, 1:04 AM.
Details Summary Not only some AMO instructions but also other instructions need to process (${gpr}) or 0(${gpr}), where the 0 is be silently ignored. This patch does some changes for general usage. Signed-off-by: Eric Tang <eric.tang@starfivetech.com>
Diff Detail
Unit TestsFailed Event TimelineHerald added subscribers: VincentWu, luke957, achieveartificialintelligence and 27 others. · View Herald TranscriptFeb 17 2022, 1:04 AM tangxingxin1008 added reviewers: asb, craig.topper, jrtc27, luismarques, kito.cheng.Feb 17 2022, 1:10 AM asb added a child revision: D117432: [RISCV] Implement support for the Zicbom and Zicboz extensions.Feb 17 2022, 6:06 AM tangxingxin1008 added a child revision: D117733: [RISCV] Support hypervisor extention instructions.Feb 18 2022, 12:40 AM Comment Actions Sorry, I thought I'd already reviewed this but I must have failed to hit submit. Thanks for splitting this out, LGTM. This revision is now accepted and ready to land.Feb 23 2022, 8:49 AM This revision was landed with ongoing or failed builds.Feb 27 2022, 10:08 PM Closed by commit rGcf80ef139397: [RISCV] Change GPRMemAtomic to GPRMemZeroOffset for general usage (authored by tangxingxin1008). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 409523 llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
llvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.h
llvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp
llvm/lib/Target/RISCV/RISCVInstrInfo.td
llvm/lib/Target/RISCV/RISCVInstrInfoA.td
|