Skip to content

Commit 3b336a9

Browse files
author
Jatin Bhateja
committed
8352675: Support Intel AVX10 converged vector ISA feature detection
Reviewed-by: sviswanathan, vlivanov, yzheng
1 parent 0f2a6c2 commit 3b336a9

File tree

15 files changed

+493
-249
lines changed

15 files changed

+493
-249
lines changed

src/hotspot/cpu/aarch64/vmStructs_aarch64.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@
3535
static_field(VM_Version, _rop_protection, bool) \
3636
static_field(VM_Version, _pac_mask, uintptr_t)
3737

38-
#define VM_TYPES_CPU(declare_type, declare_toplevel_type, declare_oop_type, declare_integer_type, declare_unsigned_integer_type) \
39-
declare_toplevel_type(VM_Version)
38+
#define VM_TYPES_CPU(declare_type, declare_toplevel_type, declare_oop_type, declare_integer_type, declare_unsigned_integer_type)
4039

4140
#define VM_INT_CONSTANTS_CPU(declare_constant, declare_preprocessor_constant)
4241

src/hotspot/cpu/x86/vmStructs_x86.hpp

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,20 @@
2929
// constants required by the Serviceability Agent. This file is
3030
// referenced by vmStructs.cpp.
3131

32-
#define VM_STRUCTS_CPU(nonstatic_field, static_field, unchecked_nonstatic_field, volatile_nonstatic_field, nonproduct_nonstatic_field) \
33-
volatile_nonstatic_field(JavaFrameAnchor, _last_Java_fp, intptr_t*)
32+
#define VM_STRUCTS_CPU(nonstatic_field, static_field, unchecked_nonstatic_field, volatile_nonstatic_field, nonproduct_nonstatic_field) \
33+
volatile_nonstatic_field(JavaFrameAnchor, _last_Java_fp, intptr_t*) \
34+
static_field(VM_Version, _features, VM_Version::VM_Features) \
35+
nonstatic_field(VM_Version::VM_Features, _features_bitmap[0], uint64_t) \
36+
static_field(VM_Version::VM_Features, _features_bitmap_size, int)
3437

3538
#define VM_TYPES_CPU(declare_type, declare_toplevel_type, declare_oop_type, declare_integer_type, declare_unsigned_integer_type) \
39+
declare_toplevel_type(VM_Version::VM_Features)
3640

3741
#define VM_INT_CONSTANTS_CPU(declare_constant, declare_preprocessor_constant) \
38-
LP64_ONLY(declare_constant(frame::arg_reg_save_area_bytes)) \
39-
declare_constant(frame::interpreter_frame_sender_sp_offset) \
40-
declare_constant(frame::interpreter_frame_last_sp_offset)
42+
declare_constant(frame::arg_reg_save_area_bytes) \
43+
declare_constant(frame::interpreter_frame_sender_sp_offset) \
44+
declare_constant(frame::interpreter_frame_last_sp_offset) \
45+
declare_constant(frame::entry_frame_call_wrapper_offset)
4146

4247
#define VM_LONG_CONSTANTS_CPU(declare_constant, declare_preprocessor_constant)
4348

0 commit comments

Comments
 (0)