1879N/A * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 0N/A * published by the Free Software Foundation. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1472N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 0N/A// C1_MacroAssembler contains high-level macros for C1 0N/A Register obj,
// result: pointer to object after successful allocation 0N/A // hdr : must be rax, contents destroyed 0N/A // obj : must point to the object to lock, contents preserved 0N/A // disp_hdr: must point to the displaced header location, contents preserved 0N/A // scratch : scratch register, contents destroyed 0N/A // returns code offset at which to add null check debug information 0N/A // hdr : contents destroyed 0N/A // obj : must point to the object to lock, contents preserved 0N/A // disp_hdr: must be eax & must point to the displaced header location, contents destroyed 0N/A Register obj,
// result: pointer to object after successful allocation 0N/A // allocation of fixed-size objects 0N/A // (can also be used to allocate fixed-size arrays, by setting 0N/A // hdr_size correctly and storing the array length afterwards) 0N/A // obj : must be rax, will contain pointer to allocated object 0N/A // t1, t2 : scratch registers - contents destroyed 0N/A // header_size: size of object header in words 0N/A // object_size: total size of object in words 0N/A // slow_case : exit to slow case implementation if fast allocation fails 0N/A // allocation of arrays 0N/A // obj : must be rax, will contain pointer to allocated object 0N/A // len : array length in number of elements 0N/A // t : scratch register - contents destroyed 0N/A // header_size: size of object header in words 0N/A // f : element scale factor 0N/A // slow_case : exit to slow case implementation if fast allocation fails 0N/A // Note: NEVER push values directly, but only through following push_xxx functions; 0N/A // This helps us to track the rsp changes compared to the entry rsp (->_rsp_offset) 304N/A // Seems to always be in wordSize 1879N/A#
endif // CPU_X86_VM_C1_MACROASSEMBLER_X86_HPP