Skip to content

Commit

Permalink
8316743: RISC-V: Change UseVectorizedMismatchIntrinsic option result …
Browse files Browse the repository at this point in the history
…to warning

Reviewed-by: fyang, luhenry
  • Loading branch information
Ilya Gavrilin authored and Vladimir Kempik committed Sep 27, 2023
1 parent b8cec48 commit 750da00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/cpu/riscv/c1_LIRGenerator_riscv.cpp
Expand Up @@ -801,7 +801,7 @@ void LIRGenerator::do_FmaIntrinsic(Intrinsic* x) {
}

void LIRGenerator::do_vectorizedMismatch(Intrinsic* x) {
fatal("vectorizedMismatch intrinsic is not implemented on this platform");
ShouldNotReachHere();
}

// _i2l, _i2f, _i2d, _l2i, _l2f, _l2d, _f2i, _f2l, _f2d, _d2i, _d2l, _d2f
Expand Down
5 changes: 5 additions & 0 deletions src/hotspot/cpu/riscv/vm_version_riscv.cpp
Expand Up @@ -182,6 +182,11 @@ void VM_Version::initialize() {
FLAG_SET_DEFAULT(UseCRC32CIntrinsics, false);
}

if (UseVectorizedMismatchIntrinsic) {
warning("VectorizedMismatch intrinsic is not available on this CPU.");
FLAG_SET_DEFAULT(UseVectorizedMismatchIntrinsic, false);
}

if (FLAG_IS_DEFAULT(UseMD5Intrinsics)) {
FLAG_SET_DEFAULT(UseMD5Intrinsics, true);
}
Expand Down

5 comments on commit 750da00

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

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

@RealFYang
Copy link
Member

Choose a reason for hiding this comment

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

/backport jdk21u

@openjdk
Copy link

@openjdk openjdk bot commented on 750da00 Oct 3, 2023

Choose a reason for hiding this comment

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

@RealFYang the backport was successfully created on the branch RealFYang-backport-750da001 in my personal fork of openjdk/jdk21u. To create a pull request with this backport targeting openjdk/jdk21u:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

This pull request contains a backport of commit 750da001 from the openjdk/jdk repository.

The commit being backported was authored by Ilya Gavrilin on 27 Sep 2023 and was reviewed by Fei Yang and Ludovic Henry.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk21u:

$ git fetch https://github.com/openjdk-bots/jdk21u.git RealFYang-backport-750da001:RealFYang-backport-750da001
$ git checkout RealFYang-backport-750da001
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk21u.git RealFYang-backport-750da001

@RealFYang
Copy link
Member

Choose a reason for hiding this comment

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

/backport jdk17u-dev

@openjdk
Copy link

@openjdk openjdk bot commented on 750da00 Oct 3, 2023

Choose a reason for hiding this comment

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

@RealFYang the backport was successfully created on the branch RealFYang-backport-750da001 in my personal fork of openjdk/jdk17u-dev. To create a pull request with this backport targeting openjdk/jdk17u-dev:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

This pull request contains a backport of commit 750da001 from the openjdk/jdk repository.

The commit being backported was authored by Ilya Gavrilin on 27 Sep 2023 and was reviewed by Fei Yang and Ludovic Henry.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk17u-dev:

$ git fetch https://github.com/openjdk-bots/jdk17u-dev.git RealFYang-backport-750da001:RealFYang-backport-750da001
$ git checkout RealFYang-backport-750da001
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk17u-dev.git RealFYang-backport-750da001

Please sign in to comment.