Path: blob/master/src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.hpp
40930 views
/*1* Copyright (c) 2020, 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_AARCH64_C2_MACROASSEMBLER_AARCH64_HPP25#define CPU_AARCH64_C2_MACROASSEMBLER_AARCH64_HPP2627// C2_MacroAssembler contains high-level macros for C22829public:3031void string_compare(Register str1, Register str2,32Register cnt1, Register cnt2, Register result,33Register tmp1, Register tmp2, FloatRegister vtmp1,34FloatRegister vtmp2, FloatRegister vtmp3, int ae);3536void string_indexof(Register str1, Register str2,37Register cnt1, Register cnt2,38Register tmp1, Register tmp2,39Register tmp3, Register tmp4,40Register tmp5, Register tmp6,41int int_cnt1, Register result, int ae);4243void string_indexof_char(Register str1, Register cnt1,44Register ch, Register result,45Register tmp1, Register tmp2, Register tmp3);4647void stringL_indexof_char(Register str1, Register cnt1,48Register ch, Register result,49Register tmp1, Register tmp2, Register tmp3);5051#endif // CPU_AARCH64_C2_MACROASSEMBLER_AARCH64_HPP525354