Skip to content

8356971: [JVMCI] Export VM_Version::supports_avx512_simd_sort to JVMCI compiler #25225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/hotspot/share/jvmci/jvmciCompilerToVM.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ class CompilerToVM {

#ifdef X86
static int L1_line_size;
static bool supports_avx512_simd_sort;
#endif

static address dsin;
Expand Down
2 changes: 2 additions & 0 deletions src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ int CompilerToVM::Data::cardtable_shift;

#ifdef X86
int CompilerToVM::Data::L1_line_size;
bool CompilerToVM::Data::supports_avx512_simd_sort;
#endif

size_t CompilerToVM::Data::vm_page_size;
Expand Down Expand Up @@ -256,6 +257,7 @@ void CompilerToVM::Data::initialize(JVMCI_TRAPS) {

#ifdef X86
L1_line_size = VM_Version::L1_line_size();
supports_avx512_simd_sort = VM_Version::supports_avx512_simd_sort();
#endif

vm_page_size = os::vm_page_size();
Expand Down
1 change: 1 addition & 0 deletions src/hotspot/share/jvmci/vmStructs_jvmci.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
static_field(CompilerToVM::Data, cardtable_shift, int) \
\
X86_ONLY(static_field(CompilerToVM::Data, L1_line_size, int)) \
X86_ONLY(static_field(CompilerToVM::Data, supports_avx512_simd_sort, bool)) \
\
static_field(CompilerToVM::Data, vm_page_size, size_t) \
\
Expand Down