[PATCH] D81537: [PowerPC] Support constrained fp operation for scalar fptosi/fptoui

Qiu Chaofan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 00:30:34 PDT 2020


qiucf created this revision.
qiucf added reviewers: steven.zhang, nemanjai, kbarton, kpn, jsji, uweigand, PowerPC.
Herald added subscribers: llvm-commits, shchenz, hiraditya.
Herald added a project: LLVM.

This patch adds support for constrained conversion operation (`fptoui/fptosi`) from `f32/f64` to `i32/i64`.

`f128` and vector support will be done in following patches. For targets older than ISA 2.06, we need to make `strict_fsetcc/strict_fsetccs` work well first.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81537

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/lib/Target/PowerPC/PPCInstrSPE.td
  llvm/lib/Target/PowerPC/PPCInstrVSX.td
  llvm/test/CodeGen/PowerPC/fp-strict-conv.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81537.269746.patch
Type: text/x-patch
Size: 20060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200610/4d54af4c/attachment.bin>


More information about the llvm-commits mailing list