aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
diff options
context:
space:
mode:
authorClint Caywood <caywood@google.com>2022-01-20 23:27:05 +0000
committerSiva Chandra Reddy <sivachandra@google.com>2022-01-20 23:32:34 +0000
commitd92e5412ea571158b5b524855d19b5eafa0567ce (patch)
tree0e00c7dccdcbfcbac53ade4dcaf438c4ae26f1e0 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parentac2f3df8396ac5bc507bd84eec185d756420e47c (diff)
downloadllvm-d92e5412ea571158b5b524855d19b5eafa0567ce.zip
llvm-d92e5412ea571158b5b524855d19b5eafa0567ce.tar.gz
llvm-d92e5412ea571158b5b524855d19b5eafa0567ce.tar.bz2
[libc] Use __builtin_clz to find leading 1 in hypot
This is an optimization that using a single CPU instruction on supported architectures (amd64 and aarch64, but possibly others) to replace what was previously an iterative look-up-table algorithm. Originally I suggested using inline assembly for this in https://reviews.llvm.org/D117584. Reviewed By: lntue, sivachandra Differential Revision: https://reviews.llvm.org/D117684
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions