* Removed all Id tags.
[cacao.git] / src / vm / jit / m68k / arch.h
index ef23c488f9a7d2d78ec334ff7fd280f530c4ead0..5c7b88bf7e791524fbd5508ee25e85c70325ec11 100644 (file)
@@ -22,8 +22,6 @@
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
 
-   $Id: arch.h 5330 2006-09-05 18:43:12Z edwin $
-
 */
 
 
 
 #define U8_AVAILABLE                     1
 
-#define SUPPORT_DIVISION                 0
-#define SUPPORT_LONG                     0
+#define SUPPORT_DIVISION                 1
+#define SUPPORT_LONG                     1
 
 #define SUPPORT_FMOD                     0
 #define SUPPORT_FICVT                    0
 #define SUPPORT_IFCVT                    0
 
-#define SUPPORT_LONG_ADD                 0
+#define SUPPORT_LONG_ADD                 1
 #define SUPPORT_LONG_CMP                 0
 #define SUPPORT_LONG_CMP_CONST           0
 #define SUPPORT_LONG_LOGICAL             0
@@ -54,7 +52,7 @@
 #define SUPPORT_LONG_ICVT                0
 #define SUPPORT_LONG_FCVT                0
 
-#define SUPPORT_CONST_LOGICAL            0  /* AND, OR, XOR with immediates   */
+#define SUPPORT_CONST_LOGICAL            1  /* AND, OR, XOR with immediates   */
 #define SUPPORT_CONST_MUL                1  /* mutiply with immediate         */
 
 #define SUPPORT_CONST_STORE              0  /* do we support const stores     */
                                             /* only store REG_ZERO            */
 
 
-/* float **********************************************************************/
-
-#define SUPPORT_FLOAT                    1
 
-#if defined(ENABLE_SOFT_FLOAT_CMP)
-# define SUPPORT_FLOAT_CMP               0
+#if defined(ENABLE_SOFTFLOAT)
+       #define SUPPORT_FLOAT                   0
+       #define SUPPORT_DOUBLE                  0
+       #define SUPPORT_FLOAT_CMP               0
+       #define SUPPORT_DOUBLE_CMP              0
 #else
-# define SUPPORT_FLOAT_CMP               1
-#endif
+       #define SUPPORT_FLOAT                    1
+       #define SUPPORT_DOUBLE                   1
 
+/* float **********************************************************************/
+       #if defined(ENABLE_SOFT_FLOAT_CMP)
+               #define SUPPORT_FLOAT_CMP               0
+       #else
+               #define SUPPORT_FLOAT_CMP               1
+       #endif
 
 /* double *********************************************************************/
+       #if defined(ENABLE_SOFT_DOUBLE_CMP)
+               #define SUPPORT_DOUBLE_CMP              0
+       #else
+               #define SUPPORT_DOUBLE_CMP              1
+       #endif
 
-#define SUPPORT_DOUBLE                   1
-
-#if defined(ENABLE_SOFT_FLOAT_CMP)
-# define SUPPORT_DOUBLE_CMP              0
-#else
-# define SUPPORT_DOUBLE_CMP              1
 #endif
 
 
-#define HAS_ADDRESS_REGISTER_FILE        1
 
-#define HAS_4BYTE_STACKSLOT            1
+
+
+#define HAS_ADDRESS_REGISTER_FILE        1
 
 /* coldfire has tst instruction */
 #define SUPPORT_BRANCH_CONDITIONAL_CONDITION_REGISTER       1
 
 #define TRACE_ARGS_NUM                 8
 
-#define REG_ZERO 666
+#define REG_ZERO -1
 
 #define SPECIALMEMUSE
 /* #define HAS_4BYTE_STACKSLOT */