Commit Graph

4 Commits

Author SHA1 Message Date
Scott Graham
d166a61141 Implementation of Windows amd64_win target
This is an implementation of the Windows ABI. It supports most features
(struct passing/returning, varargs, env). TLS is not yet supported.

This patch does not actually port QBE to Windows, it only allows QBE to
generate correct asm to target Windows. As a result, testing is
accomplished on a Linux host, by using a cross-compiling toolchain, and
running the resulting binaries by using wine. See:

	TARGET=amd64_win tools/test.sh all

A few cross-platform tests were changed from 'long' to 'long long' in
driver code because long in C does not match the size of a QBE 'l' on
Windows.
2026-02-12 09:17:17 +01:00
Quentin Carbonneaux
327736b3a6 handle large hfas correctly on arm64 2024-12-19 15:27:16 +01:00
Quentin Carbonneaux
9ebb54c568 fix some variadic calls in test/abi8.ssa 2022-08-31 17:16:29 +02:00
Quentin Carbonneaux
7f7e34cd1f new abi stress test 2022-03-10 16:01:50 +01:00