Skip to content

Commit 43e38a1

Browse files
committedJun 9, 2021
8268377: Windows 32bit build fails after JDK-8268174
Reviewed-by: jiefu, mdoerr
1 parent 5fbb62c commit 43e38a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/hotspot/os/windows/os_windows.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2378,7 +2378,7 @@ LONG WINAPI Handle_FLT_Exception(struct _EXCEPTION_POINTERS* exceptionInfo) {
23782378
case EXCEPTION_FLT_OVERFLOW:
23792379
case EXCEPTION_FLT_STACK_CHECK:
23802380
case EXCEPTION_FLT_UNDERFLOW:
2381-
jint fp_control_word = (* (jint*) StubRoutines::addr_fpu_cntrl_wrd_std());
2381+
jint fp_control_word = (* (jint*) StubRoutines::x86::addr_fpu_cntrl_wrd_std());
23822382
if (fp_control_word != ctx->FloatSave.ControlWord) {
23832383
// Restore FPCW and mask out FLT exceptions
23842384
ctx->FloatSave.ControlWord = fp_control_word | 0xffffffc0;

‎src/hotspot/os_cpu/windows_x86/os_windows_x86.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ juint os::cpu_microcode_revision() {
533533

534534
void os::setup_fpu() {
535535
#ifndef AMD64
536-
int fpu_cntrl_word = StubRoutines::fpu_cntrl_wrd_std();
536+
int fpu_cntrl_word = StubRoutines::x86::fpu_cntrl_wrd_std();
537537
__asm fldcw fpu_cntrl_word;
538538
#endif // !AMD64
539539
}

0 commit comments

Comments
 (0)
Please sign in to comment.