[all-commits] [llvm/llvm-project] d7357c: [Mips] Add support for min/max/umin/umax atomics

Mirko BrkuĊĦanin via All-commits all-commits at lists.llvm.org
Thu Dec 12 02:40:39 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d7357c52a40a136f25c1cf5ae31a699d51885e49
      https://github.com/llvm/llvm-project/commit/d7357c52a40a136f25c1cf5ae31a699d51885e49
  Author: Mirko Brkusanin <Mirko.Brkusanin at rt-rk.com>
  Date:   2019-12-12 (Thu, 12 Dec 2019)

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

  Log Message:
  -----------
  [Mips] Add support for min/max/umin/umax atomics

In order to properly implement these atomic we need one register more than other
binary atomics. It is used for storing result from comparing values in addition
to the one that is used for actual result of operation.

https://reviews.llvm.org/D71028




More information about the All-commits mailing list