8325264: two compiler/intrinsics/float16 tests fail after JDK-8324724

Reviewed-by: thartmann, dfenacci, kvn
This commit is contained in:
Bhavana Kilambi 2024-02-09 16:57:49 +00:00 committed by Vladimir Kozlov
parent 4a3a38d1b7
commit 4368437475
2 changed files with 4 additions and 4 deletions
src/hotspot/share/runtime
test/hotspot/jtreg

@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,7 @@
#include "runtime/frame.hpp"
#include "runtime/mutexLocker.hpp"
#include "runtime/stubCodeGenerator.hpp"
#include "runtime/threadWXSetters.inline.hpp"
#include "utilities/macros.hpp"
// StubRoutines provides entry points to assembly routines used by
@ -453,11 +454,13 @@ class StubRoutines: AllStatic {
static jshort f2hf(jfloat x) {
assert(_f2hf != nullptr, "stub is not implemented on this platform");
MACOS_AARCH64_ONLY(ThreadWXEnable wx(WXExec, Thread::current());) // About to call into code cache
typedef jshort (*f2hf_stub_t)(jfloat x);
return ((f2hf_stub_t)_f2hf)(x);
}
static jfloat hf2f(jshort x) {
assert(_hf2f != nullptr, "stub is not implemented on this platform");
MACOS_AARCH64_ONLY(ThreadWXEnable wx(WXExec, Thread::current());) // About to call into code cache
typedef jfloat (*hf2f_stub_t)(jshort x);
return ((hf2f_stub_t)_hf2f)(x);
}

@ -76,9 +76,6 @@ compiler/jvmci/TestUncaughtErrorInCompileMethod.java 8309073 generic-all
compiler/floatingpoint/TestSubnormalFloat.java 8317810 generic-i586
compiler/floatingpoint/TestSubnormalDouble.java 8317810 generic-i586
compiler/intrinsics/float16/TestConstFloat16ToFloat.java 8325264 macosx-aarch64
compiler/intrinsics/float16/Binary16Conversion.java 8325264 macosx-aarch64
#############################################################################
# :hotspot_gc