aboutsummaryrefslogtreecommitdiff
path: root/test/c_abi/cfuncs.c
AgeCommit message (Collapse)Author
2025-11-27x86_64: fix abi of a struct that partially fits in registersJacob Young
Closes #26035
2025-11-19test: disable a bunch of failing C ABI tests on s390xAlex Rønne Petersen
2025-08-30test: expand C ABI test coverage to hexagon-linux-muslAlex Rønne Petersen
2025-06-05test: Expand target coverage for C ABI tests.Alex Rønne Petersen
2025-05-01wasm-c-abi: llvm fix struct handling + reorganizePavel Verigo
I changed to `wasm/abi.zig`, this design is certainly better than the previous one. Still there is some conflict of interest between llvm and self-hosted backend, better design will appear when abi tests will be tested with self-hosted. Resolves: #23304 Resolves: #23305
2024-09-07mips: fix C ABI compatibilityMaciej 'vesim' Kuliński
2024-05-08x86_64: fix C abi of incomplete sse registerJacob Young
2024-04-22x86_64: fix C abi for unionsJacob Young
Closes #19721
2024-04-06x86_64: fix abi of nested structsJacob Young
2024-02-27Merge pull request #18538 from Pangoraw/wasm_vector_abiLuuk de Gram
wasm: allow non-int vectors
2024-02-20llvm: fix c abi for structs not passed in registersJacob Young
Closes #18916
2024-02-15c_abi: add vector tests for floatsPaul Berg
2024-02-15wasm: enable bool vectors tests for stage2_llvmPaul Berg
2024-02-12x86_64: implement c abi for bool vectorsJacob Young
2023-10-27x86_64: fix c abi test failuresJacob Young
2023-10-26test: enable `c-abi-tests` for the x86_64 backendJacob Young
Add testing for `x86_64_v2` and `x86_64_v3` with the x86_64 backend.
2023-07-28llvm: fix SysV C abi for structs smaller than two eightbytesJacob Young
Closes #16038 Closes #16288
2023-07-27LLVM: always add argument attributes to callsAndrew Kelley
These are needed for correctness. There's no reason to only add them for function pointers. closes #16290
2023-07-26llvm: disable LTO on C ABI testsAndrew Kelley
This required disabling some failing tests. See #14908
2023-01-22llvm: implement explicit Win64 and SysV calling conventionsVeikka Tuominen
2023-01-19llvm: implement Stdcall return typesVeikka Tuominen
2023-01-19llvm: pass non-scalars as byref in .Stdcallkcbanner
- add c_abi tests for .Stdcall - enable (x86|x86_64)-windows-gnu in the c_abi tests
2023-01-14add C ABI tests for exotic float typesVeikka Tuominen
2022-12-20llvm: fix C ABI for <=256 bit vectorsVeikka Tuominen
Closes #13918
2022-11-20llvm: add attributes to the arguments of function pointer callsVeikka Tuominen
Closes #13605
2022-11-20llvm: aarch64 C ABI: pass byref params as mutable pointersVeikka Tuominen
Closes #13597
2022-11-18add C ABI tests with doubleGuillaume Wenzek
const DC = extern struct { v1: f64, v2: u8 }; const CFF = extern struct { v1: u8, v2: f32, v3: f32 }; const PD = extern struct { v1: ?*anyopaque, v2: f64 }; Signed-off-by: Guillaume Wenzek <gwenzek@users.noreply.github.com>
2022-10-22x86_64 llvm: correct lowering of ptr sized float structVeikka Tuominen
Closes #13211
2022-10-22stage2: implement RISCV C ABIVeikka Tuominen
2022-10-22make C ABI tests compile on powerpcVeikka Tuominen
2022-10-22add C ABI tests for simd vectorsVeikka Tuominen
2022-10-21stage2: implement ARM C ABIVeikka Tuominen
Six new passing tests and the previously incorrectly passing complex tests are now skipped.
2022-10-20make C ABI tests compile on arm, mips and riscvVeikka Tuominen
x86_64 24/25 x86 15/25 aarch64 25/25 - all arm 18/25 mips 10/24 riscv64 13/25 wasm32 25/25 - all
2022-10-20stage2: fix handling of aarch64 C ABI float array like structsVeikka Tuominen
Closes #11702 Closes #13125
2022-10-20make C ABI tests compile on i386Veikka Tuominen
2022-10-20stage2: fix x86_64 C ABI of struct with array memberVeikka Tuominen
Closes #12185
2022-10-09C ABI: Add tests for complex float/double supportCody Tapscott
These tests will be failing on many platforms until #8465 is resolved. Luckily, the particular function signature used for __divXc3 and __mulXc3 seems to be OK on x86-64.
2022-09-28stage2: Fix multiple_llvm_int parameter passingCody Tapscott
Small iteration oopsie We could really use some more comprehensive C ABI tests.
2022-09-03Sema: only ABI sized packed structs are extern compatibleVeikka Tuominen
2022-08-26wasm: fix abi size of c_longdoubleLuuk de Gram
According to https://github.com/WebAssembly/tool-conventions/blob/main/BasicCABI.md the size of c's long double is 16 bytes for Wasm, rather than 8 bytes which was the value previously in the compiler. This ensures we not only pass the correct value, but also creates the correct function signature needed to pass the Wasm validator. This also adds an additional test case in c_abi tests.
2022-07-26C ABI tests no longer apply to only stage1Andrew Kelley