From: twisti Date: Tue, 10 Jan 2006 22:18:29 +0000 (+0000) Subject: * SUPPORT_FMOD: Removed. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=36fc3b5717690b88aa4ef9c8e28a0e3ab142ad48;p=cacao.git * SUPPORT_FMOD: Removed. * SUPPORT_IFCVT: Replaced with SUPPORT_I2F, SUPPORT_I2D or SUPPORT_L2F, SUPPORT_L2D. * SUPPORT_LONG_ICVT: Replaced with SUPPORT_F2L or SUPPORT_D2L. * SUPPORT_LONG_FCVT: Replaced with SUPPORT_L2F or SUPPORT_L2D. --- diff --git a/src/vm/jit/i386/arch.h b/src/vm/jit/i386/arch.h index 4ae60a3a7..48345fb0e 100644 --- a/src/vm/jit/i386/arch.h +++ b/src/vm/jit/i386/arch.h @@ -28,7 +28,7 @@ Changes: - $Id: arch.h 3701 2005-11-17 18:57:34Z twisti $ + $Id: arch.h 4133 2006-01-10 22:18:29Z twisti $ */ @@ -59,8 +59,17 @@ #define SUPPORT_FLOAT 1 #define SUPPORT_DOUBLE 1 -#define SUPPORT_IFCVT 1 -#define SUPPORT_FICVT 1 +#define SUPPORT_I2F 1 +#define SUPPORT_I2D 1 +#define SUPPORT_L2F 1 +#define SUPPORT_L2D 1 + +/* ATTENTION: i386 architectures support these conversions, but we + need the builtin functions in corner cases */ +#define SUPPORT_F2I 0 +#define SUPPORT_F2L 0 +#define SUPPORT_D2I 0 +#define SUPPORT_D2L 0 #define SUPPORT_LONG_ADD 1 #define SUPPORT_LONG_CMP 1 @@ -69,8 +78,6 @@ #define SUPPORT_LONG_SHIFT 1 #define SUPPORT_LONG_MUL 1 #define SUPPORT_LONG_DIV 0 -#define SUPPORT_LONG_ICVT 1 -#define SUPPORT_LONG_FCVT 1 #define SUPPORT_CONST_LOGICAL 1 /* AND, OR, XOR with immediates */ #define SUPPORT_CONST_MUL 1 /* mutiply with immediate */ diff --git a/src/vm/jit/x86_64/arch.h b/src/vm/jit/x86_64/arch.h index a39f29754..1a885c741 100644 --- a/src/vm/jit/x86_64/arch.h +++ b/src/vm/jit/x86_64/arch.h @@ -28,7 +28,7 @@ Changes: - $Id: arch.h 3701 2005-11-17 18:57:34Z twisti $ + $Id: arch.h 4133 2006-01-10 22:18:29Z twisti $ */ @@ -46,9 +46,18 @@ #define SUPPORT_LONG 1 #define SUPPORT_FLOAT 1 #define SUPPORT_DOUBLE 1 -/* #define SUPPORT_FMOD 1 */ -/* #define SUPPORT_IFCVT 1 */ -/* #define SUPPORT_FICVT 1 */ + +#define SUPPORT_I2F 1 +#define SUPPORT_I2D 1 +#define SUPPORT_L2F 1 +#define SUPPORT_L2D 1 + +/* ATTENTION: x86_64 architectures support these conversions, but we + need the builtin functions in corner cases */ +#define SUPPORT_F2I 0 +#define SUPPORT_F2L 0 +#define SUPPORT_D2I 0 +#define SUPPORT_D2L 0 #define SUPPORT_LONG_ADD 1 #define SUPPORT_LONG_CMP 1 @@ -57,8 +66,6 @@ #define SUPPORT_LONG_SHIFT 1 #define SUPPORT_LONG_MUL 1 #define SUPPORT_LONG_DIV 1 -#define SUPPORT_LONG_ICVT 1 -#define SUPPORT_LONG_FCVT 1 #define SUPPORT_CONST_LOGICAL 1 /* AND, OR, XOR with immediates */ #define SUPPORT_CONST_MUL 1 /* mutiply with immediate */