summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBuiltin.cpp
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2016-09-27 08:42:12 +0000
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2016-09-27 08:42:12 +0000
commit6f22b41398b29f6ae739a1859cc503442a0c461f (patch)
tree60a4843d512234f4a551591857ea407f1bc0c3c4 /clang/lib/CodeGen/CGBuiltin.cpp
parentef247cb2c9223af203eaf8b49c40c8397e92d5e7 (diff)
downloadbcm5719-llvm-6f22b41398b29f6ae739a1859cc503442a0c461f.tar.gz
bcm5719-llvm-6f22b41398b29f6ae739a1859cc503442a0c461f.zip
[Power9] Builtins for ELF v.2 API conformance - back end portion
This patch corresponds to review: https://reviews.llvm.org/D24396 This patch adds support for the "vector count trailing zeroes", "vector compare not equal" and "vector compare not equal or zero instructions" as well as "scalar count trailing zeroes" instructions. It also changes the vector negation to use XXLNOR (when VSX is enabled) so as not to increase register pressure (previously this was done with a splat immediate of all ones followed by an XXLXOR). This was done because the altivec.h builtins (patch to follow) use vector negation and the use of an additional register for the splat immediate is not optimal. llvm-svn: 282478
Diffstat (limited to 'clang/lib/CodeGen/CGBuiltin.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud