teapotd opened PR #1510 from abi-i128-fix to master:
Current implementation of
legalize_signaturefor x86 ABI assumes struct-return parameters can be generated only for multi-return functions. This is incorrect: functions can become multi-return after splitting return values inlegalize_args- for example functions that returni128. This PR removes this assumption. Fixes #1162.
- [x] This has been discussed in issue #1162
- [x] This PR contains test cases, if meaningful.
- [ ] I'm new to the project, I don't know who could review this.
teapotd updated PR #1510 from abi-i128-fix to master:
Current implementation of
legalize_signaturefor x86 ABI assumes struct-return parameters can be generated only for multi-return functions. This is incorrect: functions can become multi-return after splitting return values inlegalize_args- for example functions that returni128. This PR removes this assumption. Fixes #1162.
- [x] This has been discussed in issue #1162
- [x] This PR contains test cases, if meaningful.
- [ ] I'm new to the project, I don't know who could review this.
teapotd edited PR #1510 from abi-i128-fix to master:
Current implementation of
legalize_signaturefor x86 ABI assumes struct-return parameters can be generated only for multi-return functions. This is incorrect: functions can become multi-return after splitting return values inlegalize_args- for example functions that returni128. This PR removes this assumption. Fixes #1162.
- [x] This has been discussed in issue #1162
- [x] This PR contains test cases, if meaningful.
- [x] I'm new to the project, I don't know who could review this.
bjorn3 submitted PR Review.
bjorn3 created PR Review Comment:
Please also add a
system_vtest and testi128arguments.
teapotd updated PR #1510 from abi-i128-fix to master:
Current implementation of
legalize_signaturefor x86 ABI assumes struct-return parameters can be generated only for multi-return functions. This is incorrect: functions can become multi-return after splitting return values inlegalize_args- for example functions that returni128. This PR removes this assumption. Fixes #1162.
- [x] This has been discussed in issue #1162
- [x] This PR contains test cases, if meaningful.
- [x] I'm new to the project, I don't know who could review this.
teapotd updated PR #1510 from abi-i128-fix to master:
Current implementation of
legalize_signaturefor x86 ABI assumes struct-return parameters can be generated only for multi-return functions. This is incorrect: functions can become multi-return after splitting return values inlegalize_args- for example functions that returni128. This PR removes this assumption. Fixes #1162.
- [x] This has been discussed in issue #1162
- [x] This PR contains test cases, if meaningful.
- [x] I'm new to the project, I don't know who could review this.
teapotd updated PR #1510 from abi-i128-fix to master:
Current implementation of
legalize_signaturefor x86 ABI assumes struct-return parameters can be generated only for multi-return functions. This is incorrect: functions can become multi-return after splitting return values inlegalize_args- for example functions that returni128. This PR removes this assumption. Fixes #1162.
- [x] This has been discussed in issue #1162
- [x] This PR contains test cases, if meaningful.
- [x] I'm new to the project, I don't know who could review this.
fitzgen submitted PR Review.
fitzgen merged PR #1510.
Last updated: Dec 06 2025 at 06:05 UTC