Path: blob/aarch64-shenandoah-jdk8u272-b10/hotspot/src/cpu/sparc/vm/c1_Defs_sparc.hpp
32285 views
/*1* Copyright (c) 2000, 2010, 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*/2324#ifndef CPU_SPARC_VM_C1_DEFS_SPARC_HPP25#define CPU_SPARC_VM_C1_DEFS_SPARC_HPP2627// native word offsets from memory address (big endian)28enum {29pd_lo_word_offset_in_bytes = BytesPerInt,30pd_hi_word_offset_in_bytes = 031};323334// explicit rounding operations are not required to implement the strictFP mode35enum {36pd_strict_fp_requires_explicit_rounding = false37};383940// registers41enum {42pd_nof_cpu_regs_frame_map = 32, // number of registers used during code emission43pd_nof_caller_save_cpu_regs_frame_map = 10, // number of cpu registers killed by calls44pd_nof_cpu_regs_reg_alloc = 20, // number of registers that are visible to register allocator45pd_nof_cpu_regs_linearscan = 32,// number of registers visible linear scan46pd_first_cpu_reg = 0,47pd_last_cpu_reg = 31,48pd_last_allocatable_cpu_reg = 19,49pd_first_callee_saved_reg = 0,50pd_last_callee_saved_reg = 13,5152pd_nof_fpu_regs_frame_map = 32, // number of registers used during code emission53pd_nof_caller_save_fpu_regs_frame_map = 32, // number of fpu registers killed by calls54pd_nof_fpu_regs_reg_alloc = 32, // number of registers that are visible to register allocator55pd_nof_fpu_regs_linearscan = 32, // number of registers visible to linear scan56pd_first_fpu_reg = pd_nof_cpu_regs_frame_map,57pd_last_fpu_reg = pd_nof_cpu_regs_frame_map + pd_nof_fpu_regs_frame_map - 1,5859pd_nof_xmm_regs_linearscan = 0,60pd_nof_caller_save_xmm_regs = 0,61pd_first_xmm_reg = -1,62pd_last_xmm_reg = -163};646566// for debug info: a float value in a register is saved in single precision by runtime stubs67enum {68pd_float_saved_as_double = false69};7071#endif // CPU_SPARC_VM_C1_DEFS_SPARC_HPP727374