c1_Defs.hpp revision 11658:8a5735c11a84
1184610Salfred/* 2184610Salfred * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved. 3184610Salfred * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4184610Salfred * 5184610Salfred * This code is free software; you can redistribute it and/or modify it 6184610Salfred * under the terms of the GNU General Public License version 2 only, as 7184610Salfred * published by the Free Software Foundation. 8184610Salfred * 9184610Salfred * This code is distributed in the hope that it will be useful, but WITHOUT 10184610Salfred * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11184610Salfred * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12184610Salfred * version 2 for more details (a copy is included in the LICENSE file that 13184610Salfred * accompanied this code). 14184610Salfred * 15184610Salfred * You should have received a copy of the GNU General Public License version 16184610Salfred * 2 along with this work; if not, write to the Free Software Foundation, 17184610Salfred * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18184610Salfred * 19184610Salfred * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20184610Salfred * or visit www.oracle.com if you need additional information or have any 21184610Salfred * questions. 22184610Salfred * 23184610Salfred */ 24184610Salfred 25184610Salfred#ifndef SHARE_VM_C1_C1_DEFS_HPP 26184610Salfred#define SHARE_VM_C1_C1_DEFS_HPP 27184610Salfred 28184610Salfred#include "asm/register.hpp" 29184610Salfred#include "utilities/globalDefinitions.hpp" 30184610Salfred#include "utilities/macros.hpp" 31184610Salfred 32184610Salfred// set frame size and return address offset to these values in blobs 33184610Salfred// (if the compiled frame uses ebp as link pointer on IA; otherwise, 34184610Salfred// the frame size must be fixed) 35184610Salfredenum { 36184610Salfred no_frame_size = -1 37188412Sthompsa}; 38188412Sthompsa 39184610Salfred#include CPU_HEADER(c1_Defs) 40184610Salfred 41184610Salfred// native word offsets from memory address 42184610Salfredenum { 43184610Salfred lo_word_offset_in_bytes = pd_lo_word_offset_in_bytes, 44184610Salfred hi_word_offset_in_bytes = pd_hi_word_offset_in_bytes 45184610Salfred}; 46184610Salfred 47184610Salfred 48184610Salfred// the processor may require explicit rounding operations to implement the strictFP mode 49184610Salfredenum { 50184610Salfred strict_fp_requires_explicit_rounding = pd_strict_fp_requires_explicit_rounding 51184610Salfred}; 52184610Salfred 53184610Salfred 54184610Salfred// for debug info: a float value in a register may be saved in double precision by runtime stubs 55184610Salfredenum { 56184610Salfred float_saved_as_double = pd_float_saved_as_double 57184610Salfred}; 58184610Salfred 59184610Salfred#endif // SHARE_VM_C1_C1_DEFS_HPP 60184610Salfred