]> git.unchartedbackwaters.co.uk Git - francis/libjit.git/commitdiff
Allow floating-point values to be passed in "fastcall" registers.
authorRhys Weatherley <rweather@southern-storm.com.au>
Thu, 17 Jun 2004 00:38:33 +0000 (00:38 +0000)
committerRhys Weatherley <rweather@southern-storm.com.au>
Thu, 17 Jun 2004 00:38:33 +0000 (00:38 +0000)
ChangeLog
tools/gen-apply.c

index eced4aaedff508e1bcdf2df0ce1fe6d827a317b7..0eed2f99e950a6260748ed06bba05311834cedb0 100644 (file)
--- 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  <rweather@southern-storm.com.au>
 
        * tools/gen-sel-parser.y: add a missing semi-colon.
index 8bf30f45a49637b03c2b60af9196692703f4e04f..41194f0741d5aa481d28afec30381e88f5cf42f2 100644 (file)
@@ -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 */