tinycc/win32
Benjamin Oldenburg 4fb1e212c1 winnt.h: fix ARM64 CONTEXT V register type
The fallback CONTEXT struct for ARM64 (used when __aarch64__ is defined
but _ARM64_CONTEXT_DECLARED is not set) incorrectly defined V[32] as
DWORD64 (64-bit) instead of ARM64_NT_NEON128 (128-bit).

This caused register corruption when RtlRestoreContext restores NEON/VFP
registers, as the struct size was 256 bytes instead of the correct
512 bytes.

Fixes potential corruption on toolchains that define __aarch64__ but not
_ARM64_ (e.g., clang on macOS or certain cross-compilation scenarios).
2026-04-04 20:02:32 +07:00
..
examples tccgen/win32: let __declspec(dllimport) imply extern 2017-04-04 08:34:52 +02:00
include winnt.h: fix ARM64 CONTEXT V register type 2026-04-04 20:02:32 +07:00
lib arm64: support mnemonic win32 stack helpers 2026-04-04 20:02:32 +07:00
build-tcc.bat arm64: clarify inline asm support boundary 2026-04-04 20:02:32 +07:00
tcc-win32.txt win32: tcc-win32.txt: fixup 2 mingw includes note 2024-10-23 16:32:49 +03:00
test_arm64_backtrace.c Add ARM64 Windows coverage and fix native run guard 2026-04-04 20:02:31 +07:00
test_arm64_inline_asm.c Add ARM64 Windows coverage and fix native run guard 2026-04-04 20:02:31 +07:00
test_arm64_libtcc_context.c Fix Windows ARM64 runtime regressions and coverage 2026-04-04 20:02:31 +07:00
test_arm64_libtcc_context.S arm64: support mnemonic win32 stack helpers 2026-04-04 20:02:32 +07:00
test_arm64.c Add and stabilize Windows ARM64 support 2026-04-04 20:02:31 +07:00
test_pe_field_alignment.c Fix Windows ARM64 runtime regressions and coverage 2026-04-04 20:02:31 +07:00
test_pe_field_alignment.ref Fix Windows ARM64 runtime regressions and coverage 2026-04-04 20:02:31 +07:00
test_rstdin.c Fix Windows ARM64 runtime regressions 2026-04-04 20:02:31 +07:00
test_run_argv.c Fix Windows ARM64 runtime regressions and coverage 2026-04-04 20:02:31 +07:00
test_run_argv.ref Fix Windows ARM64 runtime regressions and coverage 2026-04-04 20:02:31 +07:00
test_run_exit.c Fix Windows ARM64 runtime regressions and coverage 2026-04-04 20:02:31 +07:00
test_run_stdin.c Fix Windows ARM64 runtime regressions and coverage 2026-04-04 20:02:31 +07:00
test_run_stdin.ref Fix Windows ARM64 runtime regressions and coverage 2026-04-04 20:02:31 +07:00