-
-
Notifications
You must be signed in to change notification settings - Fork 267
std.int128
unittest failure with -O1 -mcpu=x86-64-v3
since #4892
#4916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Reduced: import std.int128;
void main() {
auto c = Int128(5, 6);
c *= Int128(10, 20);
c /= Int128(10, 20);
assert(c == Int128(0, 15));
} Works fine with |
Seems to work with LLVM 20, at least the isolated test case. Edit: Hmm not sure, as I can't reproduce the failure on my Intel Raptorlake CPU, when using the prebuilt v1.41.0-beta1 binaries... |
I'm on an AMD Ryzen 7 5825U if it matters |
LLVM 15 is failing |
The prebuilt packages are failing for me too so the flags are enough to be applied to the test program, not the entire runtime build. |
How's |
|
On godbolt, I get znver3 too for some attempts. And there [FWIW, the isolated testcase works because the std.int128 binops are templates, and core.int128 is newly On my laptop's Intel i7-13700H, I haven't managed to make it fail so far. |
LLVM 20 also fails (I've used #4911). |
On an AMD Ryzen 3960X (Zen v2), I can reproduce the failures with prebuilt v1.41.0-beta1 (FWIW, on Ubuntu 24, same as my laptop), with both |
1.41.0-beta1 is failing one of its unittests for me:
I've configured the project with
-DD_FLAGS_RELEASE="-O1;-mcpu=x86-64-v3"
The text was updated successfully, but these errors were encountered: