diff options
| author | LemonBoy <thatlemon@gmail.com> | 2021-04-30 17:11:03 +0200 |
|---|---|---|
| committer | LemonBoy <thatlemon@gmail.com> | 2021-04-30 17:11:03 +0200 |
| commit | 807bb7c03fc98e3792ece7e0573e226727c18129 (patch) | |
| tree | 91563f5b460b932576cc754feb51ad4fa5147bc8 /src/zig_llvm.cpp | |
| parent | 55c58f226d06d3708a82878a67f3800e0ce5810b (diff) | |
| download | zig-807bb7c03fc98e3792ece7e0573e226727c18129.tar.gz zig-807bb7c03fc98e3792ece7e0573e226727c18129.zip | |
std: Improve spinloop hint
* Add a yield pattern for PowerPC64
* Fix compile error on pre-v6 ARM targets
* Use isb instead of yield on AArch64 to give the CPU a chance to enter
low-power states.
* Make the hint an inline function, the call overhead can be avoided.
Diffstat (limited to 'src/zig_llvm.cpp')
0 files changed, 0 insertions, 0 deletions
