Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Commit

Permalink
[GR-31879] Export _sha3_implCompress, _md5_implCompress and aarch64::…
Browse files Browse the repository at this point in the history
…_has_negatives stubs to JVMCI compiler (JDK-8282044).

PullRequest: labsjdk-ce-17/23
  • Loading branch information
mur47x111 committed Feb 18, 2022
2 parents 02eb79f + 82c76aa commit 4bbdb6c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/hotspot/cpu/aarch64/stubRoutines_aarch64.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ class aarch64 {

static address _zero_blocks;

static address _has_negatives;
static address _has_negatives_long;
static address _large_array_equals;
static address _compare_long_string_LL;
static address _compare_long_string_LU;
Expand All @@ -78,6 +76,9 @@ class aarch64 {

public:

static address _has_negatives;
static address _has_negatives_long;

static address get_previous_sp_entry()
{
return _get_previous_sp_entry;
Expand Down
6 changes: 6 additions & 0 deletions src/hotspot/share/jvmci/vmStructs_jvmci.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,12 +312,16 @@
static_field(StubRoutines, _base64_encodeBlock, address) \
static_field(StubRoutines, _base64_decodeBlock, address) \
static_field(StubRoutines, _ghash_processBlocks, address) \
static_field(StubRoutines, _md5_implCompress, address) \
static_field(StubRoutines, _md5_implCompressMB, address) \
static_field(StubRoutines, _sha1_implCompress, address) \
static_field(StubRoutines, _sha1_implCompressMB, address) \
static_field(StubRoutines, _sha256_implCompress, address) \
static_field(StubRoutines, _sha256_implCompressMB, address) \
static_field(StubRoutines, _sha512_implCompress, address) \
static_field(StubRoutines, _sha512_implCompressMB, address) \
static_field(StubRoutines, _sha3_implCompress, address) \
static_field(StubRoutines, _sha3_implCompressMB, address) \
static_field(StubRoutines, _updateBytesCRC32, address) \
static_field(StubRoutines, _crc_table_adr, address) \
static_field(StubRoutines, _crc32c_table_addr, address) \
Expand Down Expand Up @@ -748,6 +752,8 @@

#define VM_STRUCTS_CPU(nonstatic_field, static_field, unchecked_nonstatic_field, volatile_nonstatic_field, nonproduct_nonstatic_field, c2_nonstatic_field, unchecked_c1_static_field, unchecked_c2_static_field) \
static_field(VM_Version, _zva_length, int) \
static_field(StubRoutines::aarch64, _has_negatives, address) \
static_field(StubRoutines::aarch64, _has_negatives_long, address) \
volatile_nonstatic_field(JavaFrameAnchor, _last_Java_fp, intptr_t*)

#define DECLARE_INT_CPU_FEATURE_CONSTANT(id, name, bit) GENERATE_VM_INT_CONSTANT_ENTRY(VM_Version::CPU_##id)
Expand Down

0 comments on commit 4bbdb6c

Please sign in to comment.