Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Add Phone ME MR2
Browse files Browse the repository at this point in the history
  • Loading branch information
pthalin committed May 11, 2020
1 parent 112fe08 commit e38dc4a
Show file tree
Hide file tree
Showing 6,063 changed files with 1,545,485 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
87 changes: 87 additions & 0 deletions phoneme_advanced_mr2/cdc/build/arm/defs.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
#
# Copyright 1990-2008 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version
# 2 only, as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License version 2 for more details (a copy is
# included at /legal/license.txt).
#
# You should have received a copy of the GNU General Public License
# version 2 along with this work; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301 USA
#
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
# Clara, CA 95054 or visit www.sun.com if you need additional
# information or have any questions.
#
# @(#)defs.mk 1.26 06/10/13
#

#
# defs for arm targets
#

CVM_TARGETOBJS_SPEED += \

CVM_TARGETOBJS_OTHER += \

CVM_SRCDIRS += \
$(CVM_TOP)/src/$(TARGET_CPU_FAMILY)/javavm/runtime

CVM_INCLUDE_DIRS += \
$(CVM_TOP)/src/$(TARGET_CPU_FAMILY)

#
# JIT related settings
#
ifeq ($(CVM_JIT), true)

CVM_TARGETOBJS_SPEED += \
ccmintrinsics_cpu.o

CVM_JCS_CPU_INCLUDES_FILE = \
$(CVM_TOP)/src/arm/javavm/runtime/jit/jitgrammarincludes.jcs

CVM_JCS_CPU_DEFS_FILE = \
$(CVM_TOP)/src/arm/javavm/runtime/jit/jitgrammardefs.jcs

CVM_JCS_CPU_RULES_FILE = \
$(CVM_TOP)/src/arm/javavm/runtime/jit/jitgrammarrules.jcs

# Copy ccm assembler code to the codecache so it is reachable
# with a branch instruction.
CVM_JIT_COPY_CCMCODE_TO_CODECACHE ?= true

CVM_JIT_PMI ?= false
ifeq ($(CVM_JIT_PMI), true)
ifneq ($(CVM_JIT_COPY_CCMCODE_TO_CODECACHE), true)
$(error cannot specify CVM_JIT_PMI=true with CVM_JIT_COPY_CCMCODE_TO_CODECACHE=false)
endif
endif

ifeq ($(CVM_JIT_USE_FP_HARDWARE), true)
CVM_JCS_CPU_RULES_FILE += \
$(CVM_TOP)/src/arm/javavm/runtime/jit/jitfloatgrammarrules.jcs
endif

include $(CDC_DIR)/build/portlibs/defs_jit_risc.mk

endif

#
# Hardware settings.
#

ifdef HW_DIR
ifeq ($(wildcard $(HW_DIR)/build/subsystem.gmk),)
$(error HW_DIR must point to a HW directory)
endif
include $(HW_DIR)/build/subsystem.gmk
endif
60 changes: 60 additions & 0 deletions phoneme_advanced_mr2/cdc/build/linux-arm-bulverde/GNUmakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
#
# @(#)GNUmakefile 1.13 06/10/24
#
# Portions Copyright 2000-2008 Sun Microsystems, Inc. All Rights
# Reserved. Use is subject to license terms.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version
# 2 only, as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License version 2 for more details (a copy is
# included at /legal/license.txt).
#
# You should have received a copy of the GNU General Public License
# version 2 along with this work; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301 USA
#
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
# Clara, CA 95054 or visit www.sun.com if you need additional
# information or have any questions.
#

#
# GNUmakefile for linux-arm-bulverde target using GCC 3.x, WMMX and VFP
#

#
# platform specific architecture flags
#
ASM_ARCH_FLAGS = -Wa,-mcpu=iwmmxt
CC_ARCH_FLAGS = -mcpu=xscale -Wa,-mcpu=iwmmxt
CC_ARCH_FLAGS_FDLIB =
CC_ARCH_FLAGS_LOOP =
LINK_ARCH_FLAGS =
LINK_ARCH_LIBS =

# Bulverde has a wmmx coprocessor
CVM_DEFINES += -DCVM_ARM_HAS_WMMX

# These options are not enabled for linux-arm by default
CVM_DEFINES += -DIAI_CACHEDCONSTANT -DIAI_CACHEDCONSTANT_INLINING
CVM_DEFINES += -DIAI_ARRAY_INIT_BOUNDS_CHECK_ELIMINATION
CVM_DEFINES += -DIAI_FIXUP_FRAME_VMFUNC_INLINING

# assume the JIT is enabled for this device unless told otherwise
CVM_JIT ?= true

# enable code scheduling by default
# NOTE: Code Scheduling appears to be broken, so it is no longer enabled.
# CVM_JIT_CODE_SCHED ?= true

# Only enable USE_GCC2 if GCC 3.x or later is *not* being used
USE_GCC2 ?= false

include ../share/top.mk
65 changes: 65 additions & 0 deletions phoneme_advanced_mr2/cdc/build/linux-arm-bulverdemv/GNUmakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
#
# @(#)GNUmakefile 1.7 06/10/24
#
# Portions Copyright 2000-2008 Sun Microsystems, Inc. All Rights
# Reserved. Use is subject to license terms.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version
# 2 only, as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License version 2 for more details (a copy is
# included at /legal/license.txt).
#
# You should have received a copy of the GNU General Public License
# version 2 along with this work; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301 USA
#
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
# Clara, CA 95054 or visit www.sun.com if you need additional
# information or have any questions.
#

#
# GNUmakefile for linux-arm-bulverde MontaVista target using GCC 3.x,
# AAPCS and VFP
#

#
# platform specific architecture flags
#
ASM_ARCH_FLAGS = -Wa,-mcpu=iwmmxt
CC_ARCH_FLAGS = -Wa,-mcpu=iwmmxt
CC_ARCH_FLAGS_FDLIB =
CC_ARCH_FLAGS_LOOP =
LINK_ARCH_FLAGS =
LINK_ARCH_LIBS =

# Bulverde has a wmmx coprocessor, but there is a WMMX/MontaVista
# incompatiblity that prevents us from using it.
# CVM_DEFINES += -DCVM_ARM_HAS_WMMX

# MontaVista uses AAPCS callng conventions on Bulverde
USE_AAPCS ?= true

# These options are not enabled for linux-arm by default
CVM_DEFINES += -DIAI_CACHEDCONSTANT -DIAI_CACHEDCONSTANT_INLINING
CVM_DEFINES += -DIAI_ARRAY_INIT_BOUNDS_CHECK_ELIMINATION
CVM_DEFINES += -DIAI_FIXUP_FRAME_VMFUNC_INLINING

# assume the JIT is enabled for this device unless told otherwise
CVM_JIT ?= true

# enable code scheduling by default
# NOTE: Code Scheduling appears to be broken, so it is no longer enabled.
# CVM_JIT_CODE_SCHED ?= true

# Only enable USE_GCC2 if GCC 3.x or later is *not* being used
USE_GCC2 ?= false

include ../share/top.mk
61 changes: 61 additions & 0 deletions phoneme_advanced_mr2/cdc/build/linux-arm-familiar/GNUmakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
#
# Copyright 1990-2008 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version
# 2 only, as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License version 2 for more details (a copy is
# included at /legal/license.txt).
#
# You should have received a copy of the GNU General Public License
# version 2 along with this work; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301 USA
#
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
# Clara, CA 95054 or visit www.sun.com if you need additional
# information or have any questions.
#
# @(#)GNUmakefile 1.16 06/10/10
#

#
# GNUmakefile for linux-arm-familiar platform
#

#
# platform specific architecture flags
#
# NOTE: -msoft-float is enabled in linux-arm/defs.mk automatically if
# CVM_FORCE_HARD_FLOAT is not true, which is the default.
#
ASM_ARCH_FLAGS =
CC_ARCH_FLAGS = -mcpu=strongarm110
CC_ARCH_FLAGS_FDLIB =
CC_ARCH_FLAGS_LOOP =
LINK_ARCH_FLAGS =
LINK_ARCH_LIBS =

ifeq ($(CVM_FORCE_HARD_FLOAT),true)
# We need -ffloat-store to fix some hard float issues. Only enable this for
# hard float since it causes unecessary loads and stores when building soft
# float (you'd think gcc would ignore -ffloat-store when using soft float).
CC_ARCH_FLAGS_FDLIB += -ffloat-store
# We need -01 for gcc 2.95.x. For some reason the combination of -02 or
# higher with -ffloat-store actually increases the number of tck failures.
# gcc 3.3.1 works fine with -04.
CC_ARCH_FLAGS_FDLIB += -O1
endif

# assume the JIT is enabled for this device unless told otherwise
CVM_JIT ?= true

# Only enable USE_GCC2 if GCC 3.x or later is *not* being used
USE_GCC2 ?= true

include ../share/top.mk

0 comments on commit e38dc4a

Please sign in to comment.