summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/ChainedDiagnosticConsumer.cpp
diff options
context:
space:
mode:
authorvhscampos <Victor.Campos@arm.com>2019-10-17 14:10:30 +0100
committervhscampos <Victor.Campos@arm.com>2019-10-28 11:06:58 +0000
commitf6e11a36c49c065cd71e9c54e4fba917da5bbf2e (patch)
tree111c1c361e799280cad8866d7715d2169feeb901 /clang/lib/Frontend/ChainedDiagnosticConsumer.cpp
parent3cb5764f900284666dbb0342c487edb1fde4d7fc (diff)
downloadbcm5719-llvm-f6e11a36c49c065cd71e9c54e4fba917da5bbf2e.tar.gz
bcm5719-llvm-f6e11a36c49c065cd71e9c54e4fba917da5bbf2e.zip
[ARM][AArch64] Implement __cls, __clsl and __clsll intrinsics from ACLE
Summary: Writing support for three ACLE functions: unsigned int __cls(uint32_t x) unsigned int __clsl(unsigned long x) unsigned int __clsll(uint64_t x) CLS stands for "Count number of leading sign bits". In AArch64, these two intrinsics can be translated into the 'cls' instruction directly. In AArch32, on the other hand, this functionality is achieved by implementing it in terms of clz (count number of leading zeros). Reviewers: compnerd Reviewed By: compnerd Subscribers: kristof.beyls, hiraditya, cfe-commits, llvm-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D69250
Diffstat (limited to 'clang/lib/Frontend/ChainedDiagnosticConsumer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud