Re: [Sbcl-commits] master: x86-64, struct-by-value: correctly pass small structs on the stack
Christophe Rhodes via Sbcl-devel <[email protected]> Thu, 23 Apr 2026 21:17:11 +0100
| Newsgroups | gmane.lisp.steel-bank.devel |
|---|---|
| Message-ID | <[email protected]> |
Stas Boukarev <[email protected]> writes: > I just send c-call.lisp to various free LLMs and say "find bugs here". > And also make them generate test cases. > I didn't include any specific test because they won't find new > problems. Sure, but they'll help the day someone wants to make struct-by-value work on platforms that don't support it yet. (Maybe in this grand future that's less necessary because we'll just send riscv's c-call to some LLM and say "now implement the struct-by-value ABI please".) > A test that performs an exhaustive combination of different foreign > types is needed. > But I'm not eager to make that yet. ... that would work too, sure. I can be patient. Thanks, Christophe