Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
8248347: windows build broken by JDK-8243114
Backport-of: b87302c
  • Loading branch information
Ekaterina Vergizova authored and Yuri Nesterenko committed Dec 11, 2020
1 parent 496b66f commit b7937d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp
Expand Up @@ -3782,7 +3782,7 @@ montgomery_multiply(julong a[], julong b[], julong n[],
julong t0 = 0, t1 = 0, t2 = 0; // Triple-precision accumulator
int i;

assert(inv * n[0] == -1ULL, "broken inverse in Montgomery multiply");
assert(inv * n[0] == ULLONG_MAX, "broken inverse in Montgomery multiply");

for (i = 0; i < len; i++) {
int j;
Expand Down Expand Up @@ -3824,7 +3824,7 @@ montgomery_square(julong a[], julong n[],
julong t0 = 0, t1 = 0, t2 = 0; // Triple-precision accumulator
int i;

assert(inv * n[0] == -1ULL, "broken inverse in Montgomery square");
assert(inv * n[0] == ULLONG_MAX, "broken inverse in Montgomery square");

for (i = 0; i < len; i++) {
int j;
Expand Down

1 comment on commit b7937d8

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

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

Please sign in to comment.