From 4e494fddf13df51112a86823f71a9d0404c30202 Mon Sep 17 00:00:00 2001 From: panxuefeng Date: Tue, 11 Feb 2025 16:37:26 +0800 Subject: [PATCH] update LoongArch64 port to 21.0.6 --- LoongArch64-support.patch | 772 ++++++++++++++++++-------------------- openjdk-21.spec | 5 +- 2 files changed, 361 insertions(+), 416 deletions(-) diff --git a/LoongArch64-support.patch b/LoongArch64-support.patch index d8d2b57..4f8b7a6 100644 --- a/LoongArch64-support.patch +++ b/LoongArch64-support.patch @@ -1,5 +1,11 @@ +commit c35d5dd5296952bdcc213ea4e5768085a8d9e35b +Author: panxuefeng +Date: Tue Feb 11 20:20:18 2025 +0800 + + LoongArch Support + diff --git a/make/autoconf/jvm-features.m4 b/make/autoconf/jvm-features.m4 -index 28801984862..c37c5c27429 100644 +index 288019848..c37c5c274 100644 --- a/make/autoconf/jvm-features.m4 +++ b/make/autoconf/jvm-features.m4 @@ -23,6 +23,12 @@ @@ -49,7 +55,7 @@ index 28801984862..c37c5c27429 100644 AC_MSG_RESULT([no, $OPENJDK_TARGET_OS-$OPENJDK_TARGET_CPU]) AVAILABLE=false diff --git a/make/autoconf/platform.m4 b/make/autoconf/platform.m4 -index df610cc489b..9f773892ff1 100644 +index df610cc48..9f773892f 100644 --- a/make/autoconf/platform.m4 +++ b/make/autoconf/platform.m4 @@ -23,6 +23,12 @@ @@ -97,7 +103,7 @@ index df610cc489b..9f773892ff1 100644 elif test "x$OPENJDK_$1_CPU" = xsparc; then diff --git a/src/hotspot/cpu/loongarch/abstractInterpreter_loongarch.cpp b/src/hotspot/cpu/loongarch/abstractInterpreter_loongarch.cpp new file mode 100644 -index 00000000000..5423a479801 +index 000000000..5423a4798 --- /dev/null +++ b/src/hotspot/cpu/loongarch/abstractInterpreter_loongarch.cpp @@ -0,0 +1,155 @@ @@ -258,7 +264,7 @@ index 00000000000..5423a479801 + diff --git a/src/hotspot/cpu/loongarch/assembler_loongarch.cpp b/src/hotspot/cpu/loongarch/assembler_loongarch.cpp new file mode 100644 -index 00000000000..f9528680cf0 +index 000000000..f9528680c --- /dev/null +++ b/src/hotspot/cpu/loongarch/assembler_loongarch.cpp @@ -0,0 +1,820 @@ @@ -1084,7 +1090,7 @@ index 00000000000..f9528680cf0 +} diff --git a/src/hotspot/cpu/loongarch/assembler_loongarch.hpp b/src/hotspot/cpu/loongarch/assembler_loongarch.hpp new file mode 100644 -index 00000000000..dd936b41b8a +index 000000000..dd936b41b --- /dev/null +++ b/src/hotspot/cpu/loongarch/assembler_loongarch.hpp @@ -0,0 +1,3213 @@ @@ -4303,7 +4309,7 @@ index 00000000000..dd936b41b8a +#endif // CPU_LOONGARCH_ASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/assembler_loongarch.inline.hpp b/src/hotspot/cpu/loongarch/assembler_loongarch.inline.hpp new file mode 100644 -index 00000000000..9ca0cd45047 +index 000000000..9ca0cd450 --- /dev/null +++ b/src/hotspot/cpu/loongarch/assembler_loongarch.inline.hpp @@ -0,0 +1,33 @@ @@ -4342,7 +4348,7 @@ index 00000000000..9ca0cd45047 +#endif // CPU_LOONGARCH_ASSEMBLER_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/cpu/loongarch/bytes_loongarch.hpp b/src/hotspot/cpu/loongarch/bytes_loongarch.hpp new file mode 100644 -index 00000000000..763404473e1 +index 000000000..763404473 --- /dev/null +++ b/src/hotspot/cpu/loongarch/bytes_loongarch.hpp @@ -0,0 +1,64 @@ @@ -4412,7 +4418,7 @@ index 00000000000..763404473e1 +#endif // CPU_LOONGARCH_BYTES_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/c1_CodeStubs_loongarch_64.cpp b/src/hotspot/cpu/loongarch/c1_CodeStubs_loongarch_64.cpp new file mode 100644 -index 00000000000..e1cda84acc9 +index 000000000..e1cda84ac --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_CodeStubs_loongarch_64.cpp @@ -0,0 +1,338 @@ @@ -4756,7 +4762,7 @@ index 00000000000..e1cda84acc9 +#undef __ diff --git a/src/hotspot/cpu/loongarch/c1_Defs_loongarch.hpp b/src/hotspot/cpu/loongarch/c1_Defs_loongarch.hpp new file mode 100644 -index 00000000000..65850bc2520 +index 000000000..65850bc25 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_Defs_loongarch.hpp @@ -0,0 +1,88 @@ @@ -4850,7 +4856,7 @@ index 00000000000..65850bc2520 +#endif // CPU_LOONGARCH_C1_DEFS_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/c1_FpuStackSim_loongarch.hpp b/src/hotspot/cpu/loongarch/c1_FpuStackSim_loongarch.hpp new file mode 100644 -index 00000000000..bd8578c72a8 +index 000000000..bd8578c72 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_FpuStackSim_loongarch.hpp @@ -0,0 +1,32 @@ @@ -4888,7 +4894,7 @@ index 00000000000..bd8578c72a8 +#endif // CPU_LOONGARCH_C1_FPUSTACKSIM_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/c1_FpuStackSim_loongarch_64.cpp b/src/hotspot/cpu/loongarch/c1_FpuStackSim_loongarch_64.cpp new file mode 100644 -index 00000000000..1a89c437a83 +index 000000000..1a89c437a --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_FpuStackSim_loongarch_64.cpp @@ -0,0 +1,31 @@ @@ -4925,7 +4931,7 @@ index 00000000000..1a89c437a83 +#include "precompiled.hpp" diff --git a/src/hotspot/cpu/loongarch/c1_FrameMap_loongarch.hpp b/src/hotspot/cpu/loongarch/c1_FrameMap_loongarch.hpp new file mode 100644 -index 00000000000..4f0cf053617 +index 000000000..4f0cf0536 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_FrameMap_loongarch.hpp @@ -0,0 +1,143 @@ @@ -5074,7 +5080,7 @@ index 00000000000..4f0cf053617 +#endif // CPU_LOONGARCH_C1_FRAMEMAP_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/c1_FrameMap_loongarch_64.cpp b/src/hotspot/cpu/loongarch/c1_FrameMap_loongarch_64.cpp new file mode 100644 -index 00000000000..f157536797b +index 000000000..f15753679 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_FrameMap_loongarch_64.cpp @@ -0,0 +1,345 @@ @@ -5425,7 +5431,7 @@ index 00000000000..f157536797b +} diff --git a/src/hotspot/cpu/loongarch/c1_LIRAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/c1_LIRAssembler_loongarch.hpp new file mode 100644 -index 00000000000..2d489e691b9 +index 000000000..2d489e691 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_LIRAssembler_loongarch.hpp @@ -0,0 +1,84 @@ @@ -5515,7 +5521,7 @@ index 00000000000..2d489e691b9 +#endif // CPU_LOONGARCH_C1_LIRASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/c1_LIRAssembler_loongarch_64.cpp b/src/hotspot/cpu/loongarch/c1_LIRAssembler_loongarch_64.cpp new file mode 100644 -index 00000000000..5f3a52ac90b +index 000000000..5f3a52ac9 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_LIRAssembler_loongarch_64.cpp @@ -0,0 +1,3383 @@ @@ -8904,7 +8910,7 @@ index 00000000000..5f3a52ac90b +#undef __ diff --git a/src/hotspot/cpu/loongarch/c1_LIRGenerator_loongarch_64.cpp b/src/hotspot/cpu/loongarch/c1_LIRGenerator_loongarch_64.cpp new file mode 100644 -index 00000000000..bf5fba7a100 +index 000000000..bf5fba7a1 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_LIRGenerator_loongarch_64.cpp @@ -0,0 +1,1393 @@ @@ -10303,7 +10309,7 @@ index 00000000000..bf5fba7a100 +} diff --git a/src/hotspot/cpu/loongarch/c1_LIR_loongarch_64.cpp b/src/hotspot/cpu/loongarch/c1_LIR_loongarch_64.cpp new file mode 100644 -index 00000000000..45e189e4d51 +index 000000000..45e189e4d --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_LIR_loongarch_64.cpp @@ -0,0 +1,57 @@ @@ -10366,7 +10372,7 @@ index 00000000000..45e189e4d51 +#endif // PRODUCT diff --git a/src/hotspot/cpu/loongarch/c1_LinearScan_loongarch.hpp b/src/hotspot/cpu/loongarch/c1_LinearScan_loongarch.hpp new file mode 100644 -index 00000000000..f15dacafeba +index 000000000..f15dacafe --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_LinearScan_loongarch.hpp @@ -0,0 +1,70 @@ @@ -10442,7 +10448,7 @@ index 00000000000..f15dacafeba +#endif // CPU_LOONGARCH_C1_LINEARSCAN_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/c1_LinearScan_loongarch_64.cpp b/src/hotspot/cpu/loongarch/c1_LinearScan_loongarch_64.cpp new file mode 100644 -index 00000000000..219b2e3671c +index 000000000..219b2e367 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_LinearScan_loongarch_64.cpp @@ -0,0 +1,33 @@ @@ -10481,7 +10487,7 @@ index 00000000000..219b2e3671c +} diff --git a/src/hotspot/cpu/loongarch/c1_MacroAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/c1_MacroAssembler_loongarch.hpp new file mode 100644 -index 00000000000..d1c63b13896 +index 000000000..d1c63b138 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_MacroAssembler_loongarch.hpp @@ -0,0 +1,111 @@ @@ -10598,7 +10604,7 @@ index 00000000000..d1c63b13896 +#endif // CPU_LOONGARCH_C1_MACROASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/c1_MacroAssembler_loongarch_64.cpp b/src/hotspot/cpu/loongarch/c1_MacroAssembler_loongarch_64.cpp new file mode 100644 -index 00000000000..eaaaf464fe6 +index 000000000..eaaaf464f --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_MacroAssembler_loongarch_64.cpp @@ -0,0 +1,350 @@ @@ -10954,7 +10960,7 @@ index 00000000000..eaaaf464fe6 +#endif // ifndef PRODUCT diff --git a/src/hotspot/cpu/loongarch/c1_Runtime1_loongarch_64.cpp b/src/hotspot/cpu/loongarch/c1_Runtime1_loongarch_64.cpp new file mode 100644 -index 00000000000..21f7c6f2d00 +index 000000000..21f7c6f2d --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_Runtime1_loongarch_64.cpp @@ -0,0 +1,1049 @@ @@ -12009,7 +12015,7 @@ index 00000000000..21f7c6f2d00 +} diff --git a/src/hotspot/cpu/loongarch/c1_globals_loongarch.hpp b/src/hotspot/cpu/loongarch/c1_globals_loongarch.hpp new file mode 100644 -index 00000000000..a97091dda04 +index 000000000..a97091dda --- /dev/null +++ b/src/hotspot/cpu/loongarch/c1_globals_loongarch.hpp @@ -0,0 +1,64 @@ @@ -12079,7 +12085,7 @@ index 00000000000..a97091dda04 +#endif // CPU_LOONGARCH_C1_GLOBALS_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/c2_CodeStubs_loongarch.cpp b/src/hotspot/cpu/loongarch/c2_CodeStubs_loongarch.cpp new file mode 100644 -index 00000000000..4672c7b08a8 +index 000000000..4672c7b08 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c2_CodeStubs_loongarch.cpp @@ -0,0 +1,91 @@ @@ -12176,7 +12182,7 @@ index 00000000000..4672c7b08a8 +#undef __ diff --git a/src/hotspot/cpu/loongarch/c2_MacroAssembler_loongarch.cpp b/src/hotspot/cpu/loongarch/c2_MacroAssembler_loongarch.cpp new file mode 100644 -index 00000000000..d83d08e9549 +index 000000000..d83d08e95 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c2_MacroAssembler_loongarch.cpp @@ -0,0 +1,1903 @@ @@ -14085,7 +14091,7 @@ index 00000000000..d83d08e9549 +} diff --git a/src/hotspot/cpu/loongarch/c2_MacroAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/c2_MacroAssembler_loongarch.hpp new file mode 100644 -index 00000000000..804e060f195 +index 000000000..804e060f1 --- /dev/null +++ b/src/hotspot/cpu/loongarch/c2_MacroAssembler_loongarch.hpp @@ -0,0 +1,141 @@ @@ -14232,7 +14238,7 @@ index 00000000000..804e060f195 +#endif // CPU_LOONGARCH_C2_MACROASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/c2_globals_loongarch.hpp b/src/hotspot/cpu/loongarch/c2_globals_loongarch.hpp new file mode 100644 -index 00000000000..a1054036f2d +index 000000000..a1054036f --- /dev/null +++ b/src/hotspot/cpu/loongarch/c2_globals_loongarch.hpp @@ -0,0 +1,85 @@ @@ -14323,7 +14329,7 @@ index 00000000000..a1054036f2d +#endif // CPU_LOONGARCH_C2_GLOBALS_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/c2_init_loongarch.cpp b/src/hotspot/cpu/loongarch/c2_init_loongarch.cpp new file mode 100644 -index 00000000000..ec78b942d40 +index 000000000..ec78b942d --- /dev/null +++ b/src/hotspot/cpu/loongarch/c2_init_loongarch.cpp @@ -0,0 +1,37 @@ @@ -14366,7 +14372,7 @@ index 00000000000..ec78b942d40 +} diff --git a/src/hotspot/cpu/loongarch/codeBuffer_loongarch.cpp b/src/hotspot/cpu/loongarch/codeBuffer_loongarch.cpp new file mode 100644 -index 00000000000..3fdfbb27cc0 +index 000000000..3fdfbb27c --- /dev/null +++ b/src/hotspot/cpu/loongarch/codeBuffer_loongarch.cpp @@ -0,0 +1,32 @@ @@ -14404,7 +14410,7 @@ index 00000000000..3fdfbb27cc0 +} diff --git a/src/hotspot/cpu/loongarch/codeBuffer_loongarch.hpp b/src/hotspot/cpu/loongarch/codeBuffer_loongarch.hpp new file mode 100644 -index 00000000000..c8041a57f96 +index 000000000..c8041a57f --- /dev/null +++ b/src/hotspot/cpu/loongarch/codeBuffer_loongarch.hpp @@ -0,0 +1,37 @@ @@ -14447,7 +14453,7 @@ index 00000000000..c8041a57f96 +#endif // CPU_LOONGARCH_CODEBUFFER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/compiledIC_loongarch.cpp b/src/hotspot/cpu/loongarch/compiledIC_loongarch.cpp new file mode 100644 -index 00000000000..17ee4b75f72 +index 000000000..17ee4b75f --- /dev/null +++ b/src/hotspot/cpu/loongarch/compiledIC_loongarch.cpp @@ -0,0 +1,138 @@ @@ -14591,7 +14597,7 @@ index 00000000000..17ee4b75f72 +#endif // !PRODUCT diff --git a/src/hotspot/cpu/loongarch/continuationEntry_loongarch.hpp b/src/hotspot/cpu/loongarch/continuationEntry_loongarch.hpp new file mode 100644 -index 00000000000..c2d91996000 +index 000000000..c2d919960 --- /dev/null +++ b/src/hotspot/cpu/loongarch/continuationEntry_loongarch.hpp @@ -0,0 +1,33 @@ @@ -14630,7 +14636,7 @@ index 00000000000..c2d91996000 +#endif // CPU_LOONGARCH_CONTINUATIONENTRY_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/continuationEntry_loongarch.inline.hpp b/src/hotspot/cpu/loongarch/continuationEntry_loongarch.inline.hpp new file mode 100644 -index 00000000000..d1c01ee42f0 +index 000000000..d1c01ee42 --- /dev/null +++ b/src/hotspot/cpu/loongarch/continuationEntry_loongarch.inline.hpp @@ -0,0 +1,52 @@ @@ -14688,7 +14694,7 @@ index 00000000000..d1c01ee42f0 +#endif // CPU_LOONGARCH_CONTINUATIONENTRY_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/cpu/loongarch/continuationFreezeThaw_loongarch.inline.hpp b/src/hotspot/cpu/loongarch/continuationFreezeThaw_loongarch.inline.hpp new file mode 100644 -index 00000000000..dc61283c128 +index 000000000..dc61283c1 --- /dev/null +++ b/src/hotspot/cpu/loongarch/continuationFreezeThaw_loongarch.inline.hpp @@ -0,0 +1,284 @@ @@ -14978,7 +14984,7 @@ index 00000000000..dc61283c128 +#endif // CPU_LOONGARCH_CONTINUATIONFREEZETHAW_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/cpu/loongarch/continuationHelper_loongarch.inline.hpp b/src/hotspot/cpu/loongarch/continuationHelper_loongarch.inline.hpp new file mode 100644 -index 00000000000..b36584a968a +index 000000000..b36584a96 --- /dev/null +++ b/src/hotspot/cpu/loongarch/continuationHelper_loongarch.inline.hpp @@ -0,0 +1,145 @@ @@ -15129,7 +15135,7 @@ index 00000000000..b36584a968a +#endif // CPU_LOONGARCH_CONTINUATIONFRAMEHELPERS_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/cpu/loongarch/copy_loongarch.cpp b/src/hotspot/cpu/loongarch/copy_loongarch.cpp new file mode 100644 -index 00000000000..68f3bae9ef3 +index 000000000..68f3bae9e --- /dev/null +++ b/src/hotspot/cpu/loongarch/copy_loongarch.cpp @@ -0,0 +1,147 @@ @@ -15282,7 +15288,7 @@ index 00000000000..68f3bae9ef3 +Copy::FillByte Copy::_fill_to_bytes = c_fill_to_bytes; diff --git a/src/hotspot/cpu/loongarch/copy_loongarch.hpp b/src/hotspot/cpu/loongarch/copy_loongarch.hpp new file mode 100644 -index 00000000000..4ed4766e6e2 +index 000000000..4ed4766e6 --- /dev/null +++ b/src/hotspot/cpu/loongarch/copy_loongarch.hpp @@ -0,0 +1,65 @@ @@ -15353,7 +15359,7 @@ index 00000000000..4ed4766e6e2 +#endif //CPU_LOONGARCH_COPY_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/disassembler_loongarch.hpp b/src/hotspot/cpu/loongarch/disassembler_loongarch.hpp new file mode 100644 -index 00000000000..6fdd1bd1915 +index 000000000..6fdd1bd19 --- /dev/null +++ b/src/hotspot/cpu/loongarch/disassembler_loongarch.hpp @@ -0,0 +1,49 @@ @@ -15408,7 +15414,7 @@ index 00000000000..6fdd1bd1915 +#endif // CPU_LOONGARCH_DISASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/downcallLinker_loongarch_64.cpp b/src/hotspot/cpu/loongarch/downcallLinker_loongarch_64.cpp new file mode 100644 -index 00000000000..4f936060b6b +index 000000000..4f936060b --- /dev/null +++ b/src/hotspot/cpu/loongarch/downcallLinker_loongarch_64.cpp @@ -0,0 +1,360 @@ @@ -15774,7 +15780,7 @@ index 00000000000..4f936060b6b +} diff --git a/src/hotspot/cpu/loongarch/foreignGlobals_loongarch.cpp b/src/hotspot/cpu/loongarch/foreignGlobals_loongarch.cpp new file mode 100644 -index 00000000000..c0837e64d80 +index 000000000..c0837e64d --- /dev/null +++ b/src/hotspot/cpu/loongarch/foreignGlobals_loongarch.cpp @@ -0,0 +1,195 @@ @@ -15975,7 +15981,7 @@ index 00000000000..c0837e64d80 +} diff --git a/src/hotspot/cpu/loongarch/foreignGlobals_loongarch.hpp b/src/hotspot/cpu/loongarch/foreignGlobals_loongarch.hpp new file mode 100644 -index 00000000000..7e4d0d79e44 +index 000000000..7e4d0d79e --- /dev/null +++ b/src/hotspot/cpu/loongarch/foreignGlobals_loongarch.hpp @@ -0,0 +1,50 @@ @@ -16031,10 +16037,10 @@ index 00000000000..7e4d0d79e44 +#endif // CPU_LOONGARCH_FOREIGN_GLOBALS_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/frame_loongarch.cpp b/src/hotspot/cpu/loongarch/frame_loongarch.cpp new file mode 100644 -index 00000000000..b2c3d9e02f1 +index 000000000..3b4c0884f --- /dev/null +++ b/src/hotspot/cpu/loongarch/frame_loongarch.cpp -@@ -0,0 +1,626 @@ +@@ -0,0 +1,629 @@ +/* + * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2023, Loongson Technology. All rights reserved. @@ -16097,8 +16103,11 @@ index 00000000000..b2c3d9e02f1 + return false; + } + -+ // unextended sp must be within the stack and above or equal sp -+ if (!thread->is_in_stack_range_incl(unextended_sp, sp)) { ++ // unextended sp must be within the stack ++ // Note: sp can be greater than unextended_sp in the case of ++ // interpreted -> interpreted calls that go through a method handle linker, ++ // since those pop the last argument (the appendix) from the stack. ++ if (!thread->is_in_stack_range_incl(unextended_sp, sp - Interpreter::stackElementSize)) { + return false; + } + @@ -16663,7 +16672,7 @@ index 00000000000..b2c3d9e02f1 +} diff --git a/src/hotspot/cpu/loongarch/frame_loongarch.hpp b/src/hotspot/cpu/loongarch/frame_loongarch.hpp new file mode 100644 -index 00000000000..36dd89ff08f +index 000000000..36dd89ff0 --- /dev/null +++ b/src/hotspot/cpu/loongarch/frame_loongarch.hpp @@ -0,0 +1,200 @@ @@ -16869,7 +16878,7 @@ index 00000000000..36dd89ff08f +#endif // CPU_LOONGARCH_FRAME_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/frame_loongarch.inline.hpp b/src/hotspot/cpu/loongarch/frame_loongarch.inline.hpp new file mode 100644 -index 00000000000..02f7eb198b0 +index 000000000..02f7eb198 --- /dev/null +++ b/src/hotspot/cpu/loongarch/frame_loongarch.inline.hpp @@ -0,0 +1,472 @@ @@ -17347,7 +17356,7 @@ index 00000000000..02f7eb198b0 +#endif // CPU_LOONGARCH_FRAME_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/cpu/loongarch/gc/g1/g1BarrierSetAssembler_loongarch.cpp b/src/hotspot/cpu/loongarch/gc/g1/g1BarrierSetAssembler_loongarch.cpp new file mode 100644 -index 00000000000..fd125f141f4 +index 000000000..fd125f141 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/g1/g1BarrierSetAssembler_loongarch.cpp @@ -0,0 +1,491 @@ @@ -17844,7 +17853,7 @@ index 00000000000..fd125f141f4 +#endif // COMPILER1 diff --git a/src/hotspot/cpu/loongarch/gc/g1/g1BarrierSetAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/gc/g1/g1BarrierSetAssembler_loongarch.hpp new file mode 100644 -index 00000000000..b3725301da2 +index 000000000..b3725301d --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/g1/g1BarrierSetAssembler_loongarch.hpp @@ -0,0 +1,72 @@ @@ -17922,7 +17931,7 @@ index 00000000000..b3725301da2 +#endif // CPU_LOONGARCH_GC_G1_G1BARRIERSETASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/gc/g1/g1Globals_loongarch.hpp b/src/hotspot/cpu/loongarch/gc/g1/g1Globals_loongarch.hpp new file mode 100644 -index 00000000000..44b7ff1485f +index 000000000..44b7ff148 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/g1/g1Globals_loongarch.hpp @@ -0,0 +1,30 @@ @@ -17958,7 +17967,7 @@ index 00000000000..44b7ff1485f +#endif // CPU_LOONGARCH_GC_G1_G1GLOBALS_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/gc/shared/barrierSetAssembler_loongarch.cpp b/src/hotspot/cpu/loongarch/gc/shared/barrierSetAssembler_loongarch.cpp new file mode 100644 -index 00000000000..8b45eb5131c +index 000000000..8b45eb513 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shared/barrierSetAssembler_loongarch.cpp @@ -0,0 +1,453 @@ @@ -18417,7 +18426,7 @@ index 00000000000..8b45eb5131c +} diff --git a/src/hotspot/cpu/loongarch/gc/shared/barrierSetAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/gc/shared/barrierSetAssembler_loongarch.hpp new file mode 100644 -index 00000000000..0562518663f +index 000000000..056251866 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shared/barrierSetAssembler_loongarch.hpp @@ -0,0 +1,147 @@ @@ -18570,7 +18579,7 @@ index 00000000000..0562518663f +#endif // CPU_LOONGARCH_GC_SHARED_BARRIERSETASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/gc/shared/barrierSetNMethod_loongarch.cpp b/src/hotspot/cpu/loongarch/gc/shared/barrierSetNMethod_loongarch.cpp new file mode 100644 -index 00000000000..6fd8fac976c +index 000000000..6fd8fac97 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shared/barrierSetNMethod_loongarch.cpp @@ -0,0 +1,222 @@ @@ -18798,7 +18807,7 @@ index 00000000000..6fd8fac976c +#endif diff --git a/src/hotspot/cpu/loongarch/gc/shared/cardTableBarrierSetAssembler_loongarch.cpp b/src/hotspot/cpu/loongarch/gc/shared/cardTableBarrierSetAssembler_loongarch.cpp new file mode 100644 -index 00000000000..d04be97df4c +index 000000000..d04be97df --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shared/cardTableBarrierSetAssembler_loongarch.cpp @@ -0,0 +1,117 @@ @@ -18921,7 +18930,7 @@ index 00000000000..d04be97df4c +} diff --git a/src/hotspot/cpu/loongarch/gc/shared/cardTableBarrierSetAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/gc/shared/cardTableBarrierSetAssembler_loongarch.hpp new file mode 100644 -index 00000000000..bd91d0623db +index 000000000..bd91d0623 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shared/cardTableBarrierSetAssembler_loongarch.hpp @@ -0,0 +1,44 @@ @@ -18971,7 +18980,7 @@ index 00000000000..bd91d0623db +#endif // CPU_LOONGARCH_GC_SHARED_CARDTABLEBARRIERSETASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/gc/shared/modRefBarrierSetAssembler_loongarch.cpp b/src/hotspot/cpu/loongarch/gc/shared/modRefBarrierSetAssembler_loongarch.cpp new file mode 100644 -index 00000000000..53799c0678a +index 000000000..53799c067 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shared/modRefBarrierSetAssembler_loongarch.cpp @@ -0,0 +1,53 @@ @@ -19030,7 +19039,7 @@ index 00000000000..53799c0678a +} diff --git a/src/hotspot/cpu/loongarch/gc/shared/modRefBarrierSetAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/gc/shared/modRefBarrierSetAssembler_loongarch.hpp new file mode 100644 -index 00000000000..825a8f9d0ea +index 000000000..825a8f9d0 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shared/modRefBarrierSetAssembler_loongarch.hpp @@ -0,0 +1,54 @@ @@ -19090,7 +19099,7 @@ index 00000000000..825a8f9d0ea +#endif // CPU_LOONGARCH_GC_SHARED_MODREFBARRIERSETASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/gc/shenandoah/c1/shenandoahBarrierSetC1_loongarch.cpp b/src/hotspot/cpu/loongarch/gc/shenandoah/c1/shenandoahBarrierSetC1_loongarch.cpp new file mode 100644 -index 00000000000..1fd8cff3904 +index 000000000..1fd8cff39 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shenandoah/c1/shenandoahBarrierSetC1_loongarch.cpp @@ -0,0 +1,130 @@ @@ -19226,7 +19235,7 @@ index 00000000000..1fd8cff3904 +} diff --git a/src/hotspot/cpu/loongarch/gc/shenandoah/shenandoahBarrierSetAssembler_loongarch.cpp b/src/hotspot/cpu/loongarch/gc/shenandoah/shenandoahBarrierSetAssembler_loongarch.cpp new file mode 100644 -index 00000000000..d9377db5503 +index 000000000..d9377db55 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shenandoah/shenandoahBarrierSetAssembler_loongarch.cpp @@ -0,0 +1,783 @@ @@ -20015,7 +20024,7 @@ index 00000000000..d9377db5503 +#endif // COMPILER1 diff --git a/src/hotspot/cpu/loongarch/gc/shenandoah/shenandoahBarrierSetAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/gc/shenandoah/shenandoahBarrierSetAssembler_loongarch.hpp new file mode 100644 -index 00000000000..133bbbb0b89 +index 000000000..133bbbb0b --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shenandoah/shenandoahBarrierSetAssembler_loongarch.hpp @@ -0,0 +1,88 @@ @@ -20109,7 +20118,7 @@ index 00000000000..133bbbb0b89 +#endif // CPU_LOONGARCH_GC_SHENANDOAH_SHENANDOAHBARRIERSETASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/gc/shenandoah/shenandoah_loongarch_64.ad b/src/hotspot/cpu/loongarch/gc/shenandoah/shenandoah_loongarch_64.ad new file mode 100644 -index 00000000000..2608ef13576 +index 000000000..2608ef135 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/shenandoah/shenandoah_loongarch_64.ad @@ -0,0 +1,232 @@ @@ -20347,7 +20356,7 @@ index 00000000000..2608ef13576 +%} diff --git a/src/hotspot/cpu/loongarch/gc/x/xBarrierSetAssembler_loongarch.cpp b/src/hotspot/cpu/loongarch/gc/x/xBarrierSetAssembler_loongarch.cpp new file mode 100644 -index 00000000000..0be4ef7c6bc +index 000000000..0be4ef7c6 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/x/xBarrierSetAssembler_loongarch.cpp @@ -0,0 +1,471 @@ @@ -20824,7 +20833,7 @@ index 00000000000..0be4ef7c6bc +#undef __ diff --git a/src/hotspot/cpu/loongarch/gc/x/xBarrierSetAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/gc/x/xBarrierSetAssembler_loongarch.hpp new file mode 100644 -index 00000000000..dfe62190ff6 +index 000000000..dfe62190f --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/x/xBarrierSetAssembler_loongarch.hpp @@ -0,0 +1,105 @@ @@ -20935,7 +20944,7 @@ index 00000000000..dfe62190ff6 +#endif // CPU_LOONGARCH_GC_X_XBARRIERSETASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/gc/x/xGlobals_loongarch.cpp b/src/hotspot/cpu/loongarch/gc/x/xGlobals_loongarch.cpp new file mode 100644 -index 00000000000..2acac4cfd31 +index 000000000..2acac4cfd --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/x/xGlobals_loongarch.cpp @@ -0,0 +1,211 @@ @@ -21152,7 +21161,7 @@ index 00000000000..2acac4cfd31 +} diff --git a/src/hotspot/cpu/loongarch/gc/x/xGlobals_loongarch.hpp b/src/hotspot/cpu/loongarch/gc/x/xGlobals_loongarch.hpp new file mode 100644 -index 00000000000..3134c3d07f8 +index 000000000..3134c3d07 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/x/xGlobals_loongarch.hpp @@ -0,0 +1,34 @@ @@ -21192,7 +21201,7 @@ index 00000000000..3134c3d07f8 +#endif // CPU_LOONGARCH_GC_X_XGLOBALS_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/gc/x/x_loongarch_64.ad b/src/hotspot/cpu/loongarch/gc/x/x_loongarch_64.ad new file mode 100644 -index 00000000000..c4e77f08b4f +index 000000000..c4e77f08b --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/x/x_loongarch_64.ad @@ -0,0 +1,256 @@ @@ -21454,7 +21463,7 @@ index 00000000000..c4e77f08b4f +%} diff --git a/src/hotspot/cpu/loongarch/gc/z/zAddress_loongarch.cpp b/src/hotspot/cpu/loongarch/gc/z/zAddress_loongarch.cpp new file mode 100644 -index 00000000000..9caa23354c1 +index 000000000..9caa23354 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/z/zAddress_loongarch.cpp @@ -0,0 +1,109 @@ @@ -21569,7 +21578,7 @@ index 00000000000..9caa23354c1 +} diff --git a/src/hotspot/cpu/loongarch/gc/z/zAddress_loongarch.hpp b/src/hotspot/cpu/loongarch/gc/z/zAddress_loongarch.hpp new file mode 100644 -index 00000000000..8f82152db59 +index 000000000..8f82152db --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/z/zAddress_loongarch.hpp @@ -0,0 +1,35 @@ @@ -21610,7 +21619,7 @@ index 00000000000..8f82152db59 +#endif // CPU_LOONGARCH64_GC_Z_ZADDRESS_LOONGARCH64_HPP diff --git a/src/hotspot/cpu/loongarch/gc/z/zAddress_loongarch.inline.hpp b/src/hotspot/cpu/loongarch/gc/z/zAddress_loongarch.inline.hpp new file mode 100644 -index 00000000000..93ea4144072 +index 000000000..93ea41440 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/z/zAddress_loongarch.inline.hpp @@ -0,0 +1,38 @@ @@ -21654,7 +21663,7 @@ index 00000000000..93ea4144072 +#endif // CPU_LOONGARCH64_GC_Z_ZADDRESS_LOONGARCH64_INLINE_HPP diff --git a/src/hotspot/cpu/loongarch/gc/z/zBarrierSetAssembler_loongarch.cpp b/src/hotspot/cpu/loongarch/gc/z/zBarrierSetAssembler_loongarch.cpp new file mode 100644 -index 00000000000..427a6f9c24a +index 000000000..427a6f9c2 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/z/zBarrierSetAssembler_loongarch.cpp @@ -0,0 +1,1226 @@ @@ -22886,7 +22895,7 @@ index 00000000000..427a6f9c24a +#endif // COMPILER2 diff --git a/src/hotspot/cpu/loongarch/gc/z/zBarrierSetAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/gc/z/zBarrierSetAssembler_loongarch.hpp new file mode 100644 -index 00000000000..754f042f749 +index 000000000..754f042f7 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/z/zBarrierSetAssembler_loongarch.hpp @@ -0,0 +1,192 @@ @@ -23084,7 +23093,7 @@ index 00000000000..754f042f749 +#endif // CPU_LOONGARCH_GC_Z_ZBARRIERSETASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/gc/z/zGlobals_loongarch.hpp b/src/hotspot/cpu/loongarch/gc/z/zGlobals_loongarch.hpp new file mode 100644 -index 00000000000..3e012e31420 +index 000000000..3e012e314 --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/z/zGlobals_loongarch.hpp @@ -0,0 +1,30 @@ @@ -23120,7 +23129,7 @@ index 00000000000..3e012e31420 +#endif // CPU_LOONGARCH_GC_Z_ZGLOBALS_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/gc/z/z_loongarch_64.ad b/src/hotspot/cpu/loongarch/gc/z/z_loongarch_64.ad new file mode 100644 -index 00000000000..7a50810acda +index 000000000..7a50810ac --- /dev/null +++ b/src/hotspot/cpu/loongarch/gc/z/z_loongarch_64.ad @@ -0,0 +1,250 @@ @@ -23376,7 +23385,7 @@ index 00000000000..7a50810acda +%} diff --git a/src/hotspot/cpu/loongarch/globalDefinitions_loongarch.hpp b/src/hotspot/cpu/loongarch/globalDefinitions_loongarch.hpp new file mode 100644 -index 00000000000..2306c5bc6d1 +index 000000000..2306c5bc6 --- /dev/null +++ b/src/hotspot/cpu/loongarch/globalDefinitions_loongarch.hpp @@ -0,0 +1,58 @@ @@ -23440,7 +23449,7 @@ index 00000000000..2306c5bc6d1 +#endif // CPU_LOONGARCH_GLOBALDEFINITIONS_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/globals_loongarch.hpp b/src/hotspot/cpu/loongarch/globals_loongarch.hpp new file mode 100644 -index 00000000000..e38b0401bee +index 000000000..e38b0401b --- /dev/null +++ b/src/hotspot/cpu/loongarch/globals_loongarch.hpp @@ -0,0 +1,125 @@ @@ -23571,7 +23580,7 @@ index 00000000000..e38b0401bee +#endif // CPU_LOONGARCH_GLOBALS_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/icBuffer_loongarch.cpp b/src/hotspot/cpu/loongarch/icBuffer_loongarch.cpp new file mode 100644 -index 00000000000..c53d50d78f6 +index 000000000..c53d50d78 --- /dev/null +++ b/src/hotspot/cpu/loongarch/icBuffer_loongarch.cpp @@ -0,0 +1,82 @@ @@ -23659,7 +23668,7 @@ index 00000000000..c53d50d78f6 +} diff --git a/src/hotspot/cpu/loongarch/icache_loongarch.cpp b/src/hotspot/cpu/loongarch/icache_loongarch.cpp new file mode 100644 -index 00000000000..59906711428 +index 000000000..599067114 --- /dev/null +++ b/src/hotspot/cpu/loongarch/icache_loongarch.cpp @@ -0,0 +1,42 @@ @@ -23707,7 +23716,7 @@ index 00000000000..59906711428 +} diff --git a/src/hotspot/cpu/loongarch/icache_loongarch.hpp b/src/hotspot/cpu/loongarch/icache_loongarch.hpp new file mode 100644 -index 00000000000..3a180549fc6 +index 000000000..3a180549f --- /dev/null +++ b/src/hotspot/cpu/loongarch/icache_loongarch.hpp @@ -0,0 +1,41 @@ @@ -23754,7 +23763,7 @@ index 00000000000..3a180549fc6 +#endif // CPU_LOONGARCH_ICACHE_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/interp_masm_loongarch.hpp b/src/hotspot/cpu/loongarch/interp_masm_loongarch.hpp new file mode 100644 -index 00000000000..a632f7b881e +index 000000000..a632f7b88 --- /dev/null +++ b/src/hotspot/cpu/loongarch/interp_masm_loongarch.hpp @@ -0,0 +1,272 @@ @@ -24032,7 +24041,7 @@ index 00000000000..a632f7b881e +#endif // CPU_LOONGARCH_INTERP_MASM_LOONGARCH_64_HPP diff --git a/src/hotspot/cpu/loongarch/interp_masm_loongarch_64.cpp b/src/hotspot/cpu/loongarch/interp_masm_loongarch_64.cpp new file mode 100644 -index 00000000000..3790af7406c +index 000000000..3790af740 --- /dev/null +++ b/src/hotspot/cpu/loongarch/interp_masm_loongarch_64.cpp @@ -0,0 +1,1965 @@ @@ -26003,7 +26012,7 @@ index 00000000000..3790af7406c +} diff --git a/src/hotspot/cpu/loongarch/interpreterRT_loongarch.hpp b/src/hotspot/cpu/loongarch/interpreterRT_loongarch.hpp new file mode 100644 -index 00000000000..d53d951a160 +index 000000000..d53d951a1 --- /dev/null +++ b/src/hotspot/cpu/loongarch/interpreterRT_loongarch.hpp @@ -0,0 +1,62 @@ @@ -26071,7 +26080,7 @@ index 00000000000..d53d951a160 +#endif // CPU_LOONGARCH_INTERPRETERRT_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/interpreterRT_loongarch_64.cpp b/src/hotspot/cpu/loongarch/interpreterRT_loongarch_64.cpp new file mode 100644 -index 00000000000..46e634599e7 +index 000000000..46e634599 --- /dev/null +++ b/src/hotspot/cpu/loongarch/interpreterRT_loongarch_64.cpp @@ -0,0 +1,264 @@ @@ -26341,7 +26350,7 @@ index 00000000000..46e634599e7 +JRT_END diff --git a/src/hotspot/cpu/loongarch/javaFrameAnchor_loongarch.hpp b/src/hotspot/cpu/loongarch/javaFrameAnchor_loongarch.hpp new file mode 100644 -index 00000000000..b912250dce2 +index 000000000..b912250dc --- /dev/null +++ b/src/hotspot/cpu/loongarch/javaFrameAnchor_loongarch.hpp @@ -0,0 +1,86 @@ @@ -26433,7 +26442,7 @@ index 00000000000..b912250dce2 +#endif // CPU_LOONGARCH_JAVAFRAMEANCHOR_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/jniFastGetField_loongarch_64.cpp b/src/hotspot/cpu/loongarch/jniFastGetField_loongarch_64.cpp new file mode 100644 -index 00000000000..8e8e548e610 +index 000000000..8e8e548e6 --- /dev/null +++ b/src/hotspot/cpu/loongarch/jniFastGetField_loongarch_64.cpp @@ -0,0 +1,179 @@ @@ -26618,7 +26627,7 @@ index 00000000000..8e8e548e610 +} diff --git a/src/hotspot/cpu/loongarch/jniTypes_loongarch.hpp b/src/hotspot/cpu/loongarch/jniTypes_loongarch.hpp new file mode 100644 -index 00000000000..3388ddb9db7 +index 000000000..3388ddb9d --- /dev/null +++ b/src/hotspot/cpu/loongarch/jniTypes_loongarch.hpp @@ -0,0 +1,143 @@ @@ -26767,7 +26776,7 @@ index 00000000000..3388ddb9db7 +#endif // CPU_LOONGARCH_JNITYPES_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/jvmciCodeInstaller_loongarch.cpp b/src/hotspot/cpu/loongarch/jvmciCodeInstaller_loongarch.cpp new file mode 100644 -index 00000000000..1a983e338a4 +index 000000000..1a983e338 --- /dev/null +++ b/src/hotspot/cpu/loongarch/jvmciCodeInstaller_loongarch.cpp @@ -0,0 +1,194 @@ @@ -26967,7 +26976,7 @@ index 00000000000..1a983e338a4 +} diff --git a/src/hotspot/cpu/loongarch/loongarch.ad b/src/hotspot/cpu/loongarch/loongarch.ad new file mode 100644 -index 00000000000..80dff0c7626 +index 000000000..80dff0c76 --- /dev/null +++ b/src/hotspot/cpu/loongarch/loongarch.ad @@ -0,0 +1,25 @@ @@ -26998,10 +27007,10 @@ index 00000000000..80dff0c7626 + diff --git a/src/hotspot/cpu/loongarch/loongarch_64.ad b/src/hotspot/cpu/loongarch/loongarch_64.ad new file mode 100644 -index 00000000000..aeb924b2cb6 +index 000000000..47904e7b8 --- /dev/null +++ b/src/hotspot/cpu/loongarch/loongarch_64.ad -@@ -0,0 +1,15855 @@ +@@ -0,0 +1,15888 @@ +// +// Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2015, 2023, Loongson Technology. All rights reserved. @@ -42755,6 +42764,39 @@ index 00000000000..aeb924b2cb6 + ins_pipe(pipe_slow); +%} + ++// ------------------------------ ReverseBytesV -------------------------------- ++ ++instruct reverseBytesV(vReg dst, vReg src) %{ ++ match(Set dst (ReverseBytesV src)); ++ format %{ "(x)vreverse_byte $dst, $src\t# @reverseBytesV" %} ++ ins_encode %{ ++ if (Matcher::vector_length_in_bytes(this) > 16) { ++ switch (Matcher::vector_element_basic_type(this)) { ++ case T_BYTE : if ($dst$$FloatRegister != $src$$FloatRegister) ++ __ xvori_b($dst$$FloatRegister, $src$$FloatRegister, 0); break; ++ case T_SHORT : __ xvshuf4i_b($dst$$FloatRegister, $src$$FloatRegister, 0b10110001); break; ++ case T_INT : __ xvshuf4i_b($dst$$FloatRegister, $src$$FloatRegister, 0b00011011); break; ++ case T_LONG : __ xvshuf4i_w($dst$$FloatRegister, $src$$FloatRegister, 0b10110001); ++ __ xvshuf4i_b($dst$$FloatRegister, $dst$$FloatRegister, 0b00011011); break; ++ default: ++ ShouldNotReachHere(); ++ } ++ } else { ++ switch (Matcher::vector_element_basic_type(this)) { ++ case T_BYTE : if ($dst$$FloatRegister != $src$$FloatRegister) ++ __ vori_b($dst$$FloatRegister, $src$$FloatRegister, 0); break; ++ case T_SHORT : __ vshuf4i_b($dst$$FloatRegister, $src$$FloatRegister, 0b10110001); break; ++ case T_INT : __ vshuf4i_b($dst$$FloatRegister, $src$$FloatRegister, 0b00011011); break; ++ case T_LONG : __ vshuf4i_w($dst$$FloatRegister, $src$$FloatRegister, 0b10110001); ++ __ vshuf4i_b($dst$$FloatRegister, $dst$$FloatRegister, 0b00011011); break; ++ default: ++ ShouldNotReachHere(); ++ } ++ } ++ %} ++ ins_pipe(pipe_slow); ++%} ++ + +//----------PEEPHOLE RULES----------------------------------------------------- +// These must follow all instruction definitions as they use the names @@ -42859,7 +42901,7 @@ index 00000000000..aeb924b2cb6 + diff --git a/src/hotspot/cpu/loongarch/macroAssembler_loongarch.cpp b/src/hotspot/cpu/loongarch/macroAssembler_loongarch.cpp new file mode 100644 -index 00000000000..e2f69cea31b +index 000000000..e2f69cea3 --- /dev/null +++ b/src/hotspot/cpu/loongarch/macroAssembler_loongarch.cpp @@ -0,0 +1,4242 @@ @@ -47107,7 +47149,7 @@ index 00000000000..e2f69cea31b +#endif diff --git a/src/hotspot/cpu/loongarch/macroAssembler_loongarch.hpp b/src/hotspot/cpu/loongarch/macroAssembler_loongarch.hpp new file mode 100644 -index 00000000000..6727de3aa7a +index 000000000..6727de3aa --- /dev/null +++ b/src/hotspot/cpu/loongarch/macroAssembler_loongarch.hpp @@ -0,0 +1,809 @@ @@ -47922,7 +47964,7 @@ index 00000000000..6727de3aa7a +#endif // CPU_LOONGARCH_MACROASSEMBLER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/macroAssembler_loongarch.inline.hpp b/src/hotspot/cpu/loongarch/macroAssembler_loongarch.inline.hpp new file mode 100644 -index 00000000000..43b388a2c4b +index 000000000..43b388a2c --- /dev/null +++ b/src/hotspot/cpu/loongarch/macroAssembler_loongarch.inline.hpp @@ -0,0 +1,937 @@ @@ -48865,7 +48907,7 @@ index 00000000000..43b388a2c4b +#endif // CPU_LOONGARCH_MACROASSEMBLER_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/cpu/loongarch/macroAssembler_loongarch_chacha.cpp b/src/hotspot/cpu/loongarch/macroAssembler_loongarch_chacha.cpp new file mode 100644 -index 00000000000..ea4d5a2ac4c +index 000000000..ea4d5a2ac --- /dev/null +++ b/src/hotspot/cpu/loongarch/macroAssembler_loongarch_chacha.cpp @@ -0,0 +1,86 @@ @@ -48957,7 +48999,7 @@ index 00000000000..ea4d5a2ac4c +} diff --git a/src/hotspot/cpu/loongarch/macroAssembler_loongarch_trig.cpp b/src/hotspot/cpu/loongarch/macroAssembler_loongarch_trig.cpp new file mode 100644 -index 00000000000..0c31904a36b +index 000000000..0c31904a3 --- /dev/null +++ b/src/hotspot/cpu/loongarch/macroAssembler_loongarch_trig.cpp @@ -0,0 +1,1626 @@ @@ -50589,7 +50631,7 @@ index 00000000000..0c31904a36b +} diff --git a/src/hotspot/cpu/loongarch/matcher_loongarch.hpp b/src/hotspot/cpu/loongarch/matcher_loongarch.hpp new file mode 100644 -index 00000000000..79b5d4157a8 +index 000000000..79b5d4157 --- /dev/null +++ b/src/hotspot/cpu/loongarch/matcher_loongarch.hpp @@ -0,0 +1,181 @@ @@ -50776,7 +50818,7 @@ index 00000000000..79b5d4157a8 +#endif // CPU_LOONGARCH_MATCHER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/methodHandles_loongarch.cpp b/src/hotspot/cpu/loongarch/methodHandles_loongarch.cpp new file mode 100644 -index 00000000000..4b5d41aea07 +index 000000000..4b5d41aea --- /dev/null +++ b/src/hotspot/cpu/loongarch/methodHandles_loongarch.cpp @@ -0,0 +1,568 @@ @@ -51350,7 +51392,7 @@ index 00000000000..4b5d41aea07 +#endif //PRODUCT diff --git a/src/hotspot/cpu/loongarch/methodHandles_loongarch.hpp b/src/hotspot/cpu/loongarch/methodHandles_loongarch.hpp new file mode 100644 -index 00000000000..8e129225509 +index 000000000..8e1292255 --- /dev/null +++ b/src/hotspot/cpu/loongarch/methodHandles_loongarch.hpp @@ -0,0 +1,65 @@ @@ -51421,7 +51463,7 @@ index 00000000000..8e129225509 + } diff --git a/src/hotspot/cpu/loongarch/nativeInst_loongarch.cpp b/src/hotspot/cpu/loongarch/nativeInst_loongarch.cpp new file mode 100644 -index 00000000000..c298cda5de7 +index 000000000..c298cda5d --- /dev/null +++ b/src/hotspot/cpu/loongarch/nativeInst_loongarch.cpp @@ -0,0 +1,537 @@ @@ -51964,7 +52006,7 @@ index 00000000000..c298cda5de7 +} diff --git a/src/hotspot/cpu/loongarch/nativeInst_loongarch.hpp b/src/hotspot/cpu/loongarch/nativeInst_loongarch.hpp new file mode 100644 -index 00000000000..3a322a218a3 +index 000000000..3a322a218 --- /dev/null +++ b/src/hotspot/cpu/loongarch/nativeInst_loongarch.hpp @@ -0,0 +1,595 @@ @@ -52565,7 +52607,7 @@ index 00000000000..3a322a218a3 +#endif // CPU_LOONGARCH_NATIVEINST_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/registerMap_loongarch.hpp b/src/hotspot/cpu/loongarch/registerMap_loongarch.hpp new file mode 100644 -index 00000000000..9b0ff3eae76 +index 000000000..9b0ff3eae --- /dev/null +++ b/src/hotspot/cpu/loongarch/registerMap_loongarch.hpp @@ -0,0 +1,59 @@ @@ -52630,7 +52672,7 @@ index 00000000000..9b0ff3eae76 +#endif // CPU_LOONGARCH_REGISTERMAP_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/register_loongarch.cpp b/src/hotspot/cpu/loongarch/register_loongarch.cpp new file mode 100644 -index 00000000000..5378fce5cd2 +index 000000000..5378fce5c --- /dev/null +++ b/src/hotspot/cpu/loongarch/register_loongarch.cpp @@ -0,0 +1,61 @@ @@ -52697,7 +52739,7 @@ index 00000000000..5378fce5cd2 +} diff --git a/src/hotspot/cpu/loongarch/register_loongarch.hpp b/src/hotspot/cpu/loongarch/register_loongarch.hpp new file mode 100644 -index 00000000000..6ffdd41a5e7 +index 000000000..6ffdd41a5 --- /dev/null +++ b/src/hotspot/cpu/loongarch/register_loongarch.hpp @@ -0,0 +1,479 @@ @@ -53182,7 +53224,7 @@ index 00000000000..6ffdd41a5e7 +#endif //CPU_LOONGARCH_REGISTER_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/relocInfo_loongarch.cpp b/src/hotspot/cpu/loongarch/relocInfo_loongarch.cpp new file mode 100644 -index 00000000000..d7011d57525 +index 000000000..d7011d575 --- /dev/null +++ b/src/hotspot/cpu/loongarch/relocInfo_loongarch.cpp @@ -0,0 +1,133 @@ @@ -53321,7 +53363,7 @@ index 00000000000..d7011d57525 +} diff --git a/src/hotspot/cpu/loongarch/relocInfo_loongarch.hpp b/src/hotspot/cpu/loongarch/relocInfo_loongarch.hpp new file mode 100644 -index 00000000000..c85ca4963f3 +index 000000000..c85ca4963 --- /dev/null +++ b/src/hotspot/cpu/loongarch/relocInfo_loongarch.hpp @@ -0,0 +1,44 @@ @@ -53371,7 +53413,7 @@ index 00000000000..c85ca4963f3 +#endif // CPU_LOONGARCH_RELOCINFO_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/sharedRuntime_loongarch_64.cpp b/src/hotspot/cpu/loongarch/sharedRuntime_loongarch_64.cpp new file mode 100644 -index 00000000000..834a1e7ffc6 +index 000000000..834a1e7ff --- /dev/null +++ b/src/hotspot/cpu/loongarch/sharedRuntime_loongarch_64.cpp @@ -0,0 +1,2979 @@ @@ -56356,7 +56398,7 @@ index 00000000000..834a1e7ffc6 +extern "C" int SpinPause() {return 0;} diff --git a/src/hotspot/cpu/loongarch/smallRegisterMap_loongarch.inline.hpp b/src/hotspot/cpu/loongarch/smallRegisterMap_loongarch.inline.hpp new file mode 100644 -index 00000000000..7417ece8f8e +index 000000000..7417ece8f --- /dev/null +++ b/src/hotspot/cpu/loongarch/smallRegisterMap_loongarch.inline.hpp @@ -0,0 +1,88 @@ @@ -56450,7 +56492,7 @@ index 00000000000..7417ece8f8e +#endif // CPU_LOONGARCH_SMALLREGISTERMAP_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/cpu/loongarch/stackChunkFrameStream_loongarch.inline.hpp b/src/hotspot/cpu/loongarch/stackChunkFrameStream_loongarch.inline.hpp new file mode 100644 -index 00000000000..0be80eb3e8a +index 000000000..0be80eb3e --- /dev/null +++ b/src/hotspot/cpu/loongarch/stackChunkFrameStream_loongarch.inline.hpp @@ -0,0 +1,142 @@ @@ -56598,7 +56640,7 @@ index 00000000000..0be80eb3e8a +#endif // CPU_LOONGARCH_STACKCHUNKFRAMESTREAM_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/cpu/loongarch/stackChunkOop_loongarch.inline.hpp b/src/hotspot/cpu/loongarch/stackChunkOop_loongarch.inline.hpp new file mode 100644 -index 00000000000..3e6b0e2a5cb +index 000000000..3e6b0e2a5 --- /dev/null +++ b/src/hotspot/cpu/loongarch/stackChunkOop_loongarch.inline.hpp @@ -0,0 +1,43 @@ @@ -56647,7 +56689,7 @@ index 00000000000..3e6b0e2a5cb +#endif // CPU_LOONGARCH_STACKCHUNKOOP_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/cpu/loongarch/stubGenerator_loongarch_64.cpp b/src/hotspot/cpu/loongarch/stubGenerator_loongarch_64.cpp new file mode 100644 -index 00000000000..87bfcb3f58f +index 000000000..87bfcb3f5 --- /dev/null +++ b/src/hotspot/cpu/loongarch/stubGenerator_loongarch_64.cpp @@ -0,0 +1,5721 @@ @@ -62374,7 +62416,7 @@ index 00000000000..87bfcb3f58f +} diff --git a/src/hotspot/cpu/loongarch/stubRoutines_loongarch.hpp b/src/hotspot/cpu/loongarch/stubRoutines_loongarch.hpp new file mode 100644 -index 00000000000..2614bbd6832 +index 000000000..2614bbd68 --- /dev/null +++ b/src/hotspot/cpu/loongarch/stubRoutines_loongarch.hpp @@ -0,0 +1,118 @@ @@ -62498,7 +62540,7 @@ index 00000000000..2614bbd6832 +#endif // CPU_LOONGARCH_STUBROUTINES_LOONGARCH_64_HPP diff --git a/src/hotspot/cpu/loongarch/stubRoutines_loongarch_64.cpp b/src/hotspot/cpu/loongarch/stubRoutines_loongarch_64.cpp new file mode 100644 -index 00000000000..4d8fe415483 +index 000000000..4d8fe4154 --- /dev/null +++ b/src/hotspot/cpu/loongarch/stubRoutines_loongarch_64.cpp @@ -0,0 +1,196 @@ @@ -62700,7 +62742,7 @@ index 00000000000..4d8fe415483 +}; diff --git a/src/hotspot/cpu/loongarch/templateInterpreterGenerator_loongarch.cpp b/src/hotspot/cpu/loongarch/templateInterpreterGenerator_loongarch.cpp new file mode 100644 -index 00000000000..f625f9b43b9 +index 000000000..f625f9b43 --- /dev/null +++ b/src/hotspot/cpu/loongarch/templateInterpreterGenerator_loongarch.cpp @@ -0,0 +1,2106 @@ @@ -64812,7 +64854,7 @@ index 00000000000..f625f9b43b9 +#endif // !PRODUCT diff --git a/src/hotspot/cpu/loongarch/templateTable_loongarch.hpp b/src/hotspot/cpu/loongarch/templateTable_loongarch.hpp new file mode 100644 -index 00000000000..ddb38faf446 +index 000000000..ddb38faf4 --- /dev/null +++ b/src/hotspot/cpu/loongarch/templateTable_loongarch.hpp @@ -0,0 +1,43 @@ @@ -64861,7 +64903,7 @@ index 00000000000..ddb38faf446 +#endif // CPU_LOONGARCH_TEMPLATETABLE_LOONGARCH_64_HPP diff --git a/src/hotspot/cpu/loongarch/templateTable_loongarch_64.cpp b/src/hotspot/cpu/loongarch/templateTable_loongarch_64.cpp new file mode 100644 -index 00000000000..7d308d998dd +index 000000000..7d308d998 --- /dev/null +++ b/src/hotspot/cpu/loongarch/templateTable_loongarch_64.cpp @@ -0,0 +1,4007 @@ @@ -68874,7 +68916,7 @@ index 00000000000..7d308d998dd +} diff --git a/src/hotspot/cpu/loongarch/upcallLinker_loongarch_64.cpp b/src/hotspot/cpu/loongarch/upcallLinker_loongarch_64.cpp new file mode 100644 -index 00000000000..da902dda7a5 +index 000000000..da902dda7 --- /dev/null +++ b/src/hotspot/cpu/loongarch/upcallLinker_loongarch_64.cpp @@ -0,0 +1,351 @@ @@ -69231,7 +69273,7 @@ index 00000000000..da902dda7a5 +} diff --git a/src/hotspot/cpu/loongarch/vmStructs_loongarch.hpp b/src/hotspot/cpu/loongarch/vmStructs_loongarch.hpp new file mode 100644 -index 00000000000..5b9f7b78981 +index 000000000..5b9f7b789 --- /dev/null +++ b/src/hotspot/cpu/loongarch/vmStructs_loongarch.hpp @@ -0,0 +1,61 @@ @@ -69298,7 +69340,7 @@ index 00000000000..5b9f7b78981 +#endif // CPU_LOONGARCH_VMSTRUCTS_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/vm_version_loongarch.cpp b/src/hotspot/cpu/loongarch/vm_version_loongarch.cpp new file mode 100644 -index 00000000000..44bca90d2c2 +index 000000000..44bca90d2 --- /dev/null +++ b/src/hotspot/cpu/loongarch/vm_version_loongarch.cpp @@ -0,0 +1,511 @@ @@ -69815,7 +69857,7 @@ index 00000000000..44bca90d2c2 +} diff --git a/src/hotspot/cpu/loongarch/vm_version_loongarch.hpp b/src/hotspot/cpu/loongarch/vm_version_loongarch.hpp new file mode 100644 -index 00000000000..04bd6942dc2 +index 000000000..04bd6942d --- /dev/null +++ b/src/hotspot/cpu/loongarch/vm_version_loongarch.hpp @@ -0,0 +1,308 @@ @@ -70129,7 +70171,7 @@ index 00000000000..04bd6942dc2 +#endif // CPU_LOONGARCH_VM_VERSION_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/vmreg_loongarch.cpp b/src/hotspot/cpu/loongarch/vmreg_loongarch.cpp new file mode 100644 -index 00000000000..3433ca028fe +index 000000000..3433ca028 --- /dev/null +++ b/src/hotspot/cpu/loongarch/vmreg_loongarch.cpp @@ -0,0 +1,54 @@ @@ -70189,7 +70231,7 @@ index 00000000000..3433ca028fe +} diff --git a/src/hotspot/cpu/loongarch/vmreg_loongarch.hpp b/src/hotspot/cpu/loongarch/vmreg_loongarch.hpp new file mode 100644 -index 00000000000..ff79e91f60d +index 000000000..ff79e91f6 --- /dev/null +++ b/src/hotspot/cpu/loongarch/vmreg_loongarch.hpp @@ -0,0 +1,58 @@ @@ -70253,7 +70295,7 @@ index 00000000000..ff79e91f60d +#endif // CPU_LOONGARCH_VMREG_LOONGARCH_HPP diff --git a/src/hotspot/cpu/loongarch/vmreg_loongarch.inline.hpp b/src/hotspot/cpu/loongarch/vmreg_loongarch.inline.hpp new file mode 100644 -index 00000000000..3f158bd9bae +index 000000000..3f158bd9b --- /dev/null +++ b/src/hotspot/cpu/loongarch/vmreg_loongarch.inline.hpp @@ -0,0 +1,38 @@ @@ -70297,7 +70339,7 @@ index 00000000000..3f158bd9bae +#endif // CPU_LOONGARCH_VMREG_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/cpu/loongarch/vmstorage_loongarch.hpp b/src/hotspot/cpu/loongarch/vmstorage_loongarch.hpp new file mode 100644 -index 00000000000..03b53dc81f8 +index 000000000..03b53dc81 --- /dev/null +++ b/src/hotspot/cpu/loongarch/vmstorage_loongarch.hpp @@ -0,0 +1,87 @@ @@ -70390,7 +70432,7 @@ index 00000000000..03b53dc81f8 +#endif // CPU_LOONGARCH_VMSTORAGE_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/cpu/loongarch/vtableStubs_loongarch_64.cpp b/src/hotspot/cpu/loongarch/vtableStubs_loongarch_64.cpp new file mode 100644 -index 00000000000..ab12021832d +index 000000000..ab1202183 --- /dev/null +++ b/src/hotspot/cpu/loongarch/vtableStubs_loongarch_64.cpp @@ -0,0 +1,312 @@ @@ -70707,7 +70749,7 @@ index 00000000000..ab12021832d + return icache_line_size; +} diff --git a/src/hotspot/os/linux/os_linux.cpp b/src/hotspot/os/linux/os_linux.cpp -index 7cb862d7c3e..21093e52340 100644 +index 7cb862d7c..21093e523 100644 --- a/src/hotspot/os/linux/os_linux.cpp +++ b/src/hotspot/os/linux/os_linux.cpp @@ -23,6 +23,12 @@ @@ -70800,7 +70842,7 @@ index 7cb862d7c3e..21093e52340 100644 LogTarget(Info,os) log; LogStream ls(log); diff --git a/src/hotspot/os/linux/os_linux.hpp b/src/hotspot/os/linux/os_linux.hpp -index 029f2aa7a52..78bf68a72e9 100644 +index 029f2aa7a..78bf68a72 100644 --- a/src/hotspot/os/linux/os_linux.hpp +++ b/src/hotspot/os/linux/os_linux.hpp @@ -22,6 +22,12 @@ @@ -70826,7 +70868,7 @@ index 029f2aa7a52..78bf68a72e9 100644 static void numa_init(); diff --git a/src/hotspot/os/linux/systemMemoryBarrier_linux.cpp b/src/hotspot/os/linux/systemMemoryBarrier_linux.cpp -index 51397b139d8..96269fef53d 100644 +index 51397b139..96269fef5 100644 --- a/src/hotspot/os/linux/systemMemoryBarrier_linux.cpp +++ b/src/hotspot/os/linux/systemMemoryBarrier_linux.cpp @@ -22,6 +22,12 @@ @@ -70853,7 +70895,7 @@ index 51397b139d8..96269fef53d 100644 #endif diff --git a/src/hotspot/os_cpu/linux_loongarch/assembler_linux_loongarch.cpp b/src/hotspot/os_cpu/linux_loongarch/assembler_linux_loongarch.cpp new file mode 100644 -index 00000000000..30719a0340b +index 000000000..30719a034 --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/assembler_linux_loongarch.cpp @@ -0,0 +1,24 @@ @@ -70883,7 +70925,7 @@ index 00000000000..30719a0340b + */ diff --git a/src/hotspot/os_cpu/linux_loongarch/atomic_linux_loongarch.hpp b/src/hotspot/os_cpu/linux_loongarch/atomic_linux_loongarch.hpp new file mode 100644 -index 00000000000..f0c7a7e3a5d +index 000000000..f0c7a7e3a --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/atomic_linux_loongarch.hpp @@ -0,0 +1,499 @@ @@ -71388,7 +71430,7 @@ index 00000000000..f0c7a7e3a5d +#endif // OS_CPU_LINUX_LOONGARCH_ATOMIC_LINUX_LOONGARCH_HPP diff --git a/src/hotspot/os_cpu/linux_loongarch/copy_linux_loongarch.inline.hpp b/src/hotspot/os_cpu/linux_loongarch/copy_linux_loongarch.inline.hpp new file mode 100644 -index 00000000000..37587b6bf72 +index 000000000..37587b6bf --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/copy_linux_loongarch.inline.hpp @@ -0,0 +1,145 @@ @@ -71539,7 +71581,7 @@ index 00000000000..37587b6bf72 +#endif // OS_CPU_LINUX_LOONGARCH_COPY_LINUX_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/os_cpu/linux_loongarch/gc/x/xSyscall_linux_loongarch.hpp b/src/hotspot/os_cpu/linux_loongarch/gc/x/xSyscall_linux_loongarch.hpp new file mode 100644 -index 00000000000..3ebb1327cd7 +index 000000000..3ebb1327c --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/gc/x/xSyscall_linux_loongarch.hpp @@ -0,0 +1,41 @@ @@ -71586,7 +71628,7 @@ index 00000000000..3ebb1327cd7 +#endif // OS_CPU_LINUX_LOONGARCH_GC_X_XSYSCALL_LINUX_LOONGARCH_HPP diff --git a/src/hotspot/os_cpu/linux_loongarch/gc/z/zSyscall_linux_loongarch.hpp b/src/hotspot/os_cpu/linux_loongarch/gc/z/zSyscall_linux_loongarch.hpp new file mode 100644 -index 00000000000..46d5d5a268b +index 000000000..46d5d5a26 --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/gc/z/zSyscall_linux_loongarch.hpp @@ -0,0 +1,41 @@ @@ -71633,7 +71675,7 @@ index 00000000000..46d5d5a268b +#endif // OS_CPU_LINUX_LOONGARCH_GC_Z_ZSYSCALL_LINUX_LOONGARCH_HPP diff --git a/src/hotspot/os_cpu/linux_loongarch/globals_linux_loongarch.hpp b/src/hotspot/os_cpu/linux_loongarch/globals_linux_loongarch.hpp new file mode 100644 -index 00000000000..0b5247aa0b6 +index 000000000..0b5247aa0 --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/globals_linux_loongarch.hpp @@ -0,0 +1,43 @@ @@ -71682,7 +71724,7 @@ index 00000000000..0b5247aa0b6 +#endif // OS_CPU_LINUX_LOONGARCH_GLOBALS_LINUX_LOONGARCH_HPP diff --git a/src/hotspot/os_cpu/linux_loongarch/javaThread_linux_loongarch.cpp b/src/hotspot/os_cpu/linux_loongarch/javaThread_linux_loongarch.cpp new file mode 100644 -index 00000000000..76a662afe87 +index 000000000..76a662afe --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/javaThread_linux_loongarch.cpp @@ -0,0 +1,105 @@ @@ -71793,7 +71835,7 @@ index 00000000000..76a662afe87 +void JavaThread::cache_global_variables() { } diff --git a/src/hotspot/os_cpu/linux_loongarch/javaThread_linux_loongarch.hpp b/src/hotspot/os_cpu/linux_loongarch/javaThread_linux_loongarch.hpp new file mode 100644 -index 00000000000..ea14dd335a5 +index 000000000..ea14dd335 --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/javaThread_linux_loongarch.hpp @@ -0,0 +1,66 @@ @@ -71865,7 +71907,7 @@ index 00000000000..ea14dd335a5 +#endif // OS_CPU_LINUX_LOONGARCH_JAVATHREAD_LINUX_LOONGARCH_HPP diff --git a/src/hotspot/os_cpu/linux_loongarch/linux_loongarch.s b/src/hotspot/os_cpu/linux_loongarch/linux_loongarch.s new file mode 100644 -index 00000000000..ebd73af0c53 +index 000000000..ebd73af0c --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/linux_loongarch.s @@ -0,0 +1,25 @@ @@ -71896,7 +71938,7 @@ index 00000000000..ebd73af0c53 + diff --git a/src/hotspot/os_cpu/linux_loongarch/orderAccess_linux_loongarch.hpp b/src/hotspot/os_cpu/linux_loongarch/orderAccess_linux_loongarch.hpp new file mode 100644 -index 00000000000..2d096943ae8 +index 000000000..2d096943a --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/orderAccess_linux_loongarch.hpp @@ -0,0 +1,50 @@ @@ -71952,7 +71994,7 @@ index 00000000000..2d096943ae8 +#endif // OS_CPU_LINUX_LOONGARCH_ORDERACCESS_LINUX_LOONGARCH_HPP diff --git a/src/hotspot/os_cpu/linux_loongarch/os_linux_loongarch.cpp b/src/hotspot/os_cpu/linux_loongarch/os_linux_loongarch.cpp new file mode 100644 -index 00000000000..31bfcba8db6 +index 000000000..31bfcba8d --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/os_linux_loongarch.cpp @@ -0,0 +1,491 @@ @@ -72449,7 +72491,7 @@ index 00000000000..31bfcba8db6 +} diff --git a/src/hotspot/os_cpu/linux_loongarch/os_linux_loongarch.inline.hpp b/src/hotspot/os_cpu/linux_loongarch/os_linux_loongarch.inline.hpp new file mode 100644 -index 00000000000..43071194ac1 +index 000000000..43071194a --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/os_linux_loongarch.inline.hpp @@ -0,0 +1,29 @@ @@ -72484,7 +72526,7 @@ index 00000000000..43071194ac1 +#endif // OS_CPU_LINUX_LOONGARCH_OS_LINUX_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/os_cpu/linux_loongarch/prefetch_linux_loongarch.inline.hpp b/src/hotspot/os_cpu/linux_loongarch/prefetch_linux_loongarch.inline.hpp new file mode 100644 -index 00000000000..5fe74ccd97c +index 000000000..5fe74ccd9 --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/prefetch_linux_loongarch.inline.hpp @@ -0,0 +1,56 @@ @@ -72546,7 +72588,7 @@ index 00000000000..5fe74ccd97c +#endif // OS_CPU_LINUX_LOONGARCH_PREFETCH_LINUX_LOONGARCH_INLINE_HPP diff --git a/src/hotspot/os_cpu/linux_loongarch/safefetch_linux_loongarch64.S b/src/hotspot/os_cpu/linux_loongarch/safefetch_linux_loongarch64.S new file mode 100644 -index 00000000000..fdc6da358e5 +index 000000000..fdc6da358 --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/safefetch_linux_loongarch64.S @@ -0,0 +1,56 @@ @@ -72608,7 +72650,7 @@ index 00000000000..fdc6da358e5 + jr $r1 diff --git a/src/hotspot/os_cpu/linux_loongarch/vmStructs_linux_loongarch.hpp b/src/hotspot/os_cpu/linux_loongarch/vmStructs_linux_loongarch.hpp new file mode 100644 -index 00000000000..a39cb79bb1e +index 000000000..a39cb79bb --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/vmStructs_linux_loongarch.hpp @@ -0,0 +1,55 @@ @@ -72669,7 +72711,7 @@ index 00000000000..a39cb79bb1e +#endif // OS_CPU_LINUX_LOONGARCH_VMSTRUCTS_LINUX_LOONGARCH_HPP diff --git a/src/hotspot/os_cpu/linux_loongarch/vm_version_linux_loongarch.cpp b/src/hotspot/os_cpu/linux_loongarch/vm_version_linux_loongarch.cpp new file mode 100644 -index 00000000000..3711a7036a1 +index 000000000..3711a7036 --- /dev/null +++ b/src/hotspot/os_cpu/linux_loongarch/vm_version_linux_loongarch.cpp @@ -0,0 +1,95 @@ @@ -72769,7 +72811,7 @@ index 00000000000..3711a7036a1 + HWCAP_LOONGARCH_LBT_MIPS); +} diff --git a/src/hotspot/share/adlc/formssel.cpp b/src/hotspot/share/adlc/formssel.cpp -index be4ee3a3acf..9eb3b3a9dc7 100644 +index be4ee3a3a..9eb3b3a9d 100644 --- a/src/hotspot/share/adlc/formssel.cpp +++ b/src/hotspot/share/adlc/formssel.cpp @@ -22,6 +22,12 @@ @@ -72794,7 +72836,7 @@ index be4ee3a3acf..9eb3b3a9dc7 100644 } diff --git a/src/hotspot/share/c1/c1_Compiler.cpp b/src/hotspot/share/c1/c1_Compiler.cpp -index 22299b4051b..573ce8ff7b0 100644 +index 22299b405..573ce8ff7 100644 --- a/src/hotspot/share/c1/c1_Compiler.cpp +++ b/src/hotspot/share/c1/c1_Compiler.cpp @@ -43,6 +43,12 @@ @@ -72820,7 +72862,7 @@ index 22299b4051b..573ce8ff7b0 100644 case vmIntrinsics::_updateDirectByteBufferCRC32C: #endif diff --git a/src/hotspot/share/c1/c1_LIR.cpp b/src/hotspot/share/c1/c1_LIR.cpp -index dee208c11be..c147ee8f66a 100644 +index dee208c11..c147ee8f6 100644 --- a/src/hotspot/share/c1/c1_LIR.cpp +++ b/src/hotspot/share/c1/c1_LIR.cpp @@ -22,6 +22,12 @@ @@ -72897,7 +72939,7 @@ index dee208c11be..c147ee8f66a 100644 void LIR_OpConvert::print_bytecode(outputStream* out, Bytecodes::Code code) { diff --git a/src/hotspot/share/c1/c1_LIR.hpp b/src/hotspot/share/c1/c1_LIR.hpp -index 6f527135fbe..2e2910bdb5c 100644 +index 6f527135f..2e2910bdb 100644 --- a/src/hotspot/share/c1/c1_LIR.hpp +++ b/src/hotspot/share/c1/c1_LIR.hpp @@ -22,6 +22,12 @@ @@ -72982,7 +73024,7 @@ index 6f527135fbe..2e2910bdb5c 100644 void call_runtime_leaf(address routine, LIR_Opr tmp, LIR_Opr result, LIR_OprList* arguments) { append(new LIR_OpRTCall(routine, tmp, result, arguments)); diff --git a/src/hotspot/share/c1/c1_LinearScan.cpp b/src/hotspot/share/c1/c1_LinearScan.cpp -index 0634d970c26..f7797935846 100644 +index 0634d970c..f77979358 100644 --- a/src/hotspot/share/c1/c1_LinearScan.cpp +++ b/src/hotspot/share/c1/c1_LinearScan.cpp @@ -22,6 +22,12 @@ @@ -73069,7 +73111,7 @@ index 0634d970c26..f7797935846 100644 } } diff --git a/src/hotspot/share/code/vtableStubs.cpp b/src/hotspot/share/code/vtableStubs.cpp -index eed3dc8e787..c8b58dd459c 100644 +index eed3dc8e7..c8b58dd45 100644 --- a/src/hotspot/share/code/vtableStubs.cpp +++ b/src/hotspot/share/code/vtableStubs.cpp @@ -22,6 +22,12 @@ @@ -73098,7 +73140,7 @@ index eed3dc8e787..c8b58dd459c 100644 #else // These values are good for the non-PRODUCT case (when tracing can be switched on). diff --git a/src/hotspot/share/gc/g1/g1Arguments.cpp b/src/hotspot/share/gc/g1/g1Arguments.cpp -index 28f850938c4..626bfee16a9 100644 +index 28f850938..626bfee16 100644 --- a/src/hotspot/share/gc/g1/g1Arguments.cpp +++ b/src/hotspot/share/gc/g1/g1Arguments.cpp @@ -23,6 +23,12 @@ @@ -73136,7 +73178,7 @@ index 28f850938c4..626bfee16a9 100644 if (ParallelGCThreads == 0) { assert(!FLAG_IS_DEFAULT(ParallelGCThreads), "The default value for ParallelGCThreads should not be 0."); diff --git a/src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp b/src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp -index 41553e6bf19..d426a240c7e 100644 +index 41553e6bf..d426a240c 100644 --- a/src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp +++ b/src/hotspot/share/gc/g1/g1ParScanThreadState.inline.hpp @@ -22,6 +22,12 @@ @@ -73163,7 +73205,7 @@ index 41553e6bf19..d426a240c7e 100644 } diff --git a/src/hotspot/share/gc/parallel/parallelArguments.cpp b/src/hotspot/share/gc/parallel/parallelArguments.cpp -index 468dc7bdfaf..c331cbf2be6 100644 +index 468dc7bdf..c331cbf2b 100644 --- a/src/hotspot/share/gc/parallel/parallelArguments.cpp +++ b/src/hotspot/share/gc/parallel/parallelArguments.cpp @@ -23,6 +23,12 @@ @@ -73193,7 +73235,7 @@ index 468dc7bdfaf..c331cbf2be6 100644 // of the physical memory, up to a maximum of 1GB. FLAG_SET_DEFAULT(ParallelGCThreads, diff --git a/src/hotspot/share/gc/shared/barrierSetNMethod.cpp b/src/hotspot/share/gc/shared/barrierSetNMethod.cpp -index adf0527681b..a1a76917f39 100644 +index adf052768..a1a76917f 100644 --- a/src/hotspot/share/gc/shared/barrierSetNMethod.cpp +++ b/src/hotspot/share/gc/shared/barrierSetNMethod.cpp @@ -22,6 +22,12 @@ @@ -73219,7 +73261,7 @@ index adf0527681b..a1a76917f39 100644 // the counter won't overflow. BarrierSetAssembler::clear_patching_epoch(); diff --git a/src/hotspot/share/gc/shared/c2/barrierSetC2.cpp b/src/hotspot/share/gc/shared/c2/barrierSetC2.cpp -index 41bd15ab000..508e37fa2c4 100644 +index 41bd15ab0..508e37fa2 100644 --- a/src/hotspot/share/gc/shared/c2/barrierSetC2.cpp +++ b/src/hotspot/share/gc/shared/c2/barrierSetC2.cpp @@ -22,6 +22,12 @@ @@ -73259,7 +73301,7 @@ index 41bd15ab000..508e37fa2c4 100644 } } diff --git a/src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp b/src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp -index 7d31ff02e1a..07dac06aecf 100644 +index 7d31ff02e..07dac06ae 100644 --- a/src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp +++ b/src/hotspot/share/gc/shenandoah/shenandoahArguments.cpp @@ -22,6 +22,12 @@ @@ -73285,7 +73327,7 @@ index 7d31ff02e1a..07dac06aecf 100644 #endif diff --git a/src/hotspot/share/gc/z/c1/zBarrierSetC1.cpp b/src/hotspot/share/gc/z/c1/zBarrierSetC1.cpp -index aefec771871..95c0b16d8c6 100644 +index aefec7718..95c0b16d8 100644 --- a/src/hotspot/share/gc/z/c1/zBarrierSetC1.cpp +++ b/src/hotspot/share/gc/z/c1/zBarrierSetC1.cpp @@ -21,6 +21,12 @@ @@ -73333,7 +73375,7 @@ index aefec771871..95c0b16d8c6 100644 return result; } diff --git a/src/hotspot/share/gc/z/zStoreBarrierBuffer.hpp b/src/hotspot/share/gc/z/zStoreBarrierBuffer.hpp -index f917a6c3e7b..a851a673f98 100644 +index f917a6c3e..a851a673f 100644 --- a/src/hotspot/share/gc/z/zStoreBarrierBuffer.hpp +++ b/src/hotspot/share/gc/z/zStoreBarrierBuffer.hpp @@ -21,6 +21,12 @@ @@ -73361,7 +73403,7 @@ index f917a6c3e7b..a851a673f98 100644 ZStoreBarrierEntry _buffer[_buffer_length]; diff --git a/src/hotspot/share/interpreter/interpreterRuntime.cpp b/src/hotspot/share/interpreter/interpreterRuntime.cpp -index ddb6ca32108..0365b9023a0 100644 +index ddb6ca321..0365b9023 100644 --- a/src/hotspot/share/interpreter/interpreterRuntime.cpp +++ b/src/hotspot/share/interpreter/interpreterRuntime.cpp @@ -22,6 +22,12 @@ @@ -73387,7 +73429,7 @@ index ddb6ca32108..0365b9023a0 100644 assert(current == JavaThread::current(), "pre-condition"); if (src_address == dest_address) { diff --git a/src/hotspot/share/interpreter/interpreterRuntime.hpp b/src/hotspot/share/interpreter/interpreterRuntime.hpp -index 97cfcb1eae6..622e49f2f77 100644 +index 97cfcb1ea..622e49f2f 100644 --- a/src/hotspot/share/interpreter/interpreterRuntime.hpp +++ b/src/hotspot/share/interpreter/interpreterRuntime.hpp @@ -22,6 +22,12 @@ @@ -73413,7 +73455,7 @@ index 97cfcb1eae6..622e49f2f77 100644 static void popframe_move_outgoing_args(JavaThread* current, void* src_address, void* dest_address); #endif diff --git a/src/hotspot/share/interpreter/templateInterpreterGenerator.hpp b/src/hotspot/share/interpreter/templateInterpreterGenerator.hpp -index bcccff2fe82..5c836ab5114 100644 +index bcccff2fe..5c836ab51 100644 --- a/src/hotspot/share/interpreter/templateInterpreterGenerator.hpp +++ b/src/hotspot/share/interpreter/templateInterpreterGenerator.hpp @@ -22,6 +22,12 @@ @@ -73442,7 +73484,7 @@ index bcccff2fe82..5c836ab5114 100644 #ifdef ARM32 void generate_math_runtime_call(AbstractInterpreter::MethodKind kind); diff --git a/src/hotspot/share/jfr/utilities/jfrBigEndian.hpp b/src/hotspot/share/jfr/utilities/jfrBigEndian.hpp -index b3a3600deb6..59fd9d3416f 100644 +index b3a3600de..59fd9d341 100644 --- a/src/hotspot/share/jfr/utilities/jfrBigEndian.hpp +++ b/src/hotspot/share/jfr/utilities/jfrBigEndian.hpp @@ -22,6 +22,12 @@ @@ -73468,7 +73510,7 @@ index b3a3600deb6..59fd9d3416f 100644 #else #warning "Unconfigured platform" diff --git a/src/hotspot/share/jvmci/vmStructs_jvmci.cpp b/src/hotspot/share/jvmci/vmStructs_jvmci.cpp -index a4195a04f18..9394ed12b81 100644 +index a4195a04f..9394ed12b 100644 --- a/src/hotspot/share/jvmci/vmStructs_jvmci.cpp +++ b/src/hotspot/share/jvmci/vmStructs_jvmci.cpp @@ -22,6 +22,12 @@ @@ -73503,7 +73545,7 @@ index a4195a04f18..9394ed12b81 100644 #define VM_STRUCTS_CPU(nonstatic_field, static_field, unchecked_nonstatic_field, volatile_nonstatic_field, nonproduct_nonstatic_field, c2_nonstatic_field, unchecked_c1_static_field, unchecked_c2_static_field) \ diff --git a/src/hotspot/share/memory/metaspace.cpp b/src/hotspot/share/memory/metaspace.cpp -index f3008084254..5780d3f3ad6 100644 +index f30080842..5780d3f3a 100644 --- a/src/hotspot/share/memory/metaspace.cpp +++ b/src/hotspot/share/memory/metaspace.cpp @@ -23,6 +23,12 @@ @@ -73555,7 +73597,7 @@ index f3008084254..5780d3f3ad6 100644 #endif // _LP64 diff --git a/src/hotspot/share/oops/stackChunkOop.inline.hpp b/src/hotspot/share/oops/stackChunkOop.inline.hpp -index eac86b8d0ec..0c5ecb7c6a3 100644 +index eac86b8d0..0c5ecb7c6 100644 --- a/src/hotspot/share/oops/stackChunkOop.inline.hpp +++ b/src/hotspot/share/oops/stackChunkOop.inline.hpp @@ -22,6 +22,12 @@ @@ -73590,7 +73632,7 @@ index eac86b8d0ec..0c5ecb7c6a3 100644 // that stub out arch-specific methods. Some compilers are smart enough // to figure out the argument is always null and then warn about it. diff --git a/src/hotspot/share/opto/classes.hpp b/src/hotspot/share/opto/classes.hpp -index 892ccc6b8ab..6c1b9affcbe 100644 +index 892ccc6b8..6c1b9affc 100644 --- a/src/hotspot/share/opto/classes.hpp +++ b/src/hotspot/share/opto/classes.hpp @@ -22,6 +22,12 @@ @@ -73615,7 +73657,7 @@ index 892ccc6b8ab..6c1b9affcbe 100644 macro(MinI) macro(MinL) diff --git a/src/hotspot/share/opto/compile.cpp b/src/hotspot/share/opto/compile.cpp -index b647a267081..32e0a1dec9b 100644 +index def117afb..a2fca2de3 100644 --- a/src/hotspot/share/opto/compile.cpp +++ b/src/hotspot/share/opto/compile.cpp @@ -22,6 +22,12 @@ @@ -73631,7 +73673,7 @@ index b647a267081..32e0a1dec9b 100644 #include "precompiled.hpp" #include "asm/macroAssembler.hpp" #include "asm/macroAssembler.inline.hpp" -@@ -3754,6 +3760,7 @@ void Compile::final_graph_reshaping_main_switch(Node* n, Final_Reshape_Counts& f +@@ -3760,6 +3766,7 @@ void Compile::final_graph_reshaping_main_switch(Node* n, Final_Reshape_Counts& f n->set_req(MemBarNode::Precedent, top()); } break; @@ -73640,7 +73682,7 @@ index b647a267081..32e0a1dec9b 100644 if (n->as_MemBar()->trailing_load() && n->req() > MemBarNode::Precedent) { // At parse time, the trailing MemBarAcquire for a volatile load diff --git a/src/hotspot/share/opto/memnode.cpp b/src/hotspot/share/opto/memnode.cpp -index d5c02b474e3..e0c5fa88fb7 100644 +index d5c02b474..e0c5fa88f 100644 --- a/src/hotspot/share/opto/memnode.cpp +++ b/src/hotspot/share/opto/memnode.cpp @@ -22,6 +22,12 @@ @@ -73665,7 +73707,7 @@ index d5c02b474e3..e0c5fa88fb7 100644 case Op_Initialize: return new InitializeNode(C, atp, pn); default: ShouldNotReachHere(); return nullptr; diff --git a/src/hotspot/share/opto/memnode.hpp b/src/hotspot/share/opto/memnode.hpp -index f12e08f8fd0..d231fddd4b6 100644 +index f12e08f8f..d231fddd4 100644 --- a/src/hotspot/share/opto/memnode.hpp +++ b/src/hotspot/share/opto/memnode.hpp @@ -22,6 +22,12 @@ @@ -73697,7 +73739,7 @@ index f12e08f8fd0..d231fddd4b6 100644 public: OnSpinWaitNode(Compile* C, int alias_idx, Node* precedent) diff --git a/src/hotspot/share/opto/output.cpp b/src/hotspot/share/opto/output.cpp -index 988e6e42b8c..3edac67f0ee 100644 +index 988e6e42b..3edac67f0 100644 --- a/src/hotspot/share/opto/output.cpp +++ b/src/hotspot/share/opto/output.cpp @@ -22,6 +22,12 @@ @@ -73737,7 +73779,7 @@ index 988e6e42b8c..3edac67f0ee 100644 // Above we only verified that there is enough space in the instruction section. // However, the instruction may emit stubs that cause code buffer expansion. diff --git a/src/hotspot/share/runtime/arguments.cpp b/src/hotspot/share/runtime/arguments.cpp -index 720a0e9ba29..6ae1766f7fa 100644 +index 720a0e9ba..6ae1766f7 100644 --- a/src/hotspot/share/runtime/arguments.cpp +++ b/src/hotspot/share/runtime/arguments.cpp @@ -22,6 +22,12 @@ @@ -73771,7 +73813,7 @@ index 720a0e9ba29..6ae1766f7fa 100644 jio_fprintf(defaultStream::error_stream(), "LockingMode == 0 (LM_MONITOR) is not fully implemented on this architecture"); diff --git a/src/hotspot/share/runtime/continuation.cpp b/src/hotspot/share/runtime/continuation.cpp -index 03c0af1a572..7e468def61d 100644 +index 03c0af1a5..7e468def6 100644 --- a/src/hotspot/share/runtime/continuation.cpp +++ b/src/hotspot/share/runtime/continuation.cpp @@ -22,6 +22,12 @@ @@ -73797,7 +73839,7 @@ index 03c0af1a572..7e468def61d 100644 #else frame sender = frame(); diff --git a/src/hotspot/share/runtime/continuationFreezeThaw.cpp b/src/hotspot/share/runtime/continuationFreezeThaw.cpp -index 5de00b77366..12c076f64ea 100644 +index 5de00b773..12c076f64 100644 --- a/src/hotspot/share/runtime/continuationFreezeThaw.cpp +++ b/src/hotspot/share/runtime/continuationFreezeThaw.cpp @@ -22,6 +22,12 @@ @@ -73852,7 +73894,7 @@ index 5de00b77366..12c076f64ea 100644 copy_from_chunk(from, to, sz); // copying good oops because we invoked barriers above diff --git a/src/hotspot/share/runtime/javaThread.inline.hpp b/src/hotspot/share/runtime/javaThread.inline.hpp -index 7b1ad7e17e1..c7a0246e375 100644 +index 7b1ad7e17..c7a0246e3 100644 --- a/src/hotspot/share/runtime/javaThread.inline.hpp +++ b/src/hotspot/share/runtime/javaThread.inline.hpp @@ -23,6 +23,12 @@ @@ -73887,7 +73929,7 @@ index 7b1ad7e17e1..c7a0246e375 100644 // Threads::create_vm() for size checks. Atomic::release_store(&_thread_state, s); diff --git a/src/hotspot/share/runtime/objectMonitor.cpp b/src/hotspot/share/runtime/objectMonitor.cpp -index ee0f754b865..e29e7164181 100644 +index ee0f754b8..e29e71641 100644 --- a/src/hotspot/share/runtime/objectMonitor.cpp +++ b/src/hotspot/share/runtime/objectMonitor.cpp @@ -22,6 +22,12 @@ @@ -73922,7 +73964,7 @@ index ee0f754b865..e29e7164181 100644 assert(owner_raw() != current, "invariant"); assert(_Responsible != current, "invariant"); diff --git a/src/hotspot/share/runtime/os.cpp b/src/hotspot/share/runtime/os.cpp -index cd0709a7bca..0c40c27302a 100644 +index cd0709a7b..0c40c2730 100644 --- a/src/hotspot/share/runtime/os.cpp +++ b/src/hotspot/share/runtime/os.cpp @@ -22,6 +22,12 @@ @@ -73949,7 +73991,7 @@ index cd0709a7bca..0c40c27302a 100644 // stack grows downwards; if old_fp is below current fp or if the stack diff --git a/src/hotspot/share/runtime/sharedRuntime.cpp b/src/hotspot/share/runtime/sharedRuntime.cpp -index f8713f5bb8f..6e75e8f2104 100644 +index f8713f5bb..6e75e8f21 100644 --- a/src/hotspot/share/runtime/sharedRuntime.cpp +++ b/src/hotspot/share/runtime/sharedRuntime.cpp @@ -22,6 +22,12 @@ @@ -73975,7 +74017,7 @@ index f8713f5bb8f..6e75e8f2104 100644 // in the constant pool to ensure ordering between the barrier and oops // accesses. For native_wrappers we need a constant. diff --git a/src/hotspot/share/runtime/sharedRuntimeTrig.cpp b/src/hotspot/share/runtime/sharedRuntimeTrig.cpp -index fac76262f3c..f41cf843d31 100644 +index fac76262f..f41cf843d 100644 --- a/src/hotspot/share/runtime/sharedRuntimeTrig.cpp +++ b/src/hotspot/share/runtime/sharedRuntimeTrig.cpp @@ -22,6 +22,13 @@ @@ -74016,7 +74058,7 @@ index fac76262f3c..f41cf843d31 100644 static double __kernel_sin(double x, double y, int iy) { diff --git a/src/hotspot/share/runtime/synchronizer.cpp b/src/hotspot/share/runtime/synchronizer.cpp -index b5859ed2714..312b68baf42 100644 +index b5859ed27..312b68baf 100644 --- a/src/hotspot/share/runtime/synchronizer.cpp +++ b/src/hotspot/share/runtime/synchronizer.cpp @@ -22,6 +22,12 @@ @@ -74042,7 +74084,7 @@ index b5859ed2714..312b68baf42 100644 #else return false; diff --git a/src/hotspot/share/runtime/vmStructs.cpp b/src/hotspot/share/runtime/vmStructs.cpp -index 827cb0cdf87..0c1bc904121 100644 +index 827cb0cdf..0c1bc9041 100644 --- a/src/hotspot/share/runtime/vmStructs.cpp +++ b/src/hotspot/share/runtime/vmStructs.cpp @@ -22,6 +22,12 @@ @@ -74067,7 +74109,7 @@ index 827cb0cdf87..0c1bc904121 100644 declare_c2_type(BlackholeNode, MultiNode) \ declare_c2_type(InitializeNode, MemBarNode) \ diff --git a/src/hotspot/share/utilities/macros.hpp b/src/hotspot/share/utilities/macros.hpp -index 244b18ecdd4..cdb392b5ef2 100644 +index 244b18ecd..cdb392b5e 100644 --- a/src/hotspot/share/utilities/macros.hpp +++ b/src/hotspot/share/utilities/macros.hpp @@ -22,6 +22,12 @@ @@ -74103,7 +74145,7 @@ index 244b18ecdd4..cdb392b5ef2 100644 #ifndef PPC #define PPC diff --git a/src/java.base/share/classes/jdk/internal/foreign/CABI.java b/src/java.base/share/classes/jdk/internal/foreign/CABI.java -index d376a196333..5ceb511ec90 100644 +index d376a1963..5ceb511ec 100644 --- a/src/java.base/share/classes/jdk/internal/foreign/CABI.java +++ b/src/java.base/share/classes/jdk/internal/foreign/CABI.java @@ -23,6 +23,12 @@ @@ -74141,7 +74183,7 @@ index d376a196333..5ceb511ec90 100644 return FALLBACK; // fallback linker } diff --git a/src/java.base/share/classes/jdk/internal/foreign/abi/AbstractLinker.java b/src/java.base/share/classes/jdk/internal/foreign/abi/AbstractLinker.java -index 8a322cdcf7a..4ab3845d35e 100644 +index 8a322cdcf..4ab3845d3 100644 --- a/src/java.base/share/classes/jdk/internal/foreign/abi/AbstractLinker.java +++ b/src/java.base/share/classes/jdk/internal/foreign/abi/AbstractLinker.java @@ -22,6 +22,12 @@ @@ -74174,7 +74216,7 @@ index 8a322cdcf7a..4ab3845d35e 100644 public interface UpcallStubFactory { diff --git a/src/java.base/share/classes/jdk/internal/foreign/abi/SharedUtils.java b/src/java.base/share/classes/jdk/internal/foreign/abi/SharedUtils.java -index 92d10a1dbdf..40cc94cda13 100644 +index 92d10a1db..40cc94cda 100644 --- a/src/java.base/share/classes/jdk/internal/foreign/abi/SharedUtils.java +++ b/src/java.base/share/classes/jdk/internal/foreign/abi/SharedUtils.java @@ -22,6 +22,12 @@ @@ -74208,7 +74250,7 @@ index 92d10a1dbdf..40cc94cda13 100644 }; diff --git a/src/java.base/share/classes/jdk/internal/foreign/abi/loongarch64/LoongArch64Architecture.java b/src/java.base/share/classes/jdk/internal/foreign/abi/loongarch64/LoongArch64Architecture.java new file mode 100644 -index 00000000000..aec9e531708 +index 000000000..aec9e5317 --- /dev/null +++ b/src/java.base/share/classes/jdk/internal/foreign/abi/loongarch64/LoongArch64Architecture.java @@ -0,0 +1,179 @@ @@ -74393,7 +74435,7 @@ index 00000000000..aec9e531708 +} diff --git a/src/java.base/share/classes/jdk/internal/foreign/abi/loongarch64/linux/LinuxLoongArch64CallArranger.java b/src/java.base/share/classes/jdk/internal/foreign/abi/loongarch64/linux/LinuxLoongArch64CallArranger.java new file mode 100644 -index 00000000000..97e84a28b64 +index 000000000..97e84a28b --- /dev/null +++ b/src/java.base/share/classes/jdk/internal/foreign/abi/loongarch64/linux/LinuxLoongArch64CallArranger.java @@ -0,0 +1,472 @@ @@ -74871,7 +74913,7 @@ index 00000000000..97e84a28b64 +} diff --git a/src/java.base/share/classes/jdk/internal/foreign/abi/loongarch64/linux/LinuxLoongArch64Linker.java b/src/java.base/share/classes/jdk/internal/foreign/abi/loongarch64/linux/LinuxLoongArch64Linker.java new file mode 100644 -index 00000000000..c231a91b1bb +index 000000000..c231a91b1 --- /dev/null +++ b/src/java.base/share/classes/jdk/internal/foreign/abi/loongarch64/linux/LinuxLoongArch64Linker.java @@ -0,0 +1,65 @@ @@ -74942,7 +74984,7 @@ index 00000000000..c231a91b1bb +} diff --git a/src/java.base/share/classes/jdk/internal/foreign/abi/loongarch64/linux/TypeClass.java b/src/java.base/share/classes/jdk/internal/foreign/abi/loongarch64/linux/TypeClass.java new file mode 100644 -index 00000000000..117eb529434 +index 000000000..117eb5294 --- /dev/null +++ b/src/java.base/share/classes/jdk/internal/foreign/abi/loongarch64/linux/TypeClass.java @@ -0,0 +1,217 @@ @@ -75164,7 +75206,7 @@ index 00000000000..117eb529434 + } +} diff --git a/src/java.base/share/classes/jdk/internal/util/Architecture.java b/src/java.base/share/classes/jdk/internal/util/Architecture.java -index 5c861902743..f48d3a63204 100644 +index 5c8619027..f48d3a632 100644 --- a/src/java.base/share/classes/jdk/internal/util/Architecture.java +++ b/src/java.base/share/classes/jdk/internal/util/Architecture.java @@ -22,6 +22,14 @@ @@ -75183,7 +75225,7 @@ index 5c861902743..f48d3a63204 100644 import jdk.internal.vm.annotation.ForceInline; diff --git a/src/java.base/share/classes/jdk/internal/util/PlatformProps.java.template b/src/java.base/share/classes/jdk/internal/util/PlatformProps.java.template -index 9c2a2c84511..c0720ad7b9d 100644 +index 9c2a2c845..c0720ad7b 100644 --- a/src/java.base/share/classes/jdk/internal/util/PlatformProps.java.template +++ b/src/java.base/share/classes/jdk/internal/util/PlatformProps.java.template @@ -22,6 +22,14 @@ @@ -75202,7 +75244,7 @@ index 9c2a2c84511..c0720ad7b9d 100644 /** diff --git a/src/jdk.hotspot.agent/linux/native/libsaproc/LinuxDebuggerLocal.cpp b/src/jdk.hotspot.agent/linux/native/libsaproc/LinuxDebuggerLocal.cpp -index bebf8d0f05a..44d2a6342a1 100644 +index d2cfbf8e7..726170bd3 100644 --- a/src/jdk.hotspot.agent/linux/native/libsaproc/LinuxDebuggerLocal.cpp +++ b/src/jdk.hotspot.agent/linux/native/libsaproc/LinuxDebuggerLocal.cpp @@ -23,6 +23,13 @@ @@ -75239,7 +75281,7 @@ index bebf8d0f05a..44d2a6342a1 100644 extern "C" JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLocal_getThreadIntegerRegisterSet0 (JNIEnv *env, jobject this_obj, jint lwp_id) { -@@ -443,6 +454,9 @@ JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo +@@ -442,6 +453,9 @@ JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo #ifdef aarch64 #define NPRGREG sun_jvm_hotspot_debugger_aarch64_AARCH64ThreadContext_NPRGREG #endif @@ -75249,7 +75291,7 @@ index bebf8d0f05a..44d2a6342a1 100644 #ifdef riscv64 #define NPRGREG sun_jvm_hotspot_debugger_riscv64_RISCV64ThreadContext_NPRGREG #endif -@@ -522,6 +536,18 @@ JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo +@@ -521,6 +535,18 @@ JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo } #endif /* aarch64 */ @@ -75269,7 +75311,7 @@ index bebf8d0f05a..44d2a6342a1 100644 #define REG_INDEX(reg) sun_jvm_hotspot_debugger_riscv64_RISCV64ThreadContext_##reg diff --git a/src/jdk.hotspot.agent/linux/native/libsaproc/libproc.h b/src/jdk.hotspot.agent/linux/native/libsaproc/libproc.h -index a69496e77a4..d2e77252769 100644 +index a69496e77..d2e772527 100644 --- a/src/jdk.hotspot.agent/linux/native/libsaproc/libproc.h +++ b/src/jdk.hotspot.agent/linux/native/libsaproc/libproc.h @@ -22,6 +22,13 @@ @@ -75296,7 +75338,7 @@ index a69496e77a4..d2e77252769 100644 #define user_regs_struct user_pt_regs #elif defined(arm) diff --git a/src/jdk.hotspot.agent/linux/native/libsaproc/ps_proc.c b/src/jdk.hotspot.agent/linux/native/libsaproc/ps_proc.c -index 3068f475626..d35cc73221f 100644 +index 3068f4756..d35cc7322 100644 --- a/src/jdk.hotspot.agent/linux/native/libsaproc/ps_proc.c +++ b/src/jdk.hotspot.agent/linux/native/libsaproc/ps_proc.c @@ -22,6 +22,12 @@ @@ -75322,7 +75364,7 @@ index 3068f475626..d35cc73221f 100644 print_debug("ptrace(PTRACE_GETREGS, ...) failed for lwp(%d) errno(%d) \"%s\"\n", pid, errno, strerror(errno)); diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/HotSpotAgent.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/HotSpotAgent.java -index 71ed978199c..194088c697a 100644 +index 71ed97819..194088c69 100644 --- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/HotSpotAgent.java +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/HotSpotAgent.java @@ -23,6 +23,12 @@ @@ -75357,7 +75399,7 @@ index 71ed978199c..194088c697a 100644 machDesc = (MachineDescription) diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/MachineDescriptionLOONGARCH64.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/MachineDescriptionLOONGARCH64.java new file mode 100644 -index 00000000000..99cea8c7f14 +index 000000000..99cea8c7f --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/MachineDescriptionLOONGARCH64.java @@ -0,0 +1,41 @@ @@ -75403,7 +75445,7 @@ index 00000000000..99cea8c7f14 + } +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxCDebugger.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxCDebugger.java -index c100c160947..0b87e7922e7 100644 +index c100c1609..0b87e7922 100644 --- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxCDebugger.java +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxCDebugger.java @@ -23,6 +23,12 @@ @@ -75451,7 +75493,7 @@ index c100c160947..0b87e7922e7 100644 Address sp = context.getRegisterAsAddress(PPC64ThreadContext.SP); if (sp == null) return null; diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxThreadContextFactory.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxThreadContextFactory.java -index 69a34fe2afa..da07fe91258 100644 +index 69a34fe2a..da07fe912 100644 --- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxThreadContextFactory.java +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxThreadContextFactory.java @@ -22,6 +22,12 @@ @@ -75488,7 +75530,7 @@ index 69a34fe2afa..da07fe91258 100644 try { diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/loongarch64/LinuxLOONGARCH64CFrame.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/loongarch64/LinuxLOONGARCH64CFrame.java new file mode 100644 -index 00000000000..0e6caee5a49 +index 000000000..0e6caee5a --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/loongarch64/LinuxLOONGARCH64CFrame.java @@ -0,0 +1,92 @@ @@ -75586,7 +75628,7 @@ index 00000000000..0e6caee5a49 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/loongarch64/LinuxLOONGARCH64ThreadContext.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/loongarch64/LinuxLOONGARCH64ThreadContext.java new file mode 100644 -index 00000000000..604642598e0 +index 000000000..604642598 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/loongarch64/LinuxLOONGARCH64ThreadContext.java @@ -0,0 +1,47 @@ @@ -75639,7 +75681,7 @@ index 00000000000..604642598e0 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/loongarch64/LOONGARCH64ThreadContext.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/loongarch64/LOONGARCH64ThreadContext.java new file mode 100644 -index 00000000000..1de3cb1a472 +index 000000000..1de3cb1a4 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/loongarch64/LOONGARCH64ThreadContext.java @@ -0,0 +1,128 @@ @@ -75772,7 +75814,7 @@ index 00000000000..1de3cb1a472 + public abstract Address getRegisterAsAddress(int index); +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/posix/elf/ELFHeader.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/posix/elf/ELFHeader.java -index 7113a3a497b..de47531db7c 100644 +index 7113a3a49..de47531db 100644 --- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/posix/elf/ELFHeader.java +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/posix/elf/ELFHeader.java @@ -22,6 +22,12 @@ @@ -75798,7 +75840,7 @@ index 7113a3a497b..de47531db7c 100644 /** Returns a file type which is defined by the file type constants. */ public short getFileType(); diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/RemoteDebuggerClient.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/RemoteDebuggerClient.java -index d4a7c17dc85..1b3e5d5e971 100644 +index d4a7c17dc..1b3e5d5e9 100644 --- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/RemoteDebuggerClient.java +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/RemoteDebuggerClient.java @@ -22,6 +22,12 @@ @@ -75835,7 +75877,7 @@ index d4a7c17dc85..1b3e5d5e971 100644 Class tf = Class.forName("sun.jvm.hotspot.debugger.remote." + diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64Thread.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64Thread.java new file mode 100644 -index 00000000000..242dd279e1a +index 000000000..242dd279e --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64Thread.java @@ -0,0 +1,54 @@ @@ -75895,7 +75937,7 @@ index 00000000000..242dd279e1a +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64ThreadContext.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64ThreadContext.java new file mode 100644 -index 00000000000..634d5ad049f +index 000000000..634d5ad04 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64ThreadContext.java @@ -0,0 +1,51 @@ @@ -75952,7 +75994,7 @@ index 00000000000..634d5ad049f +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64ThreadFactory.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64ThreadFactory.java new file mode 100644 -index 00000000000..4fb9cc7c069 +index 000000000..4fb9cc7c0 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64ThreadFactory.java @@ -0,0 +1,45 @@ @@ -76002,7 +76044,7 @@ index 00000000000..4fb9cc7c069 + } +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/Threads.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/Threads.java -index a6f5da88ad4..2a220f9fd8b 100644 +index a6f5da88a..2a220f9fd 100644 --- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/Threads.java +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/Threads.java @@ -22,6 +22,12 @@ @@ -76037,7 +76079,7 @@ index a6f5da88ad4..2a220f9fd8b 100644 access = (JavaThreadPDAccess) diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/linux_loongarch64/LinuxLOONGARCH64JavaThreadPDAccess.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/linux_loongarch64/LinuxLOONGARCH64JavaThreadPDAccess.java new file mode 100644 -index 00000000000..b92c8eca74b +index 000000000..b92c8eca7 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/linux_loongarch64/LinuxLOONGARCH64JavaThreadPDAccess.java @@ -0,0 +1,139 @@ @@ -76182,7 +76224,7 @@ index 00000000000..b92c8eca74b +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64CurrentFrameGuess.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64CurrentFrameGuess.java new file mode 100644 -index 00000000000..824270e1329 +index 000000000..824270e13 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64CurrentFrameGuess.java @@ -0,0 +1,250 @@ @@ -76438,7 +76480,7 @@ index 00000000000..824270e1329 +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64Frame.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64Frame.java new file mode 100644 -index 00000000000..9470781c48e +index 000000000..9470781c4 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64Frame.java @@ -0,0 +1,540 @@ @@ -76984,7 +77026,7 @@ index 00000000000..9470781c48e +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64JavaCallWrapper.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64JavaCallWrapper.java new file mode 100644 -index 00000000000..0ad9573a42d +index 000000000..0ad9573a4 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64JavaCallWrapper.java @@ -0,0 +1,59 @@ @@ -77049,7 +77091,7 @@ index 00000000000..0ad9573a42d +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64RegisterMap.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64RegisterMap.java new file mode 100644 -index 00000000000..2cf904d3885 +index 000000000..2cf904d38 --- /dev/null +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64RegisterMap.java @@ -0,0 +1,52 @@ @@ -77106,7 +77148,7 @@ index 00000000000..2cf904d3885 + protected Address getLocationPD(VMReg reg) { return null; } +} diff --git a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java -index f4cd4873207..622ddb7349e 100644 +index f4cd48732..622ddb734 100644 --- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java @@ -22,6 +22,13 @@ @@ -77144,7 +77186,7 @@ index f4cd4873207..622ddb7349e 100644 } diff --git a/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotJVMCIBackendFactory.java b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotJVMCIBackendFactory.java new file mode 100644 -index 00000000000..1f54e9f3c59 +index 000000000..1f54e9f3c --- /dev/null +++ b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotJVMCIBackendFactory.java @@ -0,0 +1,142 @@ @@ -77292,7 +77334,7 @@ index 00000000000..1f54e9f3c59 +} diff --git a/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotRegisterConfig.java b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotRegisterConfig.java new file mode 100644 -index 00000000000..e1a007000d2 +index 000000000..e1a007000 --- /dev/null +++ b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotRegisterConfig.java @@ -0,0 +1,297 @@ @@ -77595,7 +77637,7 @@ index 00000000000..e1a007000d2 +} diff --git a/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotVMConfig.java b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotVMConfig.java new file mode 100644 -index 00000000000..67173ecab48 +index 000000000..67173ecab --- /dev/null +++ b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotVMConfig.java @@ -0,0 +1,79 @@ @@ -77680,7 +77722,7 @@ index 00000000000..67173ecab48 +} diff --git a/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/package-info.java b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/package-info.java new file mode 100644 -index 00000000000..74c6ca9801f +index 000000000..74c6ca980 --- /dev/null +++ b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/package-info.java @@ -0,0 +1,28 @@ @@ -77714,7 +77756,7 @@ index 00000000000..74c6ca9801f +package jdk.vm.ci.hotspot.loongarch64; diff --git a/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/LoongArch64.java b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/LoongArch64.java new file mode 100644 -index 00000000000..c178ec21529 +index 000000000..c178ec215 --- /dev/null +++ b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/LoongArch64.java @@ -0,0 +1,251 @@ @@ -77971,7 +78013,7 @@ index 00000000000..c178ec21529 +} diff --git a/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/LoongArch64Kind.java b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/LoongArch64Kind.java new file mode 100644 -index 00000000000..047a1dbbe36 +index 000000000..047a1dbbe --- /dev/null +++ b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/LoongArch64Kind.java @@ -0,0 +1,163 @@ @@ -78140,7 +78182,7 @@ index 00000000000..047a1dbbe36 +} diff --git a/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/package-info.java b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/package-info.java new file mode 100644 -index 00000000000..6df1b7b3a92 +index 000000000..6df1b7b3a --- /dev/null +++ b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/package-info.java @@ -0,0 +1,28 @@ @@ -78173,7 +78215,7 @@ index 00000000000..6df1b7b3a92 + */ +package jdk.vm.ci.loongarch64; diff --git a/src/jdk.internal.vm.ci/share/classes/module-info.java b/src/jdk.internal.vm.ci/share/classes/module-info.java -index b4b93f6a747..68fa668e1bc 100644 +index b4b93f6a7..68fa668e1 100644 --- a/src/jdk.internal.vm.ci/share/classes/module-info.java +++ b/src/jdk.internal.vm.ci/share/classes/module-info.java @@ -23,6 +23,12 @@ @@ -78197,7 +78239,7 @@ index b4b93f6a747..68fa668e1bc 100644 jdk.vm.ci.hotspot.riscv64.RISCV64HotSpotJVMCIBackendFactory; } diff --git a/src/utils/hsdis/binutils/hsdis-binutils.c b/src/utils/hsdis/binutils/hsdis-binutils.c -index 279ed53ba5d..3281346aa23 100644 +index 279ed53ba..3281346aa 100644 --- a/src/utils/hsdis/binutils/hsdis-binutils.c +++ b/src/utils/hsdis/binutils/hsdis-binutils.c @@ -44,6 +44,12 @@ @@ -78224,7 +78266,7 @@ index 279ed53ba5d..3281346aa23 100644 if (res == NULL) res = "architecture not set in Makefile!"; diff --git a/test/hotspot/jtreg/compiler/arguments/TestCodeEntryAlignment.java b/test/hotspot/jtreg/compiler/arguments/TestCodeEntryAlignment.java -index 465999eac7f..ba9629d5e77 100644 +index 465999eac..ba9629d5e 100644 --- a/test/hotspot/jtreg/compiler/arguments/TestCodeEntryAlignment.java +++ b/test/hotspot/jtreg/compiler/arguments/TestCodeEntryAlignment.java @@ -22,12 +22,18 @@ @@ -78248,7 +78290,7 @@ index 465999eac7f..ba9629d5e77 100644 * @summary Test large CodeEntryAlignments are accepted * @run driver compiler.arguments.TestCodeEntryAlignment diff --git a/test/hotspot/jtreg/compiler/arraycopy/stress/TestStressArrayCopy.java b/test/hotspot/jtreg/compiler/arraycopy/stress/TestStressArrayCopy.java -index 55dfb0460a2..5f36747a394 100644 +index 55dfb0460..5f36747a3 100644 --- a/test/hotspot/jtreg/compiler/arraycopy/stress/TestStressArrayCopy.java +++ b/test/hotspot/jtreg/compiler/arraycopy/stress/TestStressArrayCopy.java @@ -21,6 +21,12 @@ @@ -78280,7 +78322,7 @@ index 55dfb0460a2..5f36747a394 100644 // Generic config. configs.add(new ArrayList()); diff --git a/test/hotspot/jtreg/compiler/c2/TestBit.java b/test/hotspot/jtreg/compiler/c2/TestBit.java -index a3c9421a3f9..aa02e31f712 100644 +index a3c9421a3..aa02e31f7 100644 --- a/test/hotspot/jtreg/compiler/c2/TestBit.java +++ b/test/hotspot/jtreg/compiler/c2/TestBit.java @@ -21,6 +21,12 @@ @@ -78306,7 +78348,7 @@ index a3c9421a3f9..aa02e31f712 100644 * * @run driver compiler.c2.TestBit diff --git a/test/hotspot/jtreg/compiler/c2/irTests/CmpUWithZero.java b/test/hotspot/jtreg/compiler/c2/irTests/CmpUWithZero.java -index f5b37f229d0..a0eddb2ef1f 100644 +index f5b37f229..a0eddb2ef 100644 --- a/test/hotspot/jtreg/compiler/c2/irTests/CmpUWithZero.java +++ b/test/hotspot/jtreg/compiler/c2/irTests/CmpUWithZero.java @@ -21,6 +21,12 @@ @@ -78332,7 +78374,7 @@ index f5b37f229d0..a0eddb2ef1f 100644 * @requires vm.compiler2.enabled * @run driver compiler.c2.irTests.CmpUWithZero diff --git a/test/hotspot/jtreg/compiler/c2/irTests/TestAutoVecCountingDownLoop.java b/test/hotspot/jtreg/compiler/c2/irTests/TestAutoVecCountingDownLoop.java -index 994ec1e9cc0..5669a094212 100644 +index 994ec1e9c..5669a0942 100644 --- a/test/hotspot/jtreg/compiler/c2/irTests/TestAutoVecCountingDownLoop.java +++ b/test/hotspot/jtreg/compiler/c2/irTests/TestAutoVecCountingDownLoop.java @@ -21,6 +21,12 @@ @@ -78358,7 +78400,7 @@ index 994ec1e9cc0..5669a094212 100644 * @run driver compiler.c2.irTests.TestAutoVecCountingDownLoop */ diff --git a/test/hotspot/jtreg/compiler/c2/irTests/TestIRAbs.java b/test/hotspot/jtreg/compiler/c2/irTests/TestIRAbs.java -index 8ba786d6f20..da9106bf92e 100644 +index 8ba786d6f..da9106bf9 100644 --- a/test/hotspot/jtreg/compiler/c2/irTests/TestIRAbs.java +++ b/test/hotspot/jtreg/compiler/c2/irTests/TestIRAbs.java @@ -21,6 +21,12 @@ @@ -78384,7 +78426,7 @@ index 8ba786d6f20..da9106bf92e 100644 * @run driver compiler.c2.irTests.TestIRAbs */ diff --git a/test/hotspot/jtreg/compiler/c2/irTests/TestVectorizationNotRun.java b/test/hotspot/jtreg/compiler/c2/irTests/TestVectorizationNotRun.java -index 5968b7221c7..6bcdf4d189d 100644 +index 5968b7221..6bcdf4d18 100644 --- a/test/hotspot/jtreg/compiler/c2/irTests/TestVectorizationNotRun.java +++ b/test/hotspot/jtreg/compiler/c2/irTests/TestVectorizationNotRun.java @@ -21,6 +21,12 @@ @@ -78410,7 +78452,7 @@ index 5968b7221c7..6bcdf4d189d 100644 * @library /test/lib / * @run driver compiler.c2.irTests.TestVectorizationNotRun diff --git a/test/hotspot/jtreg/compiler/c2/irTests/TestVectorizeTypeConversion.java b/test/hotspot/jtreg/compiler/c2/irTests/TestVectorizeTypeConversion.java -index 899be4bbc9c..3aefead5d13 100644 +index 899be4bbc..3aefead5d 100644 --- a/test/hotspot/jtreg/compiler/c2/irTests/TestVectorizeTypeConversion.java +++ b/test/hotspot/jtreg/compiler/c2/irTests/TestVectorizeTypeConversion.java @@ -21,6 +21,12 @@ @@ -78436,7 +78478,7 @@ index 899be4bbc9c..3aefead5d13 100644 * @run driver compiler.c2.irTests.TestVectorizeTypeConversion */ diff --git a/test/hotspot/jtreg/compiler/c2/irTests/TestVectorizeURShiftSubword.java b/test/hotspot/jtreg/compiler/c2/irTests/TestVectorizeURShiftSubword.java -index ebe3fe63ccf..04ea3cccdef 100644 +index ebe3fe63c..04ea3cccd 100644 --- a/test/hotspot/jtreg/compiler/c2/irTests/TestVectorizeURShiftSubword.java +++ b/test/hotspot/jtreg/compiler/c2/irTests/TestVectorizeURShiftSubword.java @@ -22,6 +22,12 @@ @@ -78462,7 +78504,7 @@ index ebe3fe63ccf..04ea3cccdef 100644 * @run driver compiler.c2.irTests.TestVectorizeURShiftSubword */ diff --git a/test/hotspot/jtreg/compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig.java b/test/hotspot/jtreg/compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig.java -index ac3a6d9a8c6..c17598902ff 100644 +index ac3a6d9a8..c17598902 100644 --- a/test/hotspot/jtreg/compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig.java +++ b/test/hotspot/jtreg/compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig.java @@ -21,12 +21,18 @@ @@ -78486,7 +78528,7 @@ index ac3a6d9a8c6..c17598902ff 100644 * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox * @run main/othervm/timeout=600 -Xbootclasspath/a:. diff --git a/test/hotspot/jtreg/compiler/cpuflags/TestAESIntrinsicsOnUnsupportedConfig.java b/test/hotspot/jtreg/compiler/cpuflags/TestAESIntrinsicsOnUnsupportedConfig.java -index fdc8f63f9e0..993cf68d011 100644 +index fdc8f63f9..993cf68d0 100644 --- a/test/hotspot/jtreg/compiler/cpuflags/TestAESIntrinsicsOnUnsupportedConfig.java +++ b/test/hotspot/jtreg/compiler/cpuflags/TestAESIntrinsicsOnUnsupportedConfig.java @@ -21,6 +21,12 @@ @@ -78511,35 +78553,8 @@ index fdc8f63f9e0..993cf68d011 100644 * @requires vm.compiler1.enabled | !vm.graal.enabled * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -diff --git a/test/hotspot/jtreg/compiler/intrinsics/TestBitShuffleOpers.java b/test/hotspot/jtreg/compiler/intrinsics/TestBitShuffleOpers.java -index 46469777771..9be18a981ff 100644 ---- a/test/hotspot/jtreg/compiler/intrinsics/TestBitShuffleOpers.java -+++ b/test/hotspot/jtreg/compiler/intrinsics/TestBitShuffleOpers.java -@@ -21,6 +21,12 @@ - * questions. - */ - -+/* -+ * This file has been modified by Loongson Technology in 2023, These -+ * modifications are Copyright (c) 2023, Loongson Technology, and are made -+ * available on the same license terms set forth above. -+ */ -+ - /** - * @test - * @bug 8283894 -@@ -31,7 +37,8 @@ - * (vm.cpu.features ~= ".*bmi2.*" & vm.cpu.features ~= ".*bmi1.*" & - * vm.cpu.features ~= ".*sse2.*")) | - * ((vm.opt.UseSVE == "null" | vm.opt.UseSVE > 1) & -- * os.arch=="aarch64" & vm.cpu.features ~= ".*svebitperm.*")) -+ * os.arch=="aarch64" & vm.cpu.features ~= ".*svebitperm.*") | -+ * os.arch=="loongarch64") - * @library /test/lib / - * @run driver compiler.intrinsics.TestBitShuffleOpers - */ diff --git a/test/hotspot/jtreg/compiler/intrinsics/TestCompareUnsigned.java b/test/hotspot/jtreg/compiler/intrinsics/TestCompareUnsigned.java -index 6d1943ca145..1d80230aa42 100644 +index 6d1943ca1..1d80230aa 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/TestCompareUnsigned.java +++ b/test/hotspot/jtreg/compiler/intrinsics/TestCompareUnsigned.java @@ -20,6 +20,13 @@ @@ -78566,7 +78581,7 @@ index 6d1943ca145..1d80230aa42 100644 * @library /test/lib / * @run driver compiler.intrinsics.TestCompareUnsigned diff --git a/test/hotspot/jtreg/compiler/intrinsics/TestDoubleIsFinite.java b/test/hotspot/jtreg/compiler/intrinsics/TestDoubleIsFinite.java -index ab06e07a482..a6ca357dc92 100644 +index ab06e07a4..a6ca357dc 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/TestDoubleIsFinite.java +++ b/test/hotspot/jtreg/compiler/intrinsics/TestDoubleIsFinite.java @@ -22,10 +22,16 @@ @@ -78588,7 +78603,7 @@ index ab06e07a482..a6ca357dc92 100644 * @run driver compiler.intrinsics.TestDoubleIsFinite */ diff --git a/test/hotspot/jtreg/compiler/intrinsics/TestDoubleIsInfinite.java b/test/hotspot/jtreg/compiler/intrinsics/TestDoubleIsInfinite.java -index b35b6cda3d2..630566360ac 100644 +index b35b6cda3..630566360 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/TestDoubleIsInfinite.java +++ b/test/hotspot/jtreg/compiler/intrinsics/TestDoubleIsInfinite.java @@ -22,10 +22,16 @@ @@ -78610,7 +78625,7 @@ index b35b6cda3d2..630566360ac 100644 * @run driver compiler.intrinsics.TestDoubleIsInfinite */ diff --git a/test/hotspot/jtreg/compiler/intrinsics/TestFloatIsFinite.java b/test/hotspot/jtreg/compiler/intrinsics/TestFloatIsFinite.java -index 7fb0bebc516..e61f2febfcf 100644 +index 7fb0bebc5..e61f2febf 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/TestFloatIsFinite.java +++ b/test/hotspot/jtreg/compiler/intrinsics/TestFloatIsFinite.java @@ -22,10 +22,16 @@ @@ -78632,7 +78647,7 @@ index 7fb0bebc516..e61f2febfcf 100644 * @run driver compiler.intrinsics.TestFloatIsFinite */ diff --git a/test/hotspot/jtreg/compiler/intrinsics/TestFloatIsInfinite.java b/test/hotspot/jtreg/compiler/intrinsics/TestFloatIsInfinite.java -index 54fa7657851..ec35129aae8 100644 +index 54fa76578..ec35129aa 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/TestFloatIsInfinite.java +++ b/test/hotspot/jtreg/compiler/intrinsics/TestFloatIsInfinite.java @@ -22,10 +22,16 @@ @@ -78654,7 +78669,7 @@ index 54fa7657851..ec35129aae8 100644 * @run driver compiler.intrinsics.TestFloatIsInfinite */ diff --git a/test/hotspot/jtreg/compiler/intrinsics/TestIntegerUnsignedDivMod.java b/test/hotspot/jtreg/compiler/intrinsics/TestIntegerUnsignedDivMod.java -index 1b214c32391..5f997a72c4a 100644 +index 9c82f5e75..69c92192e 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/TestIntegerUnsignedDivMod.java +++ b/test/hotspot/jtreg/compiler/intrinsics/TestIntegerUnsignedDivMod.java @@ -21,10 +21,16 @@ @@ -78669,14 +78684,14 @@ index 1b214c32391..5f997a72c4a 100644 + /** * @test - * @summary Test x86_64 intrinsic for divideUnsigned() and remainderUnsigned() methods for Integer --* @requires os.arch=="amd64" | os.arch=="x86_64" -+* @requires os.arch=="amd64" | os.arch=="x86_64" | os.arch=="loongarch64" + * @summary Test intrinsic for divideUnsigned() and remainderUnsigned() methods for Integer +-* @requires os.arch=="amd64" | os.arch=="x86_64" | os.arch=="aarch64" ++* @requires os.arch=="amd64" | os.arch=="x86_64" | os.arch=="aarch64" | os.arch=="loongarch64" * @library /test/lib / * @run driver compiler.intrinsics.TestIntegerUnsignedDivMod */ diff --git a/test/hotspot/jtreg/compiler/intrinsics/TestLongUnsignedDivMod.java b/test/hotspot/jtreg/compiler/intrinsics/TestLongUnsignedDivMod.java -index ee9c6499902..32b1d54a3e3 100644 +index 694860a2d..b2021b0b1 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/TestLongUnsignedDivMod.java +++ b/test/hotspot/jtreg/compiler/intrinsics/TestLongUnsignedDivMod.java @@ -21,10 +21,16 @@ @@ -78691,14 +78706,14 @@ index ee9c6499902..32b1d54a3e3 100644 + /** * @test - * @summary Test x86_64 intrinsic for divideUnsigned() and remainderUnsigned() methods for Long --* @requires os.arch=="amd64" | os.arch=="x86_64" -+* @requires os.arch=="amd64" | os.arch=="x86_64" | os.arch=="loongarch64" + * @summary Test intrinsic for divideUnsigned() and remainderUnsigned() methods for Long +-* @requires os.arch=="amd64" | os.arch=="x86_64" | os.arch=="aarch64" ++* @requires os.arch=="amd64" | os.arch=="x86_64" | os.arch=="aarch64" | os.arch=="loongarch64" * @library /test/lib / * @run driver compiler.intrinsics.TestLongUnsignedDivMod */ diff --git a/test/hotspot/jtreg/compiler/intrinsics/chacha/TestChaCha20.java b/test/hotspot/jtreg/compiler/intrinsics/chacha/TestChaCha20.java -index c2275f6563e..b94e05fc1ff 100644 +index c2275f656..b94e05fc1 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/chacha/TestChaCha20.java +++ b/test/hotspot/jtreg/compiler/intrinsics/chacha/TestChaCha20.java @@ -22,6 +22,12 @@ @@ -78728,7 +78743,7 @@ index c2275f6563e..b94e05fc1ff 100644 // We only have ChaCha20 intrinsics on x64 and aarch64 // currently. If the platform is neither of these then diff --git a/test/hotspot/jtreg/compiler/intrinsics/float16/Binary16Conversion.java b/test/hotspot/jtreg/compiler/intrinsics/float16/Binary16Conversion.java -index 0541121c127..d9fe8c91dc4 100644 +index 0541121c1..d9fe8c91d 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/float16/Binary16Conversion.java +++ b/test/hotspot/jtreg/compiler/intrinsics/float16/Binary16Conversion.java @@ -21,11 +21,17 @@ @@ -78751,7 +78766,7 @@ index 0541121c127..d9fe8c91dc4 100644 * @requires vm.compMode != "Xcomp" * @comment default run diff --git a/test/hotspot/jtreg/compiler/intrinsics/float16/Binary16ConversionNaN.java b/test/hotspot/jtreg/compiler/intrinsics/float16/Binary16ConversionNaN.java -index 38060dfb504..151caa94346 100644 +index 38060dfb5..151caa943 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/float16/Binary16ConversionNaN.java +++ b/test/hotspot/jtreg/compiler/intrinsics/float16/Binary16ConversionNaN.java @@ -21,11 +21,17 @@ @@ -78774,7 +78789,7 @@ index 38060dfb504..151caa94346 100644 * @requires vm.compMode != "Xcomp" * @library /test/lib / diff --git a/test/hotspot/jtreg/compiler/intrinsics/float16/TestAllFloat16ToFloat.java b/test/hotspot/jtreg/compiler/intrinsics/float16/TestAllFloat16ToFloat.java -index 492901f0046..e95554fa944 100644 +index 492901f00..e95554fa9 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/float16/TestAllFloat16ToFloat.java +++ b/test/hotspot/jtreg/compiler/intrinsics/float16/TestAllFloat16ToFloat.java @@ -21,11 +21,17 @@ @@ -78797,7 +78812,7 @@ index 492901f0046..e95554fa944 100644 * @requires vm.compMode != "Xcomp" * @comment default run: diff --git a/test/hotspot/jtreg/compiler/intrinsics/float16/TestConstFloat16ToFloat.java b/test/hotspot/jtreg/compiler/intrinsics/float16/TestConstFloat16ToFloat.java -index b4ba578c9f2..27e6b86abe2 100644 +index b4ba578c9..27e6b86ab 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/float16/TestConstFloat16ToFloat.java +++ b/test/hotspot/jtreg/compiler/intrinsics/float16/TestConstFloat16ToFloat.java @@ -21,11 +21,17 @@ @@ -78820,7 +78835,7 @@ index b4ba578c9f2..27e6b86abe2 100644 * @requires vm.compMode != "Xcomp" * @comment default run: diff --git a/test/hotspot/jtreg/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForOtherCPU.java b/test/hotspot/jtreg/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForOtherCPU.java -index 468cd83d7a2..40d2b03e301 100644 +index 468cd83d7..40d2b03e3 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForOtherCPU.java +++ b/test/hotspot/jtreg/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForOtherCPU.java @@ -21,6 +21,12 @@ @@ -78864,7 +78879,7 @@ index 468cd83d7a2..40d2b03e301 100644 this.checkUseSHA = checkUseSHA; } diff --git a/test/hotspot/jtreg/compiler/intrinsics/string/TestCountPositives.java b/test/hotspot/jtreg/compiler/intrinsics/string/TestCountPositives.java -index afc308c37dd..5b949dfa19a 100644 +index afc308c37..5b949dfa1 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/string/TestCountPositives.java +++ b/test/hotspot/jtreg/compiler/intrinsics/string/TestCountPositives.java @@ -21,13 +21,21 @@ @@ -78900,7 +78915,7 @@ index afc308c37dd..5b949dfa19a 100644 // but only if we're not expecting the full length (no // negative bytes) diff --git a/test/hotspot/jtreg/compiler/intrinsics/string/TestStringCompareToDifferentLength.java b/test/hotspot/jtreg/compiler/intrinsics/string/TestStringCompareToDifferentLength.java -index 26bc03c271b..606f0d4f17d 100644 +index 26bc03c27..606f0d4f1 100644 --- a/test/hotspot/jtreg/compiler/intrinsics/string/TestStringCompareToDifferentLength.java +++ b/test/hotspot/jtreg/compiler/intrinsics/string/TestStringCompareToDifferentLength.java @@ -22,9 +22,15 @@ @@ -78921,7 +78936,7 @@ index 26bc03c271b..606f0d4f17d 100644 * different string length. This test creates string with specified * size and longer string, which is same at beginning. diff --git a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/CodeInstallationTest.java b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/CodeInstallationTest.java -index 7483c45a654..68c280f1f39 100644 +index 7483c45a6..68c280f1f 100644 --- a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/CodeInstallationTest.java +++ b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/CodeInstallationTest.java @@ -20,10 +20,18 @@ @@ -78961,7 +78976,7 @@ index 7483c45a654..68c280f1f39 100644 Assert.fail("unsupported architecture"); return null; diff --git a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/DataPatchTest.java b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/DataPatchTest.java -index adbad3e0b4d..e1ce622af2b 100644 +index adbad3e0b..e1ce622af 100644 --- a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/DataPatchTest.java +++ b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/DataPatchTest.java @@ -21,10 +21,16 @@ @@ -78995,7 +79010,7 @@ index adbad3e0b4d..e1ce622af2b 100644 */ diff --git a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/InterpreterFrameSizeTest.java b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/InterpreterFrameSizeTest.java -index 879e6f86058..fcf7c058232 100644 +index 879e6f860..fcf7c0582 100644 --- a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/InterpreterFrameSizeTest.java +++ b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/InterpreterFrameSizeTest.java @@ -21,10 +21,16 @@ @@ -79029,7 +79044,7 @@ index 879e6f86058..fcf7c058232 100644 */ diff --git a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/MaxOopMapStackOffsetTest.java b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/MaxOopMapStackOffsetTest.java -index 3d49a4f3575..8a0427d3da2 100644 +index 3d49a4f35..8a0427d3d 100644 --- a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/MaxOopMapStackOffsetTest.java +++ b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/MaxOopMapStackOffsetTest.java @@ -21,10 +21,16 @@ @@ -79063,7 +79078,7 @@ index 3d49a4f3575..8a0427d3da2 100644 */ diff --git a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/NativeCallTest.java b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/NativeCallTest.java -index ebd57b6faaf..ed15dff3a5e 100644 +index ebd57b6fa..ed15dff3a 100644 --- a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/NativeCallTest.java +++ b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/NativeCallTest.java @@ -21,10 +21,16 @@ @@ -79097,7 +79112,7 @@ index ebd57b6faaf..ed15dff3a5e 100644 */ package jdk.vm.ci.code.test; diff --git a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleCodeInstallationTest.java b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleCodeInstallationTest.java -index 80c63392b6e..f667c799773 100644 +index 80c63392b..f667c7997 100644 --- a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleCodeInstallationTest.java +++ b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleCodeInstallationTest.java @@ -21,10 +21,16 @@ @@ -79131,7 +79146,7 @@ index 80c63392b6e..f667c799773 100644 */ diff --git a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleDebugInfoTest.java b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleDebugInfoTest.java -index c7d8d2cf830..6c4b6506ee5 100644 +index c7d8d2cf8..6c4b6506e 100644 --- a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleDebugInfoTest.java +++ b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleDebugInfoTest.java @@ -21,10 +21,16 @@ @@ -79165,7 +79180,7 @@ index c7d8d2cf830..6c4b6506ee5 100644 */ diff --git a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/VirtualObjectDebugInfoTest.java b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/VirtualObjectDebugInfoTest.java -index 543128e932c..4aa99f24060 100644 +index 543128e93..4aa99f240 100644 --- a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/VirtualObjectDebugInfoTest.java +++ b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/VirtualObjectDebugInfoTest.java @@ -21,10 +21,16 @@ @@ -79200,7 +79215,7 @@ index 543128e932c..4aa99f24060 100644 diff --git a/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/loongarch64/LoongArch64TestAssembler.java b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/loongarch64/LoongArch64TestAssembler.java new file mode 100644 -index 00000000000..4c76868453a +index 000000000..4c7686845 --- /dev/null +++ b/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/loongarch64/LoongArch64TestAssembler.java @@ -0,0 +1,568 @@ @@ -79773,7 +79788,7 @@ index 00000000000..4c76868453a + +} diff --git a/test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java b/test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java -index e9d84883f78..f4cd7ec9d03 100644 +index e9d84883f..f4cd7ec9d 100644 --- a/test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java +++ b/test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java @@ -21,6 +21,12 @@ @@ -79806,7 +79821,7 @@ index e9d84883f78..f4cd7ec9d03 100644 } diff --git a/test/hotspot/jtreg/compiler/loopopts/superword/ReductionPerf.java b/test/hotspot/jtreg/compiler/loopopts/superword/ReductionPerf.java -index b1495d00548..61a9eacdf48 100644 +index b1495d005..61a9eacdf 100644 --- a/test/hotspot/jtreg/compiler/loopopts/superword/ReductionPerf.java +++ b/test/hotspot/jtreg/compiler/loopopts/superword/ReductionPerf.java @@ -21,12 +21,18 @@ @@ -79830,7 +79845,7 @@ index b1495d00548..61a9eacdf48 100644 * @run main/othervm -Xbatch -XX:LoopUnrollLimit=250 * -XX:CompileCommand=exclude,compiler.loopopts.superword.ReductionPerf::main diff --git a/test/hotspot/jtreg/compiler/rangechecks/TestRangeCheckHoistingScaledIV.java b/test/hotspot/jtreg/compiler/rangechecks/TestRangeCheckHoistingScaledIV.java -index e8759a2bee1..0a22efb6809 100644 +index e8759a2be..0a22efb68 100644 --- a/test/hotspot/jtreg/compiler/rangechecks/TestRangeCheckHoistingScaledIV.java +++ b/test/hotspot/jtreg/compiler/rangechecks/TestRangeCheckHoistingScaledIV.java @@ -21,13 +21,19 @@ @@ -79855,7 +79870,7 @@ index e8759a2bee1..0a22efb6809 100644 * @compile --enable-preview -source ${jdk.version} TestRangeCheckHoistingScaledIV.java * @run main/othervm --enable-preview compiler.rangechecks.TestRangeCheckHoistingScaledIV diff --git a/test/hotspot/jtreg/compiler/runtime/TestConstantsInError.java b/test/hotspot/jtreg/compiler/runtime/TestConstantsInError.java -index 3daf12df879..31018941a9c 100644 +index 3daf12df8..31018941a 100644 --- a/test/hotspot/jtreg/compiler/runtime/TestConstantsInError.java +++ b/test/hotspot/jtreg/compiler/runtime/TestConstantsInError.java @@ -21,6 +21,12 @@ @@ -79908,7 +79923,7 @@ index 3daf12df879..31018941a9c 100644 .shouldMatch("Test_CD2.*::test \\(3 bytes\\) made not entrant") .shouldMatch("Test_CD3.*::test \\(3 bytes\\) made not entrant") diff --git a/test/hotspot/jtreg/compiler/sharedstubs/SharedStubToInterpTest.java b/test/hotspot/jtreg/compiler/sharedstubs/SharedStubToInterpTest.java -index 5dd938442cc..2ec4cab8f62 100644 +index 5dd938442..2ec4cab8f 100644 --- a/test/hotspot/jtreg/compiler/sharedstubs/SharedStubToInterpTest.java +++ b/test/hotspot/jtreg/compiler/sharedstubs/SharedStubToInterpTest.java @@ -22,6 +22,12 @@ @@ -79934,7 +79949,7 @@ index 5dd938442cc..2ec4cab8f62 100644 * @run driver compiler.sharedstubs.SharedStubToInterpTest -XX:-TieredCompilation * diff --git a/test/hotspot/jtreg/compiler/testlibrary/sha/predicate/IntrinsicPredicates.java b/test/hotspot/jtreg/compiler/testlibrary/sha/predicate/IntrinsicPredicates.java -index 689c7c8cc2f..f734c1baa3f 100644 +index 689c7c8cc..f734c1baa 100644 --- a/test/hotspot/jtreg/compiler/testlibrary/sha/predicate/IntrinsicPredicates.java +++ b/test/hotspot/jtreg/compiler/testlibrary/sha/predicate/IntrinsicPredicates.java @@ -21,6 +21,12 @@ @@ -79992,7 +80007,7 @@ index 689c7c8cc2f..f734c1baa3f 100644 public static final BooleanSupplier SHA512_INSTRUCTION_AVAILABLE = new OrPredicate(new CPUSpecificPredicate("aarch64.*", new String[] { "sha512" }, null), diff --git a/test/hotspot/jtreg/compiler/vectorapi/TestVectorTest.java b/test/hotspot/jtreg/compiler/vectorapi/TestVectorTest.java -index 35f357c22f2..e0643272e83 100644 +index 35f357c22..e0643272e 100644 --- a/test/hotspot/jtreg/compiler/vectorapi/TestVectorTest.java +++ b/test/hotspot/jtreg/compiler/vectorapi/TestVectorTest.java @@ -20,6 +20,13 @@ @@ -80019,7 +80034,7 @@ index 35f357c22f2..e0643272e83 100644 */ public class TestVectorTest { diff --git a/test/hotspot/jtreg/compiler/vectorapi/VectorLogicalOpIdentityTest.java b/test/hotspot/jtreg/compiler/vectorapi/VectorLogicalOpIdentityTest.java -index 426dec67019..ea25a81a354 100644 +index 426dec670..ea25a81a3 100644 --- a/test/hotspot/jtreg/compiler/vectorapi/VectorLogicalOpIdentityTest.java +++ b/test/hotspot/jtreg/compiler/vectorapi/VectorLogicalOpIdentityTest.java @@ -22,6 +22,12 @@ @@ -80045,7 +80060,7 @@ index 426dec67019..ea25a81a354 100644 * * @run driver compiler.vectorapi.VectorLogicalOpIdentityTest diff --git a/test/hotspot/jtreg/compiler/vectorapi/VectorReverseBytesTest.java b/test/hotspot/jtreg/compiler/vectorapi/VectorReverseBytesTest.java -index 154567922bd..d81a90f2fcb 100644 +index 154567922..d81a90f2f 100644 --- a/test/hotspot/jtreg/compiler/vectorapi/VectorReverseBytesTest.java +++ b/test/hotspot/jtreg/compiler/vectorapi/VectorReverseBytesTest.java @@ -21,6 +21,12 @@ @@ -80071,7 +80086,7 @@ index 154567922bd..d81a90f2fcb 100644 * * @run driver compiler.vectorapi.VectorReverseBytesTest diff --git a/test/hotspot/jtreg/compiler/vectorization/TestAutoVecIntMinMax.java b/test/hotspot/jtreg/compiler/vectorization/TestAutoVecIntMinMax.java -index e3baed37804..18b9333b1d1 100644 +index e3baed378..18b9333b1 100644 --- a/test/hotspot/jtreg/compiler/vectorization/TestAutoVecIntMinMax.java +++ b/test/hotspot/jtreg/compiler/vectorization/TestAutoVecIntMinMax.java @@ -21,6 +21,12 @@ @@ -80097,7 +80112,7 @@ index e3baed37804..18b9333b1d1 100644 */ diff --git a/test/hotspot/jtreg/compiler/vectorization/TestBufferVectorization.java b/test/hotspot/jtreg/compiler/vectorization/TestBufferVectorization.java -index 95970256c48..3fcb0c999cb 100644 +index 95970256c..3fcb0c999 100644 --- a/test/hotspot/jtreg/compiler/vectorization/TestBufferVectorization.java +++ b/test/hotspot/jtreg/compiler/vectorization/TestBufferVectorization.java @@ -21,6 +21,12 @@ @@ -80123,7 +80138,7 @@ index 95970256c48..3fcb0c999cb 100644 * @run driver compiler.vectorization.TestBufferVectorization array * @run driver compiler.vectorization.TestBufferVectorization arrayOffset diff --git a/test/hotspot/jtreg/compiler/vectorization/TestFloatConversionsVector.java b/test/hotspot/jtreg/compiler/vectorization/TestFloatConversionsVector.java -index 4452e576867..7fc996888cd 100644 +index 4452e5768..7fc996888 100644 --- a/test/hotspot/jtreg/compiler/vectorization/TestFloatConversionsVector.java +++ b/test/hotspot/jtreg/compiler/vectorization/TestFloatConversionsVector.java @@ -21,12 +21,18 @@ @@ -80146,34 +80161,8 @@ index 4452e576867..7fc996888cd 100644 * @library /test/lib / * @run driver compiler.vectorization.TestFloatConversionsVector */ -diff --git a/test/hotspot/jtreg/compiler/vectorization/TestNumberOfContinuousZeros.java b/test/hotspot/jtreg/compiler/vectorization/TestNumberOfContinuousZeros.java -index c64b851096d..8dcfbad3994 100644 ---- a/test/hotspot/jtreg/compiler/vectorization/TestNumberOfContinuousZeros.java -+++ b/test/hotspot/jtreg/compiler/vectorization/TestNumberOfContinuousZeros.java -@@ -21,13 +21,20 @@ - * questions. - */ - -+/* -+ * This file has been modified by Loongson Technology in 2023, These -+ * modifications are Copyright (c) 2023, Loongson Technology, and are made -+ * available on the same license terms set forth above. -+ */ -+ - /** - * @test - * @key randomness - * @summary Test vectorization of numberOfTrailingZeros/numberOfLeadingZeros for Long - * @requires vm.compiler2.enabled - * @requires (os.simpleArch == "x64" & vm.cpu.features ~= ".*avx2.*") | --* (os.simpleArch == "aarch64" & vm.cpu.features ~= ".*sve.*" & (vm.opt.UseSVE == "null" | vm.opt.UseSVE > 0)) -+* (os.simpleArch == "aarch64" & vm.cpu.features ~= ".*sve.*" & (vm.opt.UseSVE == "null" | vm.opt.UseSVE > 0)) | -+* (os.simpleArch == "loongarch64") - * @library /test/lib / - * @run driver compiler.vectorization.TestNumberOfContinuousZeros - */ diff --git a/test/hotspot/jtreg/compiler/vectorization/TestPopulateIndex.java b/test/hotspot/jtreg/compiler/vectorization/TestPopulateIndex.java -index 6a709849b9c..0a209d2519a 100644 +index 6a709849b..0a209d251 100644 --- a/test/hotspot/jtreg/compiler/vectorization/TestPopulateIndex.java +++ b/test/hotspot/jtreg/compiler/vectorization/TestPopulateIndex.java @@ -21,13 +21,20 @@ @@ -80198,33 +80187,8 @@ index 6a709849b9c..0a209d2519a 100644 * @library /test/lib / * @run driver compiler.vectorization.TestPopulateIndex */ -diff --git a/test/hotspot/jtreg/compiler/vectorization/TestReverseBitsVector.java b/test/hotspot/jtreg/compiler/vectorization/TestReverseBitsVector.java -index 1144186d8e5..f36bb209a6b 100644 ---- a/test/hotspot/jtreg/compiler/vectorization/TestReverseBitsVector.java -+++ b/test/hotspot/jtreg/compiler/vectorization/TestReverseBitsVector.java -@@ -20,12 +20,19 @@ - * or visit www.oracle.com if you need additional information or have any - * questions. - */ -+ -+/* -+ * This file has been modified by Loongson Technology in 2023, These -+ * modifications are Copyright (c) 2023, Loongson Technology, and are made -+ * available on the same license terms set forth above. -+ */ -+ - /** - * @test - * @bug 8290034 - * @summary Auto-vectorization of Reverse bit operation. - * @requires vm.compiler2.enabled -- * @requires (os.simpleArch == "x64" & vm.cpu.features ~= ".*avx2.*") | os.arch == "aarch64" -+ * @requires (os.simpleArch == "x64" & vm.cpu.features ~= ".*avx2.*") | os.arch == "aarch64" | os.arch=="loongarch64" - * @library /test/lib / - * @run driver compiler.vectorization.TestReverseBitsVector - */ diff --git a/test/hotspot/jtreg/compiler/vectorization/TestReverseBytes.java b/test/hotspot/jtreg/compiler/vectorization/TestReverseBytes.java -index 47813e2790e..d30f2d3d177 100644 +index 47813e279..d30f2d3d1 100644 --- a/test/hotspot/jtreg/compiler/vectorization/TestReverseBytes.java +++ b/test/hotspot/jtreg/compiler/vectorization/TestReverseBytes.java @@ -20,12 +20,19 @@ @@ -80249,7 +80213,7 @@ index 47813e2790e..d30f2d3d177 100644 * @run driver compiler.vectorization.TestReverseBytes */ diff --git a/test/hotspot/jtreg/compiler/vectorization/TestSignumVector.java b/test/hotspot/jtreg/compiler/vectorization/TestSignumVector.java -index bf6a10b855f..b97c0461eaa 100644 +index bf6a10b85..b97c0461e 100644 --- a/test/hotspot/jtreg/compiler/vectorization/TestSignumVector.java +++ b/test/hotspot/jtreg/compiler/vectorization/TestSignumVector.java @@ -21,12 +21,18 @@ @@ -80273,7 +80237,7 @@ index bf6a10b855f..b97c0461eaa 100644 * @run driver compiler.vectorization.TestSignumVector */ diff --git a/test/hotspot/jtreg/compiler/vectorization/runner/ArrayIndexFillTest.java b/test/hotspot/jtreg/compiler/vectorization/runner/ArrayIndexFillTest.java -index a4eca0fe8dd..de44f60520a 100644 +index a4eca0fe8..de44f6052 100644 --- a/test/hotspot/jtreg/compiler/vectorization/runner/ArrayIndexFillTest.java +++ b/test/hotspot/jtreg/compiler/vectorization/runner/ArrayIndexFillTest.java @@ -21,6 +21,12 @@ @@ -80299,7 +80263,7 @@ index a4eca0fe8dd..de44f60520a 100644 */ diff --git a/test/hotspot/jtreg/compiler/vectorization/runner/ArrayInvariantFillTest.java b/test/hotspot/jtreg/compiler/vectorization/runner/ArrayInvariantFillTest.java -index 2e7302bba05..964c03955d1 100644 +index 2e7302bba..964c03955 100644 --- a/test/hotspot/jtreg/compiler/vectorization/runner/ArrayInvariantFillTest.java +++ b/test/hotspot/jtreg/compiler/vectorization/runner/ArrayInvariantFillTest.java @@ -21,6 +21,12 @@ @@ -80325,7 +80289,7 @@ index 2e7302bba05..964c03955d1 100644 */ diff --git a/test/hotspot/jtreg/compiler/vectorization/runner/ArrayShiftOpTest.java b/test/hotspot/jtreg/compiler/vectorization/runner/ArrayShiftOpTest.java -index eea79ac4cd6..526aec56814 100644 +index eea79ac4c..526aec568 100644 --- a/test/hotspot/jtreg/compiler/vectorization/runner/ArrayShiftOpTest.java +++ b/test/hotspot/jtreg/compiler/vectorization/runner/ArrayShiftOpTest.java @@ -21,6 +21,12 @@ @@ -80351,7 +80315,7 @@ index eea79ac4cd6..526aec56814 100644 */ diff --git a/test/hotspot/jtreg/compiler/vectorization/runner/BasicDoubleOpTest.java b/test/hotspot/jtreg/compiler/vectorization/runner/BasicDoubleOpTest.java -index 2410ebe8554..1f0876eec56 100644 +index 2410ebe85..1f0876eec 100644 --- a/test/hotspot/jtreg/compiler/vectorization/runner/BasicDoubleOpTest.java +++ b/test/hotspot/jtreg/compiler/vectorization/runner/BasicDoubleOpTest.java @@ -21,6 +21,12 @@ @@ -80377,7 +80341,7 @@ index 2410ebe8554..1f0876eec56 100644 */ diff --git a/test/hotspot/jtreg/compiler/vectorization/runner/BasicFloatOpTest.java b/test/hotspot/jtreg/compiler/vectorization/runner/BasicFloatOpTest.java -index c9eda7d7650..dd267e0ae4b 100644 +index c9eda7d76..dd267e0ae 100644 --- a/test/hotspot/jtreg/compiler/vectorization/runner/BasicFloatOpTest.java +++ b/test/hotspot/jtreg/compiler/vectorization/runner/BasicFloatOpTest.java @@ -21,6 +21,12 @@ @@ -80403,7 +80367,7 @@ index c9eda7d7650..dd267e0ae4b 100644 */ diff --git a/test/hotspot/jtreg/compiler/vectorization/runner/BasicLongOpTest.java b/test/hotspot/jtreg/compiler/vectorization/runner/BasicLongOpTest.java -index 80ebd7b64d0..22b92e861c5 100644 +index 80ebd7b64..22b92e861 100644 --- a/test/hotspot/jtreg/compiler/vectorization/runner/BasicLongOpTest.java +++ b/test/hotspot/jtreg/compiler/vectorization/runner/BasicLongOpTest.java @@ -22,6 +22,12 @@ @@ -80429,7 +80393,7 @@ index 80ebd7b64d0..22b92e861c5 100644 */ diff --git a/test/hotspot/jtreg/compiler/vectorization/runner/LoopArrayIndexComputeTest.java b/test/hotspot/jtreg/compiler/vectorization/runner/LoopArrayIndexComputeTest.java -index 2bf59814b4f..f0bd2d2ffb4 100644 +index 2bf59814b..f0bd2d2ff 100644 --- a/test/hotspot/jtreg/compiler/vectorization/runner/LoopArrayIndexComputeTest.java +++ b/test/hotspot/jtreg/compiler/vectorization/runner/LoopArrayIndexComputeTest.java @@ -22,6 +22,12 @@ @@ -80455,7 +80419,7 @@ index 2bf59814b4f..f0bd2d2ffb4 100644 */ diff --git a/test/hotspot/jtreg/compiler/vectorization/runner/LoopReductionOpTest.java b/test/hotspot/jtreg/compiler/vectorization/runner/LoopReductionOpTest.java -index f1c8fea059b..9cf2023fa7d 100644 +index f1c8fea05..9cf2023fa 100644 --- a/test/hotspot/jtreg/compiler/vectorization/runner/LoopReductionOpTest.java +++ b/test/hotspot/jtreg/compiler/vectorization/runner/LoopReductionOpTest.java @@ -21,6 +21,12 @@ @@ -80481,7 +80445,7 @@ index f1c8fea059b..9cf2023fa7d 100644 * */ diff --git a/test/hotspot/jtreg/gc/shenandoah/compiler/TestLinkToNativeRBP.java b/test/hotspot/jtreg/gc/shenandoah/compiler/TestLinkToNativeRBP.java -index a0dff95a23f..fd0fcbd3a90 100644 +index a0dff95a2..fd0fcbd3a 100644 --- a/test/hotspot/jtreg/gc/shenandoah/compiler/TestLinkToNativeRBP.java +++ b/test/hotspot/jtreg/gc/shenandoah/compiler/TestLinkToNativeRBP.java @@ -21,6 +21,12 @@ @@ -80508,7 +80472,7 @@ index a0dff95a23f..fd0fcbd3a90 100644 * @run main/othervm --enable-native-access=ALL-UNNAMED -XX:+UnlockDiagnosticVMOptions diff --git a/test/hotspot/jtreg/loongson/25064/NUMAHelper.java b/test/hotspot/jtreg/loongson/25064/NUMAHelper.java new file mode 100644 -index 00000000000..ee0c4387eb3 +index 000000000..ee0c4387e --- /dev/null +++ b/test/hotspot/jtreg/loongson/25064/NUMAHelper.java @@ -0,0 +1,100 @@ @@ -80614,7 +80578,7 @@ index 00000000000..ee0c4387eb3 +} diff --git a/test/hotspot/jtreg/loongson/25064/TestUseNUMADefault.java b/test/hotspot/jtreg/loongson/25064/TestUseNUMADefault.java new file mode 100644 -index 00000000000..9f7263f5081 +index 000000000..9f7263f50 --- /dev/null +++ b/test/hotspot/jtreg/loongson/25064/TestUseNUMADefault.java @@ -0,0 +1,152 @@ @@ -80772,7 +80736,7 @@ index 00000000000..9f7263f5081 +} diff --git a/test/hotspot/jtreg/loongson/25064/TestUseNUMADisabled.java b/test/hotspot/jtreg/loongson/25064/TestUseNUMADisabled.java new file mode 100644 -index 00000000000..e21dffa418a +index 000000000..e21dffa41 --- /dev/null +++ b/test/hotspot/jtreg/loongson/25064/TestUseNUMADisabled.java @@ -0,0 +1,94 @@ @@ -80872,7 +80836,7 @@ index 00000000000..e21dffa418a +} diff --git a/test/hotspot/jtreg/loongson/25064/TestUseNUMAEnabled.java b/test/hotspot/jtreg/loongson/25064/TestUseNUMAEnabled.java new file mode 100644 -index 00000000000..c05b91e1dcf +index 000000000..c05b91e1d --- /dev/null +++ b/test/hotspot/jtreg/loongson/25064/TestUseNUMAEnabled.java @@ -0,0 +1,165 @@ @@ -81043,7 +81007,7 @@ index 00000000000..c05b91e1dcf +} diff --git a/test/hotspot/jtreg/loongson/25443/Test25443.java b/test/hotspot/jtreg/loongson/25443/Test25443.java new file mode 100644 -index 00000000000..200485d1fdc +index 000000000..200485d1f --- /dev/null +++ b/test/hotspot/jtreg/loongson/25443/Test25443.java @@ -0,0 +1,58 @@ @@ -81107,7 +81071,7 @@ index 00000000000..200485d1fdc +} diff --git a/test/hotspot/jtreg/loongson/26733/Test26733.java b/test/hotspot/jtreg/loongson/26733/Test26733.java new file mode 100644 -index 00000000000..83ba5912879 +index 000000000..83ba59128 --- /dev/null +++ b/test/hotspot/jtreg/loongson/26733/Test26733.java @@ -0,0 +1,570 @@ @@ -81683,7 +81647,7 @@ index 00000000000..83ba5912879 +} diff --git a/test/hotspot/jtreg/loongson/30358/MEMBARType.java b/test/hotspot/jtreg/loongson/30358/MEMBARType.java new file mode 100644 -index 00000000000..71636057901 +index 000000000..716360579 --- /dev/null +++ b/test/hotspot/jtreg/loongson/30358/MEMBARType.java @@ -0,0 +1,38 @@ @@ -81727,7 +81691,7 @@ index 00000000000..71636057901 +} diff --git a/test/hotspot/jtreg/loongson/30358/TEST.properties b/test/hotspot/jtreg/loongson/30358/TEST.properties new file mode 100644 -index 00000000000..9cfabdea488 +index 000000000..9cfabdea4 --- /dev/null +++ b/test/hotspot/jtreg/loongson/30358/TEST.properties @@ -0,0 +1,25 @@ @@ -81758,7 +81722,7 @@ index 00000000000..9cfabdea488 +maxOutputSize = 2500000 diff --git a/test/hotspot/jtreg/loongson/30358/TestLoadLoad.java b/test/hotspot/jtreg/loongson/30358/TestLoadLoad.java new file mode 100644 -index 00000000000..92a4f00c247 +index 000000000..92a4f00c2 --- /dev/null +++ b/test/hotspot/jtreg/loongson/30358/TestLoadLoad.java @@ -0,0 +1,129 @@ @@ -81893,7 +81857,7 @@ index 00000000000..92a4f00c247 +} diff --git a/test/hotspot/jtreg/loongson/30358/TestNewObjectWithFinal.java b/test/hotspot/jtreg/loongson/30358/TestNewObjectWithFinal.java new file mode 100644 -index 00000000000..2bc9ada7ce8 +index 000000000..2bc9ada7c --- /dev/null +++ b/test/hotspot/jtreg/loongson/30358/TestNewObjectWithFinal.java @@ -0,0 +1,247 @@ @@ -82146,7 +82110,7 @@ index 00000000000..2bc9ada7ce8 +} diff --git a/test/hotspot/jtreg/loongson/30358/TestVolatile.java b/test/hotspot/jtreg/loongson/30358/TestVolatile.java new file mode 100644 -index 00000000000..9fefa381c38 +index 000000000..9fefa381c --- /dev/null +++ b/test/hotspot/jtreg/loongson/30358/TestVolatile.java @@ -0,0 +1,358 @@ @@ -82510,7 +82474,7 @@ index 00000000000..9fefa381c38 +} diff --git a/test/hotspot/jtreg/loongson/7432/Test7423.java b/test/hotspot/jtreg/loongson/7432/Test7423.java new file mode 100644 -index 00000000000..defa026410b +index 000000000..defa02641 --- /dev/null +++ b/test/hotspot/jtreg/loongson/7432/Test7423.java @@ -0,0 +1,61 @@ @@ -82576,7 +82540,7 @@ index 00000000000..defa026410b + +} diff --git a/test/hotspot/jtreg/runtime/ReservedStack/ReservedStackTest.java b/test/hotspot/jtreg/runtime/ReservedStack/ReservedStackTest.java -index e75e6643809..88bd67d6b39 100644 +index e75e66438..88bd67d6b 100644 --- a/test/hotspot/jtreg/runtime/ReservedStack/ReservedStackTest.java +++ b/test/hotspot/jtreg/runtime/ReservedStack/ReservedStackTest.java @@ -21,6 +21,12 @@ @@ -82602,7 +82566,7 @@ index e75e6643809..88bd67d6b39 100644 } diff --git a/test/hotspot/jtreg/runtime/os/TestTracePageSizes.java b/test/hotspot/jtreg/runtime/os/TestTracePageSizes.java -index a7faed10e02..8d326d428e6 100644 +index b772e2eb6..be7733d5f 100644 --- a/test/hotspot/jtreg/runtime/os/TestTracePageSizes.java +++ b/test/hotspot/jtreg/runtime/os/TestTracePageSizes.java @@ -21,6 +21,12 @@ @@ -82618,7 +82582,7 @@ index a7faed10e02..8d326d428e6 100644 /* * @test id=no-options * @summary Run test with no arguments apart from the ones required by -@@ -38,7 +44,7 @@ +@@ -39,7 +45,7 @@ * @library /test/lib * @build jdk.test.lib.Platform * @requires os.family == "linux" @@ -82628,7 +82592,7 @@ index a7faed10e02..8d326d428e6 100644 * @run main/othervm -XX:+AlwaysPreTouch -Xmx128m -Xlog:pagesize:ps-%p.log -XX:+UseLargePages -XX:LargePageSizeInBytes=2m TestTracePageSizes * @run main/othervm -XX:+AlwaysPreTouch -Xmx2g -Xlog:pagesize:ps-%p.log -XX:+UseLargePages -XX:LargePageSizeInBytes=1g TestTracePageSizes diff --git a/test/hotspot/jtreg/serviceability/AsyncGetCallTrace/MyPackage/ASGCTBaseTest.java b/test/hotspot/jtreg/serviceability/AsyncGetCallTrace/MyPackage/ASGCTBaseTest.java -index 5c41565db8d..ec9499d92a9 100644 +index 5c41565db..ec9499d92 100644 --- a/test/hotspot/jtreg/serviceability/AsyncGetCallTrace/MyPackage/ASGCTBaseTest.java +++ b/test/hotspot/jtreg/serviceability/AsyncGetCallTrace/MyPackage/ASGCTBaseTest.java @@ -22,6 +22,12 @@ @@ -82654,7 +82618,7 @@ index 5c41565db8d..ec9499d92a9 100644 * @run main/othervm/native -agentlib:AsyncGetCallTraceTest MyPackage.ASGCTBaseTest */ diff --git a/test/hotspot/jtreg/serviceability/sa/TestJhsdbJstackLineNumbers.java b/test/hotspot/jtreg/serviceability/sa/TestJhsdbJstackLineNumbers.java -index 5d9c3982fb6..f346e763db5 100644 +index 5d9c3982f..f346e763d 100644 --- a/test/hotspot/jtreg/serviceability/sa/TestJhsdbJstackLineNumbers.java +++ b/test/hotspot/jtreg/serviceability/sa/TestJhsdbJstackLineNumbers.java @@ -21,6 +21,12 @@ @@ -82680,7 +82644,7 @@ index 5d9c3982fb6..f346e763db5 100644 * @requires vm.flagless * @library /test/lib diff --git a/test/hotspot/jtreg/testlibrary_tests/ir_framework/tests/TestIRMatching.java b/test/hotspot/jtreg/testlibrary_tests/ir_framework/tests/TestIRMatching.java -index 0fd262bd13a..0fee3041f15 100644 +index 0fd262bd1..0fee3041f 100644 --- a/test/hotspot/jtreg/testlibrary_tests/ir_framework/tests/TestIRMatching.java +++ b/test/hotspot/jtreg/testlibrary_tests/ir_framework/tests/TestIRMatching.java @@ -21,6 +21,12 @@ @@ -82706,7 +82670,7 @@ index 0fd262bd13a..0fee3041f15 100644 } else if (Platform.isS390x()){ cmp = "CLFI"; diff --git a/test/hotspot/jtreg/vmTestbase/nsk/share/jdi/ArgumentHandler.java b/test/hotspot/jtreg/vmTestbase/nsk/share/jdi/ArgumentHandler.java -index 16863189500..e2f3a13473b 100644 +index 168631895..e2f3a1347 100644 --- a/test/hotspot/jtreg/vmTestbase/nsk/share/jdi/ArgumentHandler.java +++ b/test/hotspot/jtreg/vmTestbase/nsk/share/jdi/ArgumentHandler.java @@ -21,6 +21,12 @@ @@ -82936,7 +82900,7 @@ index 16863189500..e2f3a13473b 100644 } diff --git a/test/jdk/java/foreign/callarranger/TestLoongArch64CallArranger.java b/test/jdk/java/foreign/callarranger/TestLoongArch64CallArranger.java new file mode 100644 -index 00000000000..399cdbb252e +index 000000000..399cdbb25 --- /dev/null +++ b/test/jdk/java/foreign/callarranger/TestLoongArch64CallArranger.java @@ -0,0 +1,521 @@ @@ -83462,7 +83426,7 @@ index 00000000000..399cdbb252e + } +} diff --git a/test/jdk/java/foreign/callarranger/platform/PlatformLayouts.java b/test/jdk/java/foreign/callarranger/platform/PlatformLayouts.java -index 97856075bef..c6d6fa8efb5 100644 +index 97856075b..c6d6fa8ef 100644 --- a/test/jdk/java/foreign/callarranger/platform/PlatformLayouts.java +++ b/test/jdk/java/foreign/callarranger/platform/PlatformLayouts.java @@ -23,6 +23,13 @@ @@ -83536,30 +83500,8 @@ index 97856075bef..c6d6fa8efb5 100644 + + } } -diff --git a/test/jdk/java/nio/channels/DatagramChannel/Disconnect.java b/test/jdk/java/nio/channels/DatagramChannel/Disconnect.java -index cdc5882fefd..16120f85168 100644 ---- a/test/jdk/java/nio/channels/DatagramChannel/Disconnect.java -+++ b/test/jdk/java/nio/channels/DatagramChannel/Disconnect.java -@@ -52,7 +52,7 @@ public class Disconnect { - if (IPSupport.hasIPv4()) { - // test with IPv4 only - try (DatagramChannel dc = DatagramChannel.open(StandardProtocolFamily.INET)) { -- InetAddress lo4 = InetAddress.ofLiteral("127.0.0.1"); -+ InetAddress lo4 = InetAddress.getByName("127.0.0.1"); - System.out.println("Testing with INET family and " + lo4); - test(dc, lo4); - test(dc, lo4); -@@ -62,7 +62,7 @@ public class Disconnect { - if (IPSupport.hasIPv6()) { - // test with IPv6 only - try (DatagramChannel dc = DatagramChannel.open(StandardProtocolFamily.INET6)) { -- InetAddress lo6 = InetAddress.ofLiteral("::1"); -+ InetAddress lo6 = InetAddress.getByName("::1"); - System.out.println("Testing with INET6 family and " + lo6); - test(dc, lo6); - test(dc, lo6); diff --git a/test/jdk/java/util/concurrent/ConcurrentHashMap/MapLoops.java b/test/jdk/java/util/concurrent/ConcurrentHashMap/MapLoops.java -index ca1292afd3a..a8052f06143 100644 +index ca1292afd..a8052f061 100644 --- a/test/jdk/java/util/concurrent/ConcurrentHashMap/MapLoops.java +++ b/test/jdk/java/util/concurrent/ConcurrentHashMap/MapLoops.java @@ -31,6 +31,12 @@ @@ -83585,7 +83527,7 @@ index ca1292afd3a..a8052f06143 100644 * @library /test/lib * @run main/othervm/timeout=1600 -XX:+UnlockExperimentalVMOptions -XX:LockingMode=0 -XX:+VerifyHeavyMonitors MapLoops diff --git a/test/jdk/jdk/jfr/event/os/TestCPUInformation.java b/test/jdk/jdk/jfr/event/os/TestCPUInformation.java -index c5166580010..f51a1468754 100644 +index c51665800..f51a14687 100644 --- a/test/jdk/jdk/jfr/event/os/TestCPUInformation.java +++ b/test/jdk/jdk/jfr/event/os/TestCPUInformation.java @@ -21,6 +21,12 @@ @@ -83613,7 +83555,7 @@ index c5166580010..f51a1468754 100644 } } diff --git a/test/jdk/sun/net/InetAddress/nameservice/simple/DefaultCaching.java b/test/jdk/sun/net/InetAddress/nameservice/simple/DefaultCaching.java -index 37d770b62a5..1c3df61b8a7 100644 +index 37d770b62..1c3df61b8 100644 --- a/test/jdk/sun/net/InetAddress/nameservice/simple/DefaultCaching.java +++ b/test/jdk/sun/net/InetAddress/nameservice/simple/DefaultCaching.java @@ -21,12 +21,19 @@ @@ -83647,7 +83589,7 @@ index 37d770b62a5..1c3df61b8a7 100644 test("foo", "10.5.18.22", true, 5); test("theclub", "129.156.220.1", true, 6); diff --git a/test/lib-test/jdk/test/lib/TestMutuallyExclusivePlatformPredicates.java b/test/lib-test/jdk/test/lib/TestMutuallyExclusivePlatformPredicates.java -index e78e200ac24..0a6abfd088f 100644 +index e78e200ac..0a6abfd08 100644 --- a/test/lib-test/jdk/test/lib/TestMutuallyExclusivePlatformPredicates.java +++ b/test/lib-test/jdk/test/lib/TestMutuallyExclusivePlatformPredicates.java @@ -33,6 +33,12 @@ import java.util.HashSet; @@ -83673,7 +83615,7 @@ index e78e200ac24..0a6abfd088f 100644 OS("isAix", "isLinux", "isOSX", "isWindows"), VM_TYPE("isClient", "isServer", "isMinimal", "isZero", "isEmbedded"), diff --git a/test/lib/jdk/test/lib/Platform.java b/test/lib/jdk/test/lib/Platform.java -index e2451fc8366..be0ecfd98aa 100644 +index e2451fc83..be0ecfd98 100644 --- a/test/lib/jdk/test/lib/Platform.java +++ b/test/lib/jdk/test/lib/Platform.java @@ -21,6 +21,12 @@ @@ -83702,7 +83644,7 @@ index e2451fc8366..be0ecfd98aa 100644 } diff --git a/test/micro/org/openjdk/bench/loongarch/C2Memory.java b/test/micro/org/openjdk/bench/loongarch/C2Memory.java new file mode 100644 -index 00000000000..65cf1773d09 +index 000000000..65cf1773d --- /dev/null +++ b/test/micro/org/openjdk/bench/loongarch/C2Memory.java @@ -0,0 +1,67 @@ @@ -83775,7 +83717,7 @@ index 00000000000..65cf1773d09 +} diff --git a/test/micro/org/openjdk/bench/loongarch/MisAlignVector.java b/test/micro/org/openjdk/bench/loongarch/MisAlignVector.java new file mode 100644 -index 00000000000..1ee6649cda3 +index 000000000..1ee6649cd --- /dev/null +++ b/test/micro/org/openjdk/bench/loongarch/MisAlignVector.java @@ -0,0 +1,63 @@ diff --git a/openjdk-21.spec b/openjdk-21.spec index b82631d..7bfd6c9 100644 --- a/openjdk-21.spec +++ b/openjdk-21.spec @@ -899,7 +899,7 @@ Name: java-21-%{origin} Version: %{newjavaver}.%{buildver} # This package needs `.rolling` as part of Release so as to not conflict on install with # java-X-openjdk. I.e. when latest rolling release is also an LTS release packaged as -Release: 0 +Release: 1 # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons # and this change was brought into RHEL-4. java-1.5.0-ibm packages @@ -1860,6 +1860,9 @@ cjc.mainProgram(args) -- the returns from copy_jdk_configs.lua should not affect %changelog +* Tue Feb 11 2025 Pan Xuefeng - 1:21.0.6.7-1 +- update LoongArch64 port to 21.0.6 + * Thu Jan 23 2025 Benshuai5D - 1:21.0.6.7-0 - update to jdk21.0.6-ga - delete Backport-JDK-8207908-JMXStatusTest.java-fails-assert.patch -- Gitee