[PATCH] D64313: [mips] Implement sgt/sgtu pseudo instructions with immediate operand

Simon Atanasyan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 01:38:49 PDT 2019


atanasyan created this revision.
atanasyan added a reviewer: Petar.Avramovic.
Herald added subscribers: jrtc27, hiraditya, arichardson, sdardis.
Herald added a project: LLVM.

The `sgt/sgtu Dst, Src1, Src2/Imm` pseudo instructions set register `Dst` to 1 if register `Src1` is greater than `Src2/Imm` and to 0 otherwise.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D64313

Files:
  llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  llvm/lib/Target/Mips/Mips64InstrInfo.td
  llvm/lib/Target/Mips/MipsInstrInfo.td
  llvm/test/MC/Mips/macro-sgt.s
  llvm/test/MC/Mips/macro-sgt64.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64313.208329.patch
Type: text/x-patch
Size: 8504 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190708/e3b70de9/attachment.bin>


More information about the llvm-commits mailing list