Starting with Power 10 the instruction paddi is available to use.
The instruction allows for immediates that are 34 bits.
This patch adds exploitation of the paddi instruction to allow us
to materialize constants.
Differential D93300
[PowerPC] Exploit paddi instruction on Power 10 for constant materialization stefanp on Dec 15 2020, 7:33 AM. Authored by
Details
Starting with Power 10 the instruction paddi is available to use. This patch adds exploitation of the paddi instruction to allow us
Diff Detail
Unit Tests Event Timeline
Comment Actions Rebased the patch to the top of main. Tried to merge three of the cases but it looks like that won't work as one of Comment Actions Just a few minor nit comments.
Comment Actions Sorry for the delay and thank you for addressing my previous comments. I think this LGTM. Comment Actions hi @stefanp, this patch caused an asan error when running on ninja check-llvm-codegen-powerpc. llvm-project/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:1046:48: runtime error: shift exponent 64 is too large for 64-bit type 'uint64_t' (aka 'unsigned long') Comment Actions ok, looks like @RKSimon fixed them in https://github.com/llvm/llvm-project/commit/f6524b4ada823a9766f7cbdfc16e052971e005f6, Thanks! |
why do we name it as FO instead of LO here? can you please explain what FO stands for?