Path: blob/master/src/hotspot/share/c1/c1_Defs.hpp
40930 views
/*1* Copyright (c) 2000, 2019, 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 SHARE_C1_C1_DEFS_HPP25#define SHARE_C1_C1_DEFS_HPP2627#include "asm/register.hpp"28#include "utilities/globalDefinitions.hpp"29#include "utilities/macros.hpp"3031// set frame size and return address offset to these values in blobs32// (if the compiled frame uses ebp as link pointer on IA; otherwise,33// the frame size must be fixed)34enum {35no_frame_size = -136};3738#include CPU_HEADER(c1_Defs)3940// native word offsets from memory address41enum {42lo_word_offset_in_bytes = pd_lo_word_offset_in_bytes,43hi_word_offset_in_bytes = pd_hi_word_offset_in_bytes44};454647// the processor may require explicit rounding operations to implement the strictFP mode48enum {49strict_fp_requires_explicit_rounding = pd_strict_fp_requires_explicit_rounding50};515253// for debug info: a float value in a register may be saved in double precision by runtime stubs54enum {55float_saved_as_double = pd_float_saved_as_double56};5758#endif // SHARE_C1_C1_DEFS_HPP596061