Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8293254: x86_64: Extract arraycopy stub implementations into a separa…
…te file

Reviewed-by: dlong, kvn
  • Loading branch information
Vladimir Ivanov committed Sep 6, 2022
1 parent fb6eb6f commit 5b4c415
Show file tree
Hide file tree
Showing 5 changed files with 2,595 additions and 2,569 deletions.
30 changes: 1 addition & 29 deletions src/hotspot/cpu/x86/macroAssembler_x86.hpp
Expand Up @@ -2047,42 +2047,14 @@ class MacroAssembler: public Assembler {
void cache_wb(Address line);
void cache_wbsync(bool is_pre);

#if COMPILER2_OR_JVMCI
void arraycopy_avx3_special_cases(XMMRegister xmm, KRegister mask, Register from,
Register to, Register count, int shift,
Register index, Register temp,
bool use64byteVector, Label& L_entry, Label& L_exit);

void arraycopy_avx3_special_cases_conjoint(XMMRegister xmm, KRegister mask, Register from,
Register to, Register start_index, Register end_index,
Register count, int shift, Register temp,
bool use64byteVector, Label& L_entry, Label& L_exit);

void copy64_masked_avx(Register dst, Register src, XMMRegister xmm,
KRegister mask, Register length, Register index,
Register temp, int shift = Address::times_1, int offset = 0,
bool use64byteVector = false);

void copy32_masked_avx(Register dst, Register src, XMMRegister xmm,
KRegister mask, Register length, Register index,
Register temp, int shift = Address::times_1, int offset = 0);

void copy32_avx(Register dst, Register src, Register index, XMMRegister xmm,
int shift = Address::times_1, int offset = 0);

void copy64_avx(Register dst, Register src, Register index, XMMRegister xmm,
bool conjoint, int shift = Address::times_1, int offset = 0,
bool use64byteVector = false);

#ifdef COMPILER2_OR_JVMCI
void generate_fill_avx3(BasicType type, Register to, Register value,
Register count, Register rtmp, XMMRegister xtmp);

#endif // COMPILER2_OR_JVMCI

OopMap* continuation_enter_setup(int& stack_slots);
void fill_continuation_entry(Register reg_cont_obj, Register reg_flags);
void continuation_enter_cleanup();

#endif // _LP64

void vallones(XMMRegister dst, int vector_len);
Expand Down
251 changes: 0 additions & 251 deletions src/hotspot/cpu/x86/macroAssembler_x86_arrayCopy_avx3.cpp

This file was deleted.

1 comment on commit 5b4c415

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.