[all-commits] [llvm/llvm-project] a18953: [PowerPC] Fix RM operands for some instructions
Zhang Kang via All-commits
all-commits at lists.llvm.org
Wed Jul 29 19:11:38 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a18953c1c05e520406783acbb5e6b06954f9150d
https://github.com/llvm/llvm-project/commit/a18953c1c05e520406783acbb5e6b06954f9150d
Author: Kang Zhang <shkzhang at cn.ibm.com>
Date: 2020-07-30 (Thu, 30 Jul 2020)
Changed paths:
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/lib/Target/PowerPC/PPCInstrInfo.td
M llvm/lib/Target/PowerPC/PPCInstrVSX.td
A llvm/test/CodeGen/PowerPC/rounding-rm-flag.ll
M llvm/test/CodeGen/PowerPC/setrnd.ll
Log Message:
-----------
[PowerPC] Fix RM operands for some instructions
Summary:
Some instructions have set the wrong [RM] flag, this patch is to fix it.
Instructions x(v|s)r(d|s)pi[zmp]? and fri[npzm] use fixed rounding
directions without referencing current rounding mode.
Also, the SETRNDi, SETRND, BCLRn, MTFSFI, MTFSB0, MTFSB1, MTFSFb,
MTFSFI, MTFSFI_rec, MTFSF, MTFSF_rec should also fix the RM flag.
Reviewed By: jsji
Differential Revision: https://reviews.llvm.org/D81360
More information about the All-commits
mailing list