aboutsummaryrefslogtreecommitdiffstats
path: root/test/regression/interop1.c
Commit message (Collapse)AuthorAgeFilesLines
* Improvements in the StructReturn transformation (ABI conformance for passing ↵Xavier Leroy2015-03-201-213/+193
| | | | | | | | composites). - Implement the "1/2/4/8" composite return policy, used by IA32/MacOS X and IA32/BSD. - Move the default passing conventions from Machine.ml to compcert.ini, making it easier to test the various conventions. - More comprehensive interoperability test in regression/interop1.c.
* More interoperability tests.Xavier Leroy2015-01-281-5/+26
|
* ABI compatibility for struct/union function arguments passed by value.Xavier Leroy2015-01-271-0/+285
The passing of struct/union arguments by value implemented in the verified part of CompCert is not compatible with the ARM, PowerPC and x86 ABI. Here we enrich the StructReturn source-to-source emulation pass so that it implements the calling conventions defined in these ABIs. Plus: for x86, implement the returning of struct/union results by value in a way compatible with the ABI.