Skip to content

Commit

Permalink
[GR-50938] Update JVMCI to 23+10-jvmci-b01.
Browse files Browse the repository at this point in the history
PullRequest: graal/16988
  • Loading branch information
OracleLabsAutomation authored and zapster committed Feb 19, 2024
2 parents f2b350f + 6787932 commit 39ae91f
Show file tree
Hide file tree
Showing 18 changed files with 276 additions and 173 deletions.
16 changes: 8 additions & 8 deletions common.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

"COMMENT.jdks": "When adding or removing JDKs keep in sync with JDKs in ci/common.jsonnet",
"jdks": {
"galahad-jdk": {"name": "jpg-jdk", "version": "23", "build_id": "jdk-23+9-626", "platformspecific": true, "extrabundles": ["static-libs"]},
"galahad-jdk": {"name": "jpg-jdk", "version": "23", "build_id": "jdk-23+10-725", "platformspecific": true, "extrabundles": ["static-libs"]},

"oraclejdk11": {"name": "jpg-jdk", "version": "11.0.11", "build_id": "jdk-11.0.11+9", "platformspecific": true, "extrabundles": ["static-libs"] },

Expand Down Expand Up @@ -44,13 +44,13 @@
"labsjdk-ee-21Debug": {"name": "labsjdk", "version": "ee-21.0.2+13-jvmci-23.1-b33-debug", "platformspecific": true },
"labsjdk-ee-21-llvm": {"name": "labsjdk", "version": "ee-21.0.2+13-jvmci-23.1-b33-sulong", "platformspecific": true },

"oraclejdk-latest": {"name": "jpg-jdk", "version": "23", "build_id": "jdk-23+9", "platformspecific": true, "extrabundles": ["static-libs"]},
"labsjdk-ce-latest": {"name": "labsjdk", "version": "ce-23+9-jvmci-b01", "platformspecific": true },
"labsjdk-ce-latestDebug": {"name": "labsjdk", "version": "ce-23+9-jvmci-b01-debug", "platformspecific": true },
"labsjdk-ce-latest-llvm": {"name": "labsjdk", "version": "ce-23+9-jvmci-b01-sulong", "platformspecific": true },
"labsjdk-ee-latest": {"name": "labsjdk", "version": "ee-23+9-jvmci-b01", "platformspecific": true },
"labsjdk-ee-latestDebug": {"name": "labsjdk", "version": "ee-23+9-jvmci-b01-debug", "platformspecific": true },
"labsjdk-ee-latest-llvm": {"name": "labsjdk", "version": "ee-23+9-jvmci-b01-sulong", "platformspecific": true }
"oraclejdk-latest": {"name": "jpg-jdk", "version": "23", "build_id": "jdk-23+10", "platformspecific": true, "extrabundles": ["static-libs"]},
"labsjdk-ce-latest": {"name": "labsjdk", "version": "ce-23+10-jvmci-b01", "platformspecific": true },
"labsjdk-ce-latestDebug": {"name": "labsjdk", "version": "ce-23+10-jvmci-b01-debug", "platformspecific": true },
"labsjdk-ce-latest-llvm": {"name": "labsjdk", "version": "ce-23+10-jvmci-b01-sulong", "platformspecific": true },
"labsjdk-ee-latest": {"name": "labsjdk", "version": "ee-23+10-jvmci-b01", "platformspecific": true },
"labsjdk-ee-latestDebug": {"name": "labsjdk", "version": "ee-23+10-jvmci-b01-debug", "platformspecific": true },
"labsjdk-ee-latest-llvm": {"name": "labsjdk", "version": "ee-23+10-jvmci-b01-sulong", "platformspecific": true }
},

"eclipse": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import jdk.vm.ci.code.Register;
import jdk.vm.ci.code.StackSlot;
import jdk.vm.ci.code.TargetDescription;
import jdk.vm.ci.code.site.Infopoint;
import jdk.vm.ci.code.site.Call;

/**
* The platform-independent base class for the assembler.
Expand Down Expand Up @@ -271,11 +271,15 @@ public void maybeEmitIndirectTargetMarker(CompilationResultBuilder crb, Label la

/**
* Some platforms might require special post call code emission.
*
* @param infopoint The infopoint assoicated with the call if any
*/
public void postCallNop(Infopoint infopoint) {
ensureUniquePC();
public void postCallNop(Call call) {
if (call.debugInfo != null) {
// The nop inserted after a call is only required to distinguish
// debug info associated with the call from debug info associated
// with an instruction after the call. If the call has no debug
// info, the extra nop is not required.
ensureUniquePC();
}
}

public void reset() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1985,12 +1985,17 @@ public void illegal() {
*/
@Override
public void align(int modulus) {
align(modulus, position());
}

/**
* Ensure that the code at {@code target} bytes offset from the current {@link #position()} is
* aligned according to {@code modulus}.
*/
public void align(int modulus, int target) {
assert modulus > 0 && (modulus & 0b11) == 0 : "Modulus has to be a positive multiple of 4.";
if (position() % modulus == 0) {
return;
}
int offset = modulus - position() % modulus;
for (int i = 0; i < offset; i += 4) {
int delta = target - position();
while ((position() + delta) % modulus != 0) {
nop();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4952,8 +4952,16 @@ public void nullCheck(AMD64Address address) {

@Override
public void align(int modulus) {
if (position() % modulus != 0) {
nop(modulus - (position() % modulus));
align(modulus, position());
}

/**
* Ensure that the code at {@code target} bytes offset from the current {@link #position()} is
* aligned according to {@code modulus}.
*/
public void align(int modulus, int target) {
if (target % modulus != 0) {
nop(modulus - (target % modulus));
}
}

Expand Down
Loading

0 comments on commit 39ae91f

Please sign in to comment.