[all-commits] [llvm/llvm-project] 25a41a: [PowerPC] Emit scalar fp min/max instructions

nemanja-ibm via All-commits all-commits at lists.llvm.org
Mon Oct 28 17:14:07 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 25a41ad242000520629a274e83db1ea884d1c1e7
      https://github.com/llvm/llvm-project/commit/25a41ad242000520629a274e83db1ea884d1c1e7
  Author: Nemanja Ivanovic <nemanjai at ca.ibm.com>
  Date:   2019-10-28 (Mon, 28 Oct 2019)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCISelLowering.h
    M llvm/lib/Target/PowerPC/PPCInstrInfo.td
    M llvm/lib/Target/PowerPC/PPCInstrVSX.td
    M llvm/test/CodeGen/PowerPC/ctr-minmaxnum.ll
    A llvm/test/CodeGen/PowerPC/scalar-min-max.ll

  Log Message:
  -----------
  [PowerPC] Emit scalar fp min/max instructions

VSX provides floating point minimum and maximum instructions that conform
to IEEE semantics. This legalizes the respective nodes and emits VSX code
for them. Furthermore, on Power9 cores we have xsmaxcdp and xsmincdp
instructions that conform to language semantics for the conditional operator
even in the presence of NaNs.

Differential revision: https://reviews.llvm.org/D62993




More information about the All-commits mailing list