Re:Zig / C++ Interop
by anematode on Tuesday November 11, 2025 @10:12AM
(#45888151)
It's fixed if you pass -fno-trapping-math. There could be junk in the upper half of the registers that causes a floating-point exception.
[ Parent
| on HN ]
Re:Zig / C++ Interop
by threeducks on Tuesday November 11, 2025 @10:21AM
(#45888278)
Oh, that explains the seemingly useless movs. Thank you! I simply thought that it was a bug, since clang did not emit them.