|
|
|
|
|
by codedokode
1103 days ago
|
|
> Compilers emit lea on x86-64 these days to save ports and you think they’ll use your faulting add that takes an extra cycle? Definitely not. "Faulting" addition should be as fast as wrapping addition and take a single instruction. Yes, I want hardware-accelerated overflow checking because it leads to more accurate results and prevents security vulnerabilities. By the way, I want FPU operations to cause traps too (when getting infinity or NaN). |
|