[PATCH] D97581: [SystemZ] Introduce distinction between the jg/jl family of mnemonics for GNU as vs HLASM

Anirudh Prasad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 26 14:43:01 PST 2021


anirudhp created this revision.
anirudhp added reviewers: uweigand, Kai, yusra.syeda.
Herald added a subscriber: hiraditya.
anirudhp requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

- This patch adds in the distinction between jg[*] and jl[*] pc-relative mnemonics based on the variant/dialect.
- Under the hlasm variant, we use the jl[*] family of mnemonics and under the att (GNU as) variant, we use the jg[*] family of mnemonics.
- jgnop which was added in https://reviews.llvm.org/D92185, is now restricted to att variant. jlnop is introduced and restricted to hlasm variant.
- The br[*]l additional mnemonics are mapped to either jl[*]/jg[*] based on the variant.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97581

Files:
  llvm/lib/Target/SystemZ/SystemZInstrFormats.td
  llvm/lib/Target/SystemZ/SystemZInstrInfo.td
  llvm/test/MC/SystemZ/insn-bad.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97581.326805.patch
Type: text/x-patch
Size: 5111 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210226/b7af6a51/attachment.bin>


More information about the llvm-commits mailing list