diff options
author | Abderrazek Zaafrani <a.zaafrani@samsung.com> | 2017-06-20 18:54:57 +0000 |
---|---|---|
committer | Abderrazek Zaafrani <a.zaafrani@samsung.com> | 2017-06-20 18:54:57 +0000 |
commit | 6e3f80de39298b1ac410e59841c60853e807fa37 (patch) | |
tree | fdd670689cf908e64769e2f646d9e70baf7f17cb /utils | |
parent | c35b73c765d276f2433f2f89229022e5f08b003c (diff) |
[AArch64] ADD ARMv.2-A FP16 vector intrinsics
Differential Revision: https://reviews.llvm.org/D34161
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305820 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/NeonEmitter.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/TableGen/NeonEmitter.cpp b/utils/TableGen/NeonEmitter.cpp index 49c1edce32..62fcccbacb 100644 --- a/utils/TableGen/NeonEmitter.cpp +++ b/utils/TableGen/NeonEmitter.cpp @@ -860,6 +860,10 @@ void Type::applyModifier(char Mod) { Float = true; ElementBitwidth = 64; break; + case 'H': + Float = true; + ElementBitwidth = 16; + break; case 'g': if (AppliedQuad) Bitwidth /= 2; @@ -1006,7 +1010,7 @@ std::string Intrinsic::getInstTypeCode(Type T, ClassKind CK) const { } static bool isFloatingPointProtoModifier(char Mod) { - return Mod == 'F' || Mod == 'f'; + return Mod == 'F' || Mod == 'f' || Mod == 'H'; } std::string Intrinsic::getBuiltinTypeStr() { |