[PATCH] D71028: [Mips] Add support for min/max/umin/umax atomics

Mirko Brkusanin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 4 10:39:43 PST 2019


mbrkusanin created this revision.
mbrkusanin added reviewers: atanasyan, petarj, sdardis, mstojanovic.
mbrkusanin added a project: LLVM.
Herald added subscribers: jfb, jrtc27, hiraditya, arichardson.

In order to properly implement these atomic we one register more than other 
binary atomics. One for storing result from comparing values and one for the 
actual result.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71028

Files:
  llvm/lib/Target/Mips/Mips64InstrInfo.td
  llvm/lib/Target/Mips/MipsExpandPseudo.cpp
  llvm/lib/Target/Mips/MipsISelLowering.cpp
  llvm/lib/Target/Mips/MipsInstrInfo.td
  llvm/lib/Target/Mips/MipsScheduleGeneric.td
  llvm/lib/Target/Mips/MipsScheduleP5600.td
  llvm/test/CodeGen/Mips/atomic-min-max-64.ll
  llvm/test/CodeGen/Mips/atomic-min-max.ll
  llvm/test/CodeGen/Mips/atomic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71028.232165.patch
Type: text/x-patch
Size: 191937 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191204/41e771e1/attachment-0001.bin>


More information about the llvm-commits mailing list