[Power9] [CLANG] Add __float128 exponent GET and SET builtins
authorStefan Pintilie <stefanp@ca.ibm.com>
Mon, 24 Sep 2018 18:14:50 +0000 (18:14 +0000)
committerStefan Pintilie <stefanp@ca.ibm.com>
Mon, 24 Sep 2018 18:14:50 +0000 (18:14 +0000)
commit9177cf411e759ae7f709d584c2fc4f7ac5cc2c93
tree306b6ee4cd6497d5ddf8bcfed8b059576f7db99e
parentb5305771fb7a0c74597c71535909e13663e8a4fa
[Power9] [CLANG] Add __float128 exponent GET and SET builtins

Added

__builtin_vsx_scalar_extract_expq
__builtin_vsx_scalar_insert_exp_qp

Builtins should behave the same way as in GCC.

Differential Revision: https://reviews.llvm.org/D48184

llvm-svn: 342911
clang/include/clang/Basic/BuiltinsPPC.def
clang/test/CodeGen/builtins-ppc-p9-f128.c