[PowerPC] Add the hw sqrt test for vector type v4f32/v2f64
authorQingShan Zhang <qshanz@cn.ibm.com>
Thu, 3 Dec 2020 03:09:25 +0000 (03:09 +0000)
committerQingShan Zhang <qshanz@cn.ibm.com>
Thu, 3 Dec 2020 03:19:18 +0000 (03:19 +0000)
commit9bf0fea3729e3ad63da24f94ce22c6b4628bec15
tree6b793de79d8024c6818a51531fc5cb9a5b967783
parent7a4af2a8e701838598cad254123b8a7855ee44c4
[PowerPC] Add the hw sqrt test for vector type v4f32/v2f64

PowerPC ISA support the input test for vector type v4f32 and v2f64.
Replace the software compare with hw test will improve the perf.

Reviewed By: ChenZheng

Differential Revision: https://reviews.llvm.org/D90914
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCInstrVSX.td
llvm/test/CodeGen/PowerPC/recipest.ll