-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
128-bit integers marked as having an unknown stable ABI #78473
Comments
jonas-schievink
added
A-FFI
Area: Foreign function interface (FFI)
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
labels
Oct 28, 2020
est31
added a commit
to est31/rust
that referenced
this issue
Oct 28, 2020
For the sysv64 ABI, 128 bit integers are well defined. Fixes rust-lang#78473.
Made a PR to allow it on sysv64: #78481 |
workingjubilee
added
the
A-ABI
Area: Concerning the application binary interface (ABI)
label
Jul 1, 2022
Making some notes here for the next swing at a generic integers RFC:
extern "C" fn by_value_int128s(a: i128, b: i128, c: i128, d: i64, e: i128) -> i128 __int128 by_value_int128s(__int128 a, __int128 b, __int128 c, int64_t d, __int128 e);
_BitInt(128) by_value_big_bitints(_BitInt(128) a, _BitInt(128) b, _BitInt(128) c, int64_t d, _BitInt(128) e); I have opened an issue regarding this at the x86-64-ABI gitlab. However they may have good reasons for their current spec, so it is not guaranteed they will consider this a spec bug. |
Did a bit of sleuthing, I believe these are the two relevant sections (based on the commit at time of OP): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Introduced by 549dd10 128-bit integers used in e.g.
extern "sysv64"
produce the warning:I dispute this statement by pointing to the now de facto source of the x86-64 System V ABI:
The text was updated successfully, but these errors were encountered: