18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef CPU_AARCH64_C2_MACROASSEMBLER_AARCH64_HPP
26 #define CPU_AARCH64_C2_MACROASSEMBLER_AARCH64_HPP
27
28 // C2_MacroAssembler contains high-level macros for C2
29
30 private:
31 // Return true if the phase output is in the scratch emit size mode.
32 virtual bool in_scratch_emit_size() override;
33
34 void neon_reduce_logical_helper(int opc, bool sf, Register Rd, Register Rn, Register Rm,
35 enum shift_kind kind = Assembler::LSL, unsigned shift = 0);
36
37 public:
38 void emit_entry_barrier_stub(C2EntryBarrierStub* stub);
39 static int entry_barrier_stub_size();
40
41 void string_compare(Register str1, Register str2,
42 Register cnt1, Register cnt2, Register result,
43 Register tmp1, Register tmp2, FloatRegister vtmp1,
44 FloatRegister vtmp2, FloatRegister vtmp3,
45 PRegister pgtmp1, PRegister pgtmp2, int ae);
46
47 void string_indexof(Register str1, Register str2,
48 Register cnt1, Register cnt2,
49 Register tmp1, Register tmp2,
50 Register tmp3, Register tmp4,
51 Register tmp5, Register tmp6,
52 int int_cnt1, Register result, int ae);
53
54 void string_indexof_char(Register str1, Register cnt1,
55 Register ch, Register result,
56 Register tmp1, Register tmp2, Register tmp3);
57
|
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef CPU_AARCH64_C2_MACROASSEMBLER_AARCH64_HPP
26 #define CPU_AARCH64_C2_MACROASSEMBLER_AARCH64_HPP
27
28 // C2_MacroAssembler contains high-level macros for C2
29
30 private:
31 // Return true if the phase output is in the scratch emit size mode.
32 virtual bool in_scratch_emit_size() override;
33
34 void neon_reduce_logical_helper(int opc, bool sf, Register Rd, Register Rn, Register Rm,
35 enum shift_kind kind = Assembler::LSL, unsigned shift = 0);
36
37 public:
38 void entry_barrier();
39 void emit_entry_barrier_stub(C2EntryBarrierStub* stub);
40 static int entry_barrier_stub_size();
41
42 void string_compare(Register str1, Register str2,
43 Register cnt1, Register cnt2, Register result,
44 Register tmp1, Register tmp2, FloatRegister vtmp1,
45 FloatRegister vtmp2, FloatRegister vtmp3,
46 PRegister pgtmp1, PRegister pgtmp2, int ae);
47
48 void string_indexof(Register str1, Register str2,
49 Register cnt1, Register cnt2,
50 Register tmp1, Register tmp2,
51 Register tmp3, Register tmp4,
52 Register tmp5, Register tmp6,
53 int int_cnt1, Register result, int ae);
54
55 void string_indexof_char(Register str1, Register cnt1,
56 Register ch, Register result,
57 Register tmp1, Register tmp2, Register tmp3);
58
|