qbe/tools
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
..
mgen mgen: match automatons and C generation 2024-04-09 21:45:42 +02:00
abi8.py new abi stress test 2022-03-10 16:01:50 +01:00
abifuzz.sh Makefile: POSIXify 2022-06-14 13:58:01 +02:00
callgen.ml get more entropy in callgen.ml 2016-03-29 10:28:21 -04:00
cra.sh Makefile: POSIXify 2022-06-14 13:58:01 +02:00
lexh.c add common linkage for data 2024-04-12 11:33:58 +02:00
log2.c qbe has its own magic 2024-06-17 13:17:39 +02:00
pmov.c Rearrange the fields in Ins so the bit-fields get packed together 2019-03-14 10:12:55 +01:00
test.sh Implementation of Windows amd64_win target 2026-02-12 09:17:17 +01:00
vatest.py regenerate test/vararg2.ssa 2022-08-31 17:16:29 +02:00