diff options
| author | Koakuma <koachan@protonmail.com> | 2025-11-06 04:32:56 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-06 04:32:56 +0700 |
| commit | 0c0b0ea887c8c82881e91b7a6e7ce48ebbe33e61 (patch) | |
| tree | 5bef1b586b0a9826910f72530d0d09d73fd6e4f9 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
| parent | c3b284919139bc0758cd547a56ffd5dbf6e67bb1 (diff) | |
| download | llvm-0c0b0ea887c8c82881e91b7a6e7ce48ebbe33e61.zip llvm-0c0b0ea887c8c82881e91b7a6e7ce48ebbe33e61.tar.gz llvm-0c0b0ea887c8c82881e91b7a6e7ce48ebbe33e61.tar.bz2 | |
[SPARC] Mark branches as being expensive in early Niagara CPUs (#166489)
Early Niagara processors (T1-T3) lacks any branch predictor, yet they
also have a pipeline long enough that the delay slot cannot cover for
all of the branch latency.
This means that branch instructions will stall the processor for a
couple cycles, which makes them an expensive operation. Additionally,
the high cost of branching means that it's still profitable to prefer
conditional moves even when the conditional is predictable, so let LLVM
know about both things.
On SPARC T2, a pgbench test seem to show a modest, but pretty consistent
speedup (up to around 3%).
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions
