Tomas Lindquist Olsen
f25bbe3d09
Fixed inreg attribute to no longer overwrite sign/zeroext.
2009-03-03 21:20:20 +01:00
Tomas Lindquist Olsen
5dbe3ee8e2
Abstracted more (most) ABI details out of the normal codegen.
2009-03-03 02:51:21 +01:00
Tomas Lindquist Olsen
61dfb11bc5
- Fixed x86-32 C ABI for complex number return values.
...
- Removed unused code from the ABI class.
2009-03-01 19:01:05 +01:00
Frits van Bommel
03ce6604a0
Fix cfloat return on x86_64: only perform ABI transformation for non-extern(D)
...
functions.
There's no need to waste cycles with extern(D), which we get to define
ourselves. Fixes tests/mini/asm8.d. (Since the asm abiret code already assumed
{xmm0, xmm1} returns)
2009-02-26 23:35:39 +01:00
Frits van Bommel
001f83a296
Don't crash if we don't know what ABI to use. Assume some defaults instead.
2009-02-26 15:23:52 +01:00
Frits van Bommel
ff31c804a9
Fix x86_64 cfloat support to work on intended target :)
2009-02-26 14:48:47 +01:00
Tomas Lindquist Olsen
024946219a
Forgot new files that were supposed to be in last commit.
2009-02-26 14:13:27 +01:00