You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at disassembly output I'm seeing that the version built with gnat-llvm passes the struct via RDI register while version built with gcc passes the struct via XMM0 (like the convention used on x86_64 linux assumes):
Minimal example I could come up with:
hello.c:
mini.ada:
gnat-llvm gives incorrect results, while gcc gives the correct one:
Looking at disassembly output I'm seeing that the version built with gnat-llvm passes the struct via RDI register while version built with gcc passes the struct via XMM0 (like the convention used on x86_64 linux assumes):
So I'm wondering whether the issue is reproducible for anyone else, or if it's something wrong with my gnat-llvm setup.
The text was updated successfully, but these errors were encountered: