Path: blob/aarch64-shenandoah-jdk8u272-b10/hotspot/make/solaris/makefiles/sparc.make
32284 views
#1# Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.2# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3#4# This code is free software; you can redistribute it and/or modify it5# under the terms of the GNU General Public License version 2 only, as6# published by the Free Software Foundation.7#8# This code is distributed in the hope that it will be useful, but WITHOUT9# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11# version 2 for more details (a copy is included in the LICENSE file that12# accompanied this code).13#14# You should have received a copy of the GNU General Public License version15# 2 along with this work; if not, write to the Free Software Foundation,16# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17#18# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19# or visit www.oracle.com if you need additional information or have any20# questions.21#22#2324Obj_Files += solaris_sparc.o25ASFLAGS += $(AS_ARCHFLAG)2627ifeq ("${Platform_compiler}", "sparcWorks")28ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \< 505), 1)29# For 5.2 ad_sparc file is compiled with -O2 %%%% remove when adlc is fixed30OPT_CFLAGS/ad_sparc.o = $(OPT_CFLAGS/SLOWER)31OPT_CFLAGS/dfa_sparc.o = $(OPT_CFLAGS/SLOWER)32# CC drops core on systemDictionary.o in -xO4 mode33OPT_CFLAGS/systemDictionary.o = $(OPT_CFLAGS/SLOWER)34# SC5.0 bug 428416835OPT_CFLAGS/carRememberedSet.o = $(OPT_CFLAGS/O2)36# Temporarily drop the optimization level for compiling37# jniHandles.cpp to O3 from O4; see bug 430918138OPT_CFLAGS/jniHandles.o = $(OPT_CFLAGS/O2)39# CC brings an US-II to its knees compiling the vmStructs asserts under -xO440OPT_CFLAGS/vmStructs.o = $(OPT_CFLAGS/O2)41endif # COMPILER_REV_NUMERIC < 50542else43# Options for gcc44OPT_CFLAGS/ad_sparc.o = $(OPT_CFLAGS/SLOWER)45OPT_CFLAGS/dfa_sparc.o = $(OPT_CFLAGS/SLOWER)46OPT_CFLAGS/systemDictionary.o = $(OPT_CFLAGS/SLOWER)47OPT_CFLAGS/carRememberedSet.o = $(OPT_CFLAGS/O2)48OPT_CFLAGS/jniHandles.o = $(OPT_CFLAGS/O2)49OPT_CFLAGS/vmStructs.o = $(OPT_CFLAGS/O2)50endif5152# File-specific adjustments to the PICFLAG, applicable only to SPARC,53# which has a very tight limit on global constant references.5455# Old files which seemed hot at one point or another:56#PICFLAG/runtime.o = $(PICFLAG/BETTER)57#PICFLAG/generateOopMap.o = $(PICFLAG/BETTER)58#PICFLAG/thread.o = $(PICFLAG/BETTER)59#PICFLAG/parse2.o = $(PICFLAG/BETTER)60#PICFLAG/parse1.o = $(PICFLAG/BETTER)61#PICFLAG/universe.o = $(PICFLAG/BETTER)62#PICFLAG/safepoint.o = $(PICFLAG/BETTER)63#PICFLAG/parse3.o = $(PICFLAG/BETTER)64#PICFLAG/compile.o = $(PICFLAG/BETTER)65#PICFLAG/codeBlob.o = $(PICFLAG/BETTER)66#PICFLAG/mutexLocker.o = $(PICFLAG/BETTER)67#PICFLAG/nativeInst_sparc.o = $(PICFLAG/BETTER)68#PICFLAG/methodLiveness.o = $(PICFLAG/BETTER)69#PICFLAG/synchronizer.o = $(PICFLAG/BETTER)70#PICFLAG/method.o = $(PICFLAG/BETTER)71#PICFLAG/space.o = $(PICFLAG/BETTER)72#PICFLAG/interpreterRT_sparc.o = $(PICFLAG/BETTER)73#PICFLAG/generation.o = $(PICFLAG/BETTER)74#PICFLAG/markSweep.o = $(PICFLAG/BETTER)75#PICFLAG/parseHelper.o = $(PICFLAG/BETTER)7677# Confirmed by function-level profiling:78PICFLAG/scavenge.o = $(PICFLAG/BETTER)79PICFLAG/instanceKlass.o = $(PICFLAG/BETTER)80PICFLAG/frame.o = $(PICFLAG/BETTER)81PICFLAG/phaseX.o = $(PICFLAG/BETTER)82PICFLAG/lookupCache.o = $(PICFLAG/BETTER)83PICFLAG/chaitin.o = $(PICFLAG/BETTER)84PICFLAG/type.o = $(PICFLAG/BETTER)85PICFLAG/jvm.o = $(PICFLAG/BETTER)86PICFLAG/jni.o = $(PICFLAG/BETTER)87PICFLAG/matcher.o = $(PICFLAG/BETTER)8889# New from module-level profiling (trustworthy?):90PICFLAG/rememberedSet.o = $(PICFLAG/BETTER)91PICFLAG/frame_sparc.o = $(PICFLAG/BETTER)92PICFLAG/live.o = $(PICFLAG/BETTER)93PICFLAG/vectset.o = $(PICFLAG/BETTER)94PICFLAG/objArrayKlass.o = $(PICFLAG/BETTER)95PICFLAG/do_call.o = $(PICFLAG/BETTER)96PICFLAG/loopnode.o = $(PICFLAG/BETTER)97PICFLAG/cfgnode.o = $(PICFLAG/BETTER)98PICFLAG/ifg.o = $(PICFLAG/BETTER)99PICFLAG/vframe.o = $(PICFLAG/BETTER)100PICFLAG/postaloc.o = $(PICFLAG/BETTER)101PICFLAG/carRememberedSet.o = $(PICFLAG/BETTER)102PICFLAG/gcm.o = $(PICFLAG/BETTER)103PICFLAG/coalesce.o = $(PICFLAG/BETTER)104PICFLAG/oop.o = $(PICFLAG/BETTER)105PICFLAG/oopMap.o = $(PICFLAG/BETTER)106PICFLAG/resourceArea.o = $(PICFLAG/BETTER)107PICFLAG/node.o = $(PICFLAG/BETTER)108PICFLAG/dict.o = $(PICFLAG/BETTER)109PICFLAG/domgraph.o = $(PICFLAG/BETTER)110PICFLAG/dfa_sparc.o = $(PICFLAG/BETTER)111PICFLAG/block.o = $(PICFLAG/BETTER)112PICFLAG/javaClasses.o = $(PICFLAG/BETTER)113114# New hot files:115PICFLAG/classes.o = $(PICFLAG/BETTER)116#PICFLAG/ad_sparc.o = $(PICFLAG/BETTER)117PICFLAG/nmethod.o = $(PICFLAG/BETTER)118PICFLAG/relocInfo.o = $(PICFLAG/BETTER)119PICFLAG/codeBuffer_sparc.o = $(PICFLAG/BETTER)120PICFLAG/callnode.o = $(PICFLAG/BETTER)121PICFLAG/multnode.o = $(PICFLAG/BETTER)122PICFLAG/os_solaris.o = $(PICFLAG/BETTER)123PICFLAG/typeArrayKlass.o = $(PICFLAG/BETTER)124125126