globalDefinitions_sparc.hpp revision 5776:de6a9e811145
1239671Srwatson/* 2239671Srwatson * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. 3264897Sbrooks * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4239671Srwatson * 5239671Srwatson * This code is free software; you can redistribute it and/or modify it 6244899Srwatson * under the terms of the GNU General Public License version 2 only, as 7244899Srwatson * published by the Free Software Foundation. 8244899Srwatson * 9244899Srwatson * This code is distributed in the hope that it will be useful, but WITHOUT 10239671Srwatson * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11239671Srwatson * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12239671Srwatson * version 2 for more details (a copy is included in the LICENSE file that 13239671Srwatson * accompanied this code). 14239671Srwatson * 15239671Srwatson * You should have received a copy of the GNU General Public License version 16239671Srwatson * 2 along with this work; if not, write to the Free Software Foundation, 17239671Srwatson * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18239671Srwatson * 19239671Srwatson * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20239671Srwatson * or visit www.oracle.com if you need additional information or have any 21239671Srwatson * questions. 22239671Srwatson * 23239671Srwatson */ 24239671Srwatson 25239671Srwatson#ifndef CPU_SPARC_VM_GLOBALDEFINITIONS_SPARC_HPP 26239671Srwatson#define CPU_SPARC_VM_GLOBALDEFINITIONS_SPARC_HPP 27239671Srwatson 28239671Srwatson// Size of Sparc Instructions 29239671Srwatsonconst int BytesPerInstWord = 4; 30239671Srwatson 31239671Srwatsonconst int StackAlignmentInBytes = (2*wordSize); 32239671Srwatson 33239671Srwatson#define SUPPORTS_NATIVE_CX8 34239671Srwatson 35244899Srwatson#endif // CPU_SPARC_VM_GLOBALDEFINITIONS_SPARC_HPP 36239671Srwatson