< prev index next >

src/cpu/ppc/vm/macroAssembler_ppc.hpp

Print this page
rev 12397 : 8170991: PPC64: Bad code for initialization of short arrays
Summary: Implement special ClearArray nodes to improve initialization.
Reviewed-by:

*** 753,763 **** static bool is_trap_range_check(int x) { return is_trap_range_check_l(x) || is_trap_range_check_le(x) || is_trap_range_check_g(x) || is_trap_range_check_ge(x); } ! void clear_memory_doubleword(Register base_ptr, Register cnt_dwords, Register tmp = R0); #ifdef COMPILER2 // Intrinsics for CompactStrings // Compress char[] to byte[] by compressing 16 bytes at once. void string_compress_16(Register src, Register dst, Register cnt, --- 753,765 ---- static bool is_trap_range_check(int x) { return is_trap_range_check_l(x) || is_trap_range_check_le(x) || is_trap_range_check_g(x) || is_trap_range_check_ge(x); } ! void clear_memory_unrolled(Register base_ptr, int cnt_dwords, Register tmp = R0, int offset = 0); ! void clear_memory_constlen(Register base_ptr, int cnt_dwords, Register tmp = R0); ! void clear_memory_doubleword(Register base_ptr, Register cnt_dwords, Register tmp = R0, long const_cnt = -1); #ifdef COMPILER2 // Intrinsics for CompactStrings // Compress char[] to byte[] by compressing 16 bytes at once. void string_compress_16(Register src, Register dst, Register cnt,
< prev index next >