Browse Source

Allow floating-point values to be passed in "fastcall" registers.

cache-refactoring
Rhys Weatherley 21 years ago
parent
commit
3e1f1bf916
  1. 3
      ChangeLog
  2. 1
      tools/gen-apply.c

3
ChangeLog

@ -4,6 +4,9 @@
* jit/jit-reg-alloc.c (_jit_regs_set_outgoing): pass 64-bit "fastcall" * jit/jit-reg-alloc.c (_jit_regs_set_outgoing): pass 64-bit "fastcall"
parameters in ECX:EDX, not in ECX:EBX. 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> 2004-06-16 Rhys Weatherley <rweather@southern-storm.com.au>
* tools/gen-sel-parser.y: add a missing semi-colon. * tools/gen-sel-parser.y: add a missing semi-colon.

1
tools/gen-apply.c

@ -2314,6 +2314,7 @@ int main(int argc, char *argv[])
/* Detect support for x86 FASTCALL handling code */ /* Detect support for x86 FASTCALL handling code */
#if defined(PLATFORM_IS_X86) #if defined(PLATFORM_IS_X86)
x86_fastcall = 1; x86_fastcall = 1;
floats_in_word_regs = 1;
#endif #endif
/* Detect whether x86 platforms pop the structure return pointer */ /* Detect whether x86 platforms pop the structure return pointer */

Loading…
Cancel
Save