Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
x1f604
on Jan 18, 2024
|
parent
|
context
|
favorite
| on:
Std: Clamp generates less efficient assembly than ...
Even with -march=x86-64-v4 at -O3 the compiler still generates fewer lines of assembly for the incorrect clamp compared to the correct clamp for this "realistic" code:
https://godbolt.org/z/hd44KjMMn
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://godbolt.org/z/hd44KjMMn