From 3e1f1bf9169a397954b79b9e913860f33e80e0c4 Mon Sep 17 00:00:00 2001 From: Rhys Weatherley Date: Thu, 17 Jun 2004 00:38:33 +0000 Subject: [PATCH] Allow floating-point values to be passed in "fastcall" registers. --- ChangeLog | 3 +++ tools/gen-apply.c | 1 + 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index eced4aa..0eed2f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,9 @@ * jit/jit-reg-alloc.c (_jit_regs_set_outgoing): pass 64-bit "fastcall" parameters in ECX:EDX, not in ECX:EBX. + * tools/gen-apply.c: allow floating-point values to be passed + in "fastcall" registers. + 2004-06-16 Rhys Weatherley * tools/gen-sel-parser.y: add a missing semi-colon. diff --git a/tools/gen-apply.c b/tools/gen-apply.c index 8bf30f4..41194f0 100644 --- a/tools/gen-apply.c +++ b/tools/gen-apply.c @@ -2314,6 +2314,7 @@ int main(int argc, char *argv[]) /* Detect support for x86 FASTCALL handling code */ #if defined(PLATFORM_IS_X86) x86_fastcall = 1; + floats_in_word_regs = 1; #endif /* Detect whether x86 platforms pop the structure return pointer */