check for automatic-builtins (compile this is not affected).
* src/vm/jit/alpha/arch.h,
src/vm/jit/arm/arch.h,
src/vm/jit/i386/arch.h,
src/vm/jit/m68k/arch.h,
src/vm/jit/mips/arch.h,
src/vm/jit/powerpc/arch.h,
src/vm/jit/powerpc64/arch.h,
src/vm/jit/s390/arch.h,
src/vm/jit/sparc64/arch.h,
src/vm/jit/x86_64/arch.h (USEBUILTINTABLE): Removed.
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- $Id: arch.h 7596 2007-03-28 21:05:53Z twisti $
+ $Id: arch.h 7695 2007-04-12 19:49:34Z twisti $
-/* #define USEBUILTINTABLE */
-
#define SUPPORT_DIVISION 0
#define SUPPORT_LONG 1
#define SUPPORT_DIVISION 0
#define SUPPORT_LONG 1
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- Contact: cacao@cacaojvm.org
-
- Authors: Michael Starzinger
- Christian Thalinger
-
- $Id: arch.h 7596 2007-03-28 21:05:53Z twisti $
+ $Id: arch.h 7695 2007-04-12 19:49:34Z twisti $
#ifndef _ARCH_H
#define _ARCH_H
#ifndef _ARCH_H
#define _ARCH_H
/* define architecture features ***********************************************/
#define U8_AVAILABLE 1
/* define architecture features ***********************************************/
#define U8_AVAILABLE 1
-#define USEBUILTINTABLE
-
#define SUPPORT_DIVISION 0
#define SUPPORT_LONG 1
#define SUPPORT_DIVISION 0
#define SUPPORT_LONG 1
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- $Id: arch.h 7596 2007-03-28 21:05:53Z twisti $
+ $Id: arch.h 7695 2007-04-12 19:49:34Z twisti $
-#define USEBUILTINTABLE
-
#define SUPPORT_DIVISION 1
#define SUPPORT_LONG 1
#define SUPPORT_DIVISION 1
#define SUPPORT_LONG 1
-/*#define USE_FAKE_ATOMIC_INSTRUCTIONS 0 */
-
/* define architecture features ***********************************************/
#define U8_AVAILABLE 1
/* define architecture features ***********************************************/
#define U8_AVAILABLE 1
-#define USEBUILTINTABLE
-
#define SUPPORT_DIVISION 0
#define SUPPORT_LONG 0
#define SUPPORT_DIVISION 0
#define SUPPORT_LONG 0
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- $Id: arch.h 7596 2007-03-28 21:05:53Z twisti $
+ $Id: arch.h 7695 2007-04-12 19:49:34Z twisti $
-#define USEBUILTINTABLE
-
#if SIZEOF_VOID_P == 8
#define SUPPORT_DIVISION 1
#if SIZEOF_VOID_P == 8
#define SUPPORT_DIVISION 1
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- $Id: arch.h 7596 2007-03-28 21:05:53Z twisti $
+ $Id: arch.h 7695 2007-04-12 19:49:34Z twisti $
-#define USEBUILTINTABLE
-
#define SUPPORT_DIVISION 1
#define SUPPORT_LONG 1
#define SUPPORT_DIVISION 1
#define SUPPORT_LONG 1
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- $Id: arch.h 7687 2007-04-11 16:39:22Z tbfg $
+ $Id: arch.h 7695 2007-04-12 19:49:34Z twisti $
-/*#define USE_FAKE_ATOMIC_INSTRUCTIONS 0 */
-
/* define architecture features ***********************************************/
#define U8_AVAILABLE 1
/* define architecture features ***********************************************/
#define U8_AVAILABLE 1
-#define USEBUILTINTABLE
-
#define SUPPORT_DIVISION 1
#define SUPPORT_LONG 1
#define SUPPORT_DIVISION 1
#define SUPPORT_LONG 1
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- $Id: arch.h 7680 2007-04-10 05:02:20Z pm $
+ $Id: arch.h 7695 2007-04-12 19:49:34Z twisti $
-#define USEBUILTINTABLE
-
#define SUPPORT_DIVISION 1
#define SUPPORT_LONG 1
#define SUPPORT_DIVISION 1
#define SUPPORT_LONG 1
-/* #define USEBUILTINTABLE */
-
#define SUPPORT_DIVISION 0
#define SUPPORT_LONG 1
#define SUPPORT_DIVISION 0
#define SUPPORT_LONG 1
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- $Id: stack.c 7663 2007-04-04 22:14:42Z twisti $
+ $Id: stack.c 7695 2007-04-12 19:49:34Z twisti $
/* automatically replace some ICMDs with builtins */
/* automatically replace some ICMDs with builtins */
-#if defined(USEBUILTINTABLE)
bte = builtintable_get_automatic(opcode);
bte = builtintable_get_automatic(opcode);
- if (bte && bte->opcode == opcode) {
- iptr->opc = ICMD_BUILTIN;
+ if ((bte != NULL) && (bte->opcode == opcode)) {
+ iptr->opc = ICMD_BUILTIN;
iptr->flags.bits &= INS_FLAG_ID_MASK;
iptr->flags.bits &= INS_FLAG_ID_MASK;
- iptr->sx.s23.s3.bte = bte;
+ iptr->sx.s23.s3.bte = bte;
/* iptr->line is already set */
/* iptr->line is already set */
- jd->isleafmethod = false;
+ jd->isleafmethod = false;
-#endif /* defined(USEBUILTINTABLE) */
/* main opcode switch *************************************/
/* main opcode switch *************************************/
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- $Id: arch.h 7596 2007-03-28 21:05:53Z twisti $
+ $Id: arch.h 7695 2007-04-12 19:49:34Z twisti $
-/* #define USEBUILTINTABLE */
-
#define SUPPORT_DIVISION 1
#define SUPPORT_LONG 1
#define SUPPORT_DIVISION 1
#define SUPPORT_LONG 1