summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/numerics/c.math/cmath.pass.cpp
diff options
context:
space:
mode:
authorEhsan Amiri <amehsan@ca.ibm.com>2016-11-23 18:36:29 +0000
committerEhsan Amiri <amehsan@ca.ibm.com>2016-11-23 18:36:29 +0000
commit9b91cfa0b08f2fde3987759fb0645c026e5f1f89 (patch)
tree0421e8841f9200617cd532b18cb28323e2b22a9d /libcxx/test/std/numerics/c.math/cmath.pass.cpp
parent0ede7f281ee2521edae5ebf2ea3ff0ff2efad901 (diff)
downloadbcm5719-llvm-9b91cfa0b08f2fde3987759fb0645c026e5f1f89.tar.gz
bcm5719-llvm-9b91cfa0b08f2fde3987759fb0645c026e5f1f89.zip
[PPC] support for arithmetic builtins in the FE
(commit again after fixing the buildbot failures) This adds various overloads of the following builtins to altivec.h: vec_neg vec_nabs vec_adde vec_addec vec_sube vec_subec vec_subc Note that for vec_sub builtins on 32 bit integers, the semantics is similar to what ISA describes for instructions like vsubecuq that work on quadwords: the first operand is added to the one's complement of the second operand. (As opposed to two's complement which I expected). llvm-svn: 287795
Diffstat (limited to 'libcxx/test/std/numerics/c.math/cmath.pass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud