From dcbbc7a294e16594c2ea829bd01f1b03a45c14b5 Mon Sep 17 00:00:00 2001 From: panxuefeng Date: Thu, 8 May 2025 17:06:37 +0800 Subject: [PATCH] upgrade LoongArch64 port to 17.0.15 --- LoongArch64-support.patch | 634 ++------------------------------------ openjdk-17.spec | 5 +- 2 files changed, 33 insertions(+), 606 deletions(-) diff --git a/LoongArch64-support.patch b/LoongArch64-support.patch index c55fa66..08e1527 100644 --- a/LoongArch64-support.patch +++ b/LoongArch64-support.patch @@ -1,581 +1,8 @@ -From d1e2e483022db67f4445dd3181559ea71a2e916a Mon Sep 17 00:00:00 2001 -From: songliyang -Date: Fri, 21 Feb 2025 13:55:48 +0800 -Subject: [PATCH] LoongArch64 support +commit 5d0cd63aa31e77480c23b072cc263f5cea22267b +Author: panxuefeng +Date: Thu May 8 17:20:38 2025 +0800 ---- - make/autoconf/jvm-features.m4 | 36 +- - make/autoconf/platform.m4 | 27 + - .../abstractInterpreter_loongarch.cpp | 133 + - .../cpu/loongarch/assembler_loongarch.cpp | 849 + - .../cpu/loongarch/assembler_loongarch.hpp | 2831 +++ - .../loongarch/assembler_loongarch.inline.hpp | 33 + - src/hotspot/cpu/loongarch/bytes_loongarch.hpp | 73 + - .../loongarch/c1_CodeStubs_loongarch_64.cpp | 360 + - .../cpu/loongarch/c1_Defs_loongarch.hpp | 79 + - .../loongarch/c1_FpuStackSim_loongarch.hpp | 32 + - .../loongarch/c1_FpuStackSim_loongarch_64.cpp | 31 + - .../cpu/loongarch/c1_FrameMap_loongarch.hpp | 143 + - .../loongarch/c1_FrameMap_loongarch_64.cpp | 362 + - .../loongarch/c1_LIRAssembler_loongarch.hpp | 84 + - .../c1_LIRAssembler_loongarch_64.cpp | 3402 ++++ - .../c1_LIRGenerator_loongarch_64.cpp | 1386 ++ - .../cpu/loongarch/c1_LIR_loongarch_64.cpp | 57 + - .../cpu/loongarch/c1_LinearScan_loongarch.hpp | 70 + - .../loongarch/c1_LinearScan_loongarch_64.cpp | 33 + - .../loongarch/c1_MacroAssembler_loongarch.hpp | 112 + - .../c1_MacroAssembler_loongarch_64.cpp | 365 + - .../loongarch/c1_Runtime1_loongarch_64.cpp | 1148 ++ - .../cpu/loongarch/c1_globals_loongarch.hpp | 65 + - .../loongarch/c2_MacroAssembler_loongarch.cpp | 1872 ++ - .../loongarch/c2_MacroAssembler_loongarch.hpp | 144 + - .../cpu/loongarch/c2_globals_loongarch.hpp | 90 + - .../cpu/loongarch/c2_init_loongarch.cpp | 37 + - .../c2_safepointPollStubTable_loongarch.cpp | 50 + - .../cpu/loongarch/codeBuffer_loongarch.hpp | 35 + - .../cpu/loongarch/compiledIC_loongarch.cpp | 144 + - src/hotspot/cpu/loongarch/copy_loongarch.hpp | 77 + - .../cpu/loongarch/disassembler_loongarch.hpp | 57 + - .../loongarch/foreign_globals_loongarch.cpp | 42 + - .../loongarch/foreign_globals_loongarch.hpp | 31 + - src/hotspot/cpu/loongarch/frame_loongarch.cpp | 668 + - src/hotspot/cpu/loongarch/frame_loongarch.hpp | 162 + - .../cpu/loongarch/frame_loongarch.inline.hpp | 245 + - .../gc/g1/g1BarrierSetAssembler_loongarch.cpp | 532 + - .../gc/g1/g1BarrierSetAssembler_loongarch.hpp | 71 + - .../loongarch/gc/g1/g1Globals_loongarch.hpp | 30 + - .../shared/barrierSetAssembler_loongarch.cpp | 320 + - .../shared/barrierSetAssembler_loongarch.hpp | 93 + - .../gc/shared/barrierSetNMethod_loongarch.cpp | 157 + - ...cardTableBarrierSetAssembler_loongarch.cpp | 119 + - ...cardTableBarrierSetAssembler_loongarch.hpp | 44 + - .../modRefBarrierSetAssembler_loongarch.cpp | 53 + - .../modRefBarrierSetAssembler_loongarch.hpp | 54 + - .../c1/shenandoahBarrierSetC1_loongarch.cpp | 130 + - ...henandoahBarrierSetAssembler_loongarch.cpp | 784 + - ...henandoahBarrierSetAssembler_loongarch.hpp | 85 + - .../gc/shenandoah/shenandoah_loongarch_64.ad | 222 + - .../gc/z/zBarrierSetAssembler_loongarch.cpp | 462 + - .../gc/z/zBarrierSetAssembler_loongarch.hpp | 101 + - .../cpu/loongarch/gc/z/zGlobals_loongarch.cpp | 211 + - .../cpu/loongarch/gc/z/zGlobals_loongarch.hpp | 35 + - .../cpu/loongarch/gc/z/z_loongarch_64.ad | 273 + - .../loongarch/globalDefinitions_loongarch.hpp | 55 + - .../cpu/loongarch/globals_loongarch.hpp | 106 + - .../cpu/loongarch/icBuffer_loongarch.cpp | 100 + - .../cpu/loongarch/icache_loongarch.cpp | 42 + - .../cpu/loongarch/icache_loongarch.hpp | 41 + - .../cpu/loongarch/interp_masm_loongarch.hpp | 270 + - .../loongarch/interp_masm_loongarch_64.cpp | 2042 ++ - .../cpu/loongarch/interpreterRT_loongarch.hpp | 62 + - .../loongarch/interpreterRT_loongarch_64.cpp | 282 + - .../loongarch/javaFrameAnchor_loongarch.hpp | 87 + - .../jniFastGetField_loongarch_64.cpp | 197 + - .../cpu/loongarch/jniTypes_loongarch.hpp | 143 + - .../jvmciCodeInstaller_loongarch.cpp | 202 + - src/hotspot/cpu/loongarch/loongarch.ad | 25 + - src/hotspot/cpu/loongarch/loongarch_64.ad | 15689 ++++++++++++++++ - .../loongarch/macroAssembler_loongarch.cpp | 3839 ++++ - .../loongarch/macroAssembler_loongarch.hpp | 754 + - .../macroAssembler_loongarch.inline.hpp | 34 + - .../macroAssembler_loongarch_trig.cpp | 1634 ++ - .../cpu/loongarch/matcher_loongarch.hpp | 145 + - .../cpu/loongarch/methodHandles_loongarch.cpp | 585 + - .../cpu/loongarch/methodHandles_loongarch.hpp | 62 + - .../cpu/loongarch/nativeInst_loongarch.cpp | 529 + - .../cpu/loongarch/nativeInst_loongarch.hpp | 531 + - .../cpu/loongarch/registerMap_loongarch.hpp | 61 + - .../register_definitions_loongarch.cpp | 103 + - .../cpu/loongarch/register_loongarch.cpp | 59 + - .../cpu/loongarch/register_loongarch.hpp | 499 + - .../cpu/loongarch/relocInfo_loongarch.cpp | 132 + - .../cpu/loongarch/relocInfo_loongarch.hpp | 44 + - .../cpu/loongarch/runtime_loongarch_64.cpp | 199 + - .../loongarch/sharedRuntime_loongarch_64.cpp | 3113 +++ - .../loongarch/stubGenerator_loongarch_64.cpp | 5176 +++++ - .../cpu/loongarch/stubRoutines_loongarch.hpp | 89 + - .../loongarch/stubRoutines_loongarch_64.cpp | 183 + - ...templateInterpreterGenerator_loongarch.cpp | 2197 +++ - .../cpu/loongarch/templateTable_loongarch.hpp | 43 + - .../loongarch/templateTable_loongarch_64.cpp | 4043 ++++ - .../universalNativeInvoker_loongarch_64.cpp | 32 + - .../universalUpcallHandler_loongarch_64.cpp | 41 + - .../cpu/loongarch/vmStructs_loongarch.hpp | 61 + - .../loongarch/vm_version_ext_loongarch.cpp | 85 + - .../loongarch/vm_version_ext_loongarch.hpp | 54 + - .../cpu/loongarch/vm_version_loongarch.cpp | 432 + - .../cpu/loongarch/vm_version_loongarch.hpp | 295 + - src/hotspot/cpu/loongarch/vmreg_loongarch.cpp | 58 + - src/hotspot/cpu/loongarch/vmreg_loongarch.hpp | 58 + - .../cpu/loongarch/vmreg_loongarch.inline.hpp | 39 + - .../loongarch/vtableStubs_loongarch_64.cpp | 331 + - .../cpu/mips/abstractInterpreter_mips.cpp | 133 + - src/hotspot/cpu/mips/assembler_mips.cpp | 764 + - src/hotspot/cpu/mips/assembler_mips.hpp | 1777 ++ - .../cpu/mips/assembler_mips.inline.hpp | 33 + - src/hotspot/cpu/mips/bytes_mips.hpp | 181 + - .../cpu/mips/c2_MacroAssembler_mips.cpp | 614 + - .../cpu/mips/c2_MacroAssembler_mips.hpp | 162 + - src/hotspot/cpu/mips/c2_globals_mips.hpp | 91 + - src/hotspot/cpu/mips/c2_init_mips.cpp | 34 + - src/hotspot/cpu/mips/codeBuffer_mips.hpp | 35 + - src/hotspot/cpu/mips/compiledIC_mips.cpp | 147 + - src/hotspot/cpu/mips/copy_mips.hpp | 77 + - src/hotspot/cpu/mips/depChecker_mips.cpp | 30 + - src/hotspot/cpu/mips/depChecker_mips.hpp | 31 + - src/hotspot/cpu/mips/disassembler_mips.hpp | 57 + - src/hotspot/cpu/mips/foreign_globals_mips.cpp | 42 + - src/hotspot/cpu/mips/foreign_globals_mips.hpp | 31 + - src/hotspot/cpu/mips/frame_mips.cpp | 665 + - src/hotspot/cpu/mips/frame_mips.hpp | 215 + - src/hotspot/cpu/mips/frame_mips.inline.hpp | 238 + - .../mips/gc/g1/g1BarrierSetAssembler_mips.cpp | 373 + - .../mips/gc/g1/g1BarrierSetAssembler_mips.hpp | 71 + - src/hotspot/cpu/mips/gc/g1/g1Globals_mips.hpp | 30 + - .../gc/shared/barrierSetAssembler_mips.cpp | 194 + - .../gc/shared/barrierSetAssembler_mips.hpp | 84 + - .../mips/gc/shared/barrierSetNMethod_mips.cpp | 41 + - .../cardTableBarrierSetAssembler_mips.cpp | 144 + - .../cardTableBarrierSetAssembler_mips.hpp | 42 + - .../shared/modRefBarrierSetAssembler_mips.cpp | 53 + - .../shared/modRefBarrierSetAssembler_mips.hpp | 54 + - .../cpu/mips/globalDefinitions_mips.hpp | 47 + - src/hotspot/cpu/mips/globals_mips.hpp | 132 + - src/hotspot/cpu/mips/icBuffer_mips.cpp | 96 + - src/hotspot/cpu/mips/icache_mips.cpp | 41 + - src/hotspot/cpu/mips/icache_mips.hpp | 41 + - src/hotspot/cpu/mips/interp_masm_mips.hpp | 266 + - src/hotspot/cpu/mips/interp_masm_mips_64.cpp | 2140 +++ - src/hotspot/cpu/mips/interpreterRT_mips.hpp | 60 + - .../cpu/mips/interpreterRT_mips_64.cpp | 260 + - src/hotspot/cpu/mips/javaFrameAnchor_mips.hpp | 87 + - .../cpu/mips/jniFastGetField_mips_64.cpp | 203 + - src/hotspot/cpu/mips/jniTypes_mips.hpp | 143 + - src/hotspot/cpu/mips/macroAssembler_mips.cpp | 3686 ++++ - src/hotspot/cpu/mips/macroAssembler_mips.hpp | 704 + - .../cpu/mips/macroAssembler_mips.inline.hpp | 34 + - src/hotspot/cpu/mips/matcher_mips.hpp | 145 + - src/hotspot/cpu/mips/methodHandles_mips.cpp | 597 + - src/hotspot/cpu/mips/methodHandles_mips.hpp | 62 + - src/hotspot/cpu/mips/mips.ad | 25 + - src/hotspot/cpu/mips/mips_64.ad | 12317 ++++++++++++ - src/hotspot/cpu/mips/nativeInst_mips.cpp | 1825 ++ - src/hotspot/cpu/mips/nativeInst_mips.hpp | 734 + - src/hotspot/cpu/mips/registerMap_mips.hpp | 50 + - .../cpu/mips/register_definitions_mips.cpp | 103 + - src/hotspot/cpu/mips/register_mips.cpp | 52 + - src/hotspot/cpu/mips/register_mips.hpp | 345 + - src/hotspot/cpu/mips/relocInfo_mips.cpp | 160 + - src/hotspot/cpu/mips/relocInfo_mips.hpp | 44 + - src/hotspot/cpu/mips/runtime_mips_64.cpp | 206 + - .../cpu/mips/sharedRuntime_mips_64.cpp | 3384 ++++ - .../cpu/mips/stubGenerator_mips_64.cpp | 2725 +++ - src/hotspot/cpu/mips/stubRoutines_mips.hpp | 59 + - src/hotspot/cpu/mips/stubRoutines_mips_64.cpp | 35 + - .../templateInterpreterGenerator_mips.cpp | 2094 +++ - src/hotspot/cpu/mips/templateTable_mips.hpp | 43 + - .../cpu/mips/templateTable_mips_64.cpp | 4613 +++++ - .../mips/universalNativeInvoker_mips_64.cpp | 32 + - .../mips/universalUpcallHandler_mips_64.cpp | 41 + - src/hotspot/cpu/mips/vmStructs_mips.hpp | 68 + - src/hotspot/cpu/mips/vm_version_ext_mips.cpp | 90 + - src/hotspot/cpu/mips/vm_version_ext_mips.hpp | 54 + - src/hotspot/cpu/mips/vm_version_mips.cpp | 523 + - src/hotspot/cpu/mips/vm_version_mips.hpp | 218 + - src/hotspot/cpu/mips/vmreg_mips.cpp | 56 + - src/hotspot/cpu/mips/vmreg_mips.hpp | 56 + - src/hotspot/cpu/mips/vmreg_mips.inline.hpp | 38 + - src/hotspot/cpu/mips/vtableStubs_mips_64.cpp | 348 + - src/hotspot/cpu/ppc/gc/z/zGlobals_ppc.hpp | 2 + - src/hotspot/os/linux/os_linux.cpp | 10 +- - .../assembler_linux_loongarch.cpp | 24 + - .../atomic_linux_loongarch.hpp | 275 + - .../bytes_linux_loongarch.inline.hpp | 37 + - .../copy_linux_loongarch.inline.hpp | 125 + - .../gc/z/zSyscall_linux_loongarch.hpp | 41 + - .../globals_linux_loongarch.hpp | 43 + - .../os_cpu/linux_loongarch/linux_loongarch.s | 25 + - .../orderAccess_linux_loongarch.hpp | 52 + - .../linux_loongarch/os_linux_loongarch.cpp | 529 + - .../linux_loongarch/os_linux_loongarch.hpp | 38 + - .../prefetch_linux_loongarch.inline.hpp | 56 + - .../safefetch_linux_loongarch64.S | 56 + - .../thread_linux_loongarch.cpp | 105 + - .../thread_linux_loongarch.hpp | 66 + - .../vmStructs_linux_loongarch.hpp | 55 + - .../vm_version_linux_loongarch.cpp | 95 + - .../linux_mips/assembler_linux_mips.cpp | 24 + - .../os_cpu/linux_mips/atomic_linux_mips.hpp | 194 + - .../linux_mips/bytes_linux_mips.inline.hpp | 37 + - .../linux_mips/copy_linux_mips.inline.hpp | 125 + - .../os_cpu/linux_mips/globals_linux_mips.hpp | 51 + - src/hotspot/os_cpu/linux_mips/linux_mips.s | 25 + - .../linux_mips/orderAccess_linux_mips.hpp | 52 + - .../os_cpu/linux_mips/os_linux_mips.cpp | 817 + - .../os_cpu/linux_mips/os_linux_mips.hpp | 39 + - .../linux_mips/prefetch_linux_mips.inline.hpp | 58 + - .../linux_mips/safefetch_linux_mips64.S | 60 + - .../os_cpu/linux_mips/thread_linux_mips.cpp | 108 + - .../os_cpu/linux_mips/thread_linux_mips.hpp | 66 + - .../linux_mips/vmStructs_linux_mips.hpp | 55 + - .../linux_mips/vm_version_linux_mips.cpp | 28 + - src/hotspot/share/adlc/formssel.cpp | 7 + - src/hotspot/share/asm/codeBuffer.cpp | 7 + - src/hotspot/share/c1/c1_Compiler.cpp | 8 +- - src/hotspot/share/c1/c1_LIR.cpp | 36 +- - src/hotspot/share/c1/c1_LIR.hpp | 59 +- - src/hotspot/share/c1/c1_LIRAssembler.cpp | 10 +- - src/hotspot/share/c1/c1_LIRAssembler.hpp | 10 +- - src/hotspot/share/c1/c1_LinearScan.cpp | 14 +- - src/hotspot/share/code/nmethod.cpp | 12 +- - src/hotspot/share/code/relocInfo.cpp | 4 +- - src/hotspot/share/code/relocInfo.hpp | 19 +- - src/hotspot/share/code/vtableStubs.cpp | 11 + - .../gc/g1/g1ParScanThreadState.inline.hpp | 9 + - .../share/gc/shared/c2/barrierSetC2.cpp | 15 + - .../gc/shenandoah/shenandoahArguments.cpp | 8 +- - src/hotspot/share/gc/z/c1/zBarrierSetC1.cpp | 8 +- - .../share/interpreter/interpreterRuntime.cpp | 8 +- - .../share/interpreter/interpreterRuntime.hpp | 8 +- - .../templateInterpreterGenerator.hpp | 10 +- - .../share/jfr/utilities/jfrBigEndian.hpp | 8 +- - src/hotspot/share/jvmci/vmStructs_jvmci.cpp | 17 + - src/hotspot/share/memory/metaspace.cpp | 17 +- - src/hotspot/share/opto/classes.hpp | 7 + - src/hotspot/share/opto/compile.cpp | 7 + - src/hotspot/share/opto/memnode.cpp | 7 + - src/hotspot/share/opto/memnode.hpp | 14 + - src/hotspot/share/opto/output.cpp | 43 + - src/hotspot/share/opto/type.cpp | 14 + - src/hotspot/share/runtime/objectMonitor.cpp | 10 + - src/hotspot/share/runtime/os.cpp | 9 +- - src/hotspot/share/runtime/sharedRuntime.cpp | 8 +- - .../share/runtime/sharedRuntimeTrig.cpp | 15 + - src/hotspot/share/runtime/thread.inline.hpp | 10 +- - src/hotspot/share/runtime/vmStructs.cpp | 7 + - src/hotspot/share/utilities/macros.hpp | 56 + - .../native/libsaproc/LinuxDebuggerLocal.cpp | 28 +- - .../linux/native/libsaproc/libproc.h | 13 +- - .../linux/native/libsaproc/ps_proc.c | 8 +- - .../classes/sun/jvm/hotspot/HotSpotAgent.java | 12 + - .../MachineDescriptionLOONGARCH64.java | 41 + - .../debugger/MachineDescriptionMIPS64.java | 41 + - .../debugger/linux/LinuxCDebugger.java | 26 +- - .../linux/LinuxThreadContextFactory.java | 14 +- - .../loongarch64/LinuxLOONGARCH64CFrame.java | 92 + - .../LinuxLOONGARCH64ThreadContext.java | 47 + - .../linux/mips64/LinuxMIPS64CFrame.java | 80 + - .../mips64/LinuxMIPS64ThreadContext.java | 47 + - .../loongarch64/LOONGARCH64ThreadContext.java | 128 + - .../debugger/mips64/MIPS64ThreadContext.java | 128 + - .../hotspot/debugger/posix/elf/ELFHeader.java | 8 + - .../loongarch64/ProcLOONGARCH64Thread.java | 92 + - .../ProcLOONGARCH64ThreadContext.java | 47 + - .../ProcLOONGARCH64ThreadFactory.java | 45 + - .../proc/mips64/ProcMIPS64Thread.java | 92 + - .../proc/mips64/ProcMIPS64ThreadContext.java | 47 + - .../proc/mips64/ProcMIPS64ThreadFactory.java | 45 + - .../debugger/remote/RemoteDebuggerClient.java | 18 + - .../loongarch64/RemoteLOONGARCH64Thread.java | 54 + - .../RemoteLOONGARCH64ThreadContext.java | 51 + - .../RemoteLOONGARCH64ThreadFactory.java | 45 + - .../remote/mips64/RemoteMIPS64Thread.java | 54 + - .../mips64/RemoteMIPS64ThreadContext.java | 51 + - .../mips64/RemoteMIPS64ThreadFactory.java | 45 + - .../sun/jvm/hotspot/runtime/Threads.java | 12 + - .../LinuxLOONGARCH64JavaThreadPDAccess.java | 135 + - .../LinuxMIPS64JavaThreadPDAccess.java | 135 + - .../LOONGARCH64CurrentFrameGuess.java | 250 + - .../runtime/loongarch64/LOONGARCH64Frame.java | 519 + - .../LOONGARCH64JavaCallWrapper.java | 59 + - .../loongarch64/LOONGARCH64RegisterMap.java | 52 + - .../mips64/MIPS64CurrentFrameGuess.java | 217 + - .../hotspot/runtime/mips64/MIPS64Frame.java | 539 + - .../runtime/mips64/MIPS64JavaCallWrapper.java | 59 + - .../runtime/mips64/MIPS64RegisterMap.java | 52 + - .../jvm/hotspot/utilities/PlatformInfo.java | 15 +- - ...LoongArch64HotSpotJVMCIBackendFactory.java | 142 + - .../LoongArch64HotSpotRegisterConfig.java | 297 + - .../LoongArch64HotSpotVMConfig.java | 77 + - .../ci/hotspot/loongarch64/package-info.java | 28 + - .../jdk/vm/ci/loongarch64/LoongArch64.java | 249 + - .../vm/ci/loongarch64/LoongArch64Kind.java | 163 + - .../jdk/vm/ci/loongarch64/package-info.java | 28 + - .../share/classes/module-info.java | 7 + - src/utils/hsdis/Makefile | 3 + - .../TestAESIntrinsicsOnSupportedConfig.java | 8 +- - .../TestAESIntrinsicsOnUnsupportedConfig.java | 8 +- - .../testcases/GenericTestCaseForOtherCPU.java | 13 +- - .../vm/ci/code/test/CodeInstallationTest.java | 11 + - .../jdk/vm/ci/code/test/DataPatchTest.java | 11 +- - .../code/test/InterpreterFrameSizeTest.java | 11 +- - .../code/test/MaxOopMapStackOffsetTest.java | 11 +- - .../jdk/vm/ci/code/test/NativeCallTest.java | 11 +- - .../code/test/SimpleCodeInstallationTest.java | 11 +- - .../vm/ci/code/test/SimpleDebugInfoTest.java | 11 +- - .../code/test/VirtualObjectDebugInfoTest.java | 11 +- - .../loongarch64/LoongArch64TestAssembler.java | 568 + - .../compiler/lib/ir_framework/IRNode.java | 10 +- - .../runtime/TestConstantsInError.java | 12 +- - .../argumentcorruption/CheckLongArgs.java | 7 + - .../criticalnatives/lookup/LookUp.java | 7 + - .../sha/predicate/IntrinsicPredicates.java | 17 +- - .../ReservedStack/ReservedStackTest.java | 9 +- - .../ir_framework/tests/TestIRMatching.java | 8 +- - .../nsk/share/jdi/ArgumentHandler.java | 178 +- - .../jdk/jfr/event/os/TestCPUInformation.java | 10 +- - ...stMutuallyExclusivePlatformPredicates.java | 8 +- - test/lib/jdk/test/lib/Platform.java | 14 + - 322 files changed, 118647 insertions(+), 189 deletions(-) - create mode 100644 src/hotspot/cpu/loongarch/abstractInterpreter_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/assembler_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/assembler_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/assembler_loongarch.inline.hpp - create mode 100644 src/hotspot/cpu/loongarch/bytes_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/c1_CodeStubs_loongarch_64.cpp - create mode 100644 src/hotspot/cpu/loongarch/c1_Defs_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/c1_FpuStackSim_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/c1_FpuStackSim_loongarch_64.cpp - create mode 100644 src/hotspot/cpu/loongarch/c1_FrameMap_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/c1_FrameMap_loongarch_64.cpp - create mode 100644 src/hotspot/cpu/loongarch/c1_LIRAssembler_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/c1_LIRAssembler_loongarch_64.cpp - create mode 100644 src/hotspot/cpu/loongarch/c1_LIRGenerator_loongarch_64.cpp - create mode 100644 src/hotspot/cpu/loongarch/c1_LIR_loongarch_64.cpp - create mode 100644 src/hotspot/cpu/loongarch/c1_LinearScan_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/c1_LinearScan_loongarch_64.cpp - create mode 100644 src/hotspot/cpu/loongarch/c1_MacroAssembler_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/c1_MacroAssembler_loongarch_64.cpp - create mode 100644 src/hotspot/cpu/loongarch/c1_Runtime1_loongarch_64.cpp - create mode 100644 src/hotspot/cpu/loongarch/c1_globals_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/c2_MacroAssembler_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/c2_MacroAssembler_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/c2_globals_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/c2_init_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/c2_safepointPollStubTable_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/codeBuffer_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/compiledIC_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/copy_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/disassembler_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/foreign_globals_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/foreign_globals_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/frame_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/frame_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/frame_loongarch.inline.hpp - create mode 100644 src/hotspot/cpu/loongarch/gc/g1/g1BarrierSetAssembler_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/gc/g1/g1BarrierSetAssembler_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/gc/g1/g1Globals_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/gc/shared/barrierSetAssembler_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/gc/shared/barrierSetAssembler_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/gc/shared/barrierSetNMethod_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/gc/shared/cardTableBarrierSetAssembler_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/gc/shared/cardTableBarrierSetAssembler_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/gc/shared/modRefBarrierSetAssembler_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/gc/shared/modRefBarrierSetAssembler_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/gc/shenandoah/c1/shenandoahBarrierSetC1_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/gc/shenandoah/shenandoahBarrierSetAssembler_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/gc/shenandoah/shenandoahBarrierSetAssembler_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/gc/shenandoah/shenandoah_loongarch_64.ad - create mode 100644 src/hotspot/cpu/loongarch/gc/z/zBarrierSetAssembler_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/gc/z/zBarrierSetAssembler_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/gc/z/zGlobals_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/gc/z/zGlobals_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/gc/z/z_loongarch_64.ad - create mode 100644 src/hotspot/cpu/loongarch/globalDefinitions_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/globals_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/icBuffer_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/icache_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/icache_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/interp_masm_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/interp_masm_loongarch_64.cpp - create mode 100644 src/hotspot/cpu/loongarch/interpreterRT_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/interpreterRT_loongarch_64.cpp - create mode 100644 src/hotspot/cpu/loongarch/javaFrameAnchor_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/jniFastGetField_loongarch_64.cpp - create mode 100644 src/hotspot/cpu/loongarch/jniTypes_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/jvmciCodeInstaller_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/loongarch.ad - create mode 100644 src/hotspot/cpu/loongarch/loongarch_64.ad - create mode 100644 src/hotspot/cpu/loongarch/macroAssembler_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/macroAssembler_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/macroAssembler_loongarch.inline.hpp - create mode 100644 src/hotspot/cpu/loongarch/macroAssembler_loongarch_trig.cpp - create mode 100644 src/hotspot/cpu/loongarch/matcher_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/methodHandles_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/methodHandles_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/nativeInst_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/nativeInst_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/registerMap_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/register_definitions_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/register_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/register_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/relocInfo_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/relocInfo_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/runtime_loongarch_64.cpp - create mode 100644 src/hotspot/cpu/loongarch/sharedRuntime_loongarch_64.cpp - create mode 100644 src/hotspot/cpu/loongarch/stubGenerator_loongarch_64.cpp - create mode 100644 src/hotspot/cpu/loongarch/stubRoutines_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/stubRoutines_loongarch_64.cpp - create mode 100644 src/hotspot/cpu/loongarch/templateInterpreterGenerator_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/templateTable_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/templateTable_loongarch_64.cpp - create mode 100644 src/hotspot/cpu/loongarch/universalNativeInvoker_loongarch_64.cpp - create mode 100644 src/hotspot/cpu/loongarch/universalUpcallHandler_loongarch_64.cpp - create mode 100644 src/hotspot/cpu/loongarch/vmStructs_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/vm_version_ext_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/vm_version_ext_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/vm_version_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/vm_version_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/vmreg_loongarch.cpp - create mode 100644 src/hotspot/cpu/loongarch/vmreg_loongarch.hpp - create mode 100644 src/hotspot/cpu/loongarch/vmreg_loongarch.inline.hpp - create mode 100644 src/hotspot/cpu/loongarch/vtableStubs_loongarch_64.cpp - create mode 100644 src/hotspot/cpu/mips/abstractInterpreter_mips.cpp - create mode 100644 src/hotspot/cpu/mips/assembler_mips.cpp - create mode 100644 src/hotspot/cpu/mips/assembler_mips.hpp - create mode 100644 src/hotspot/cpu/mips/assembler_mips.inline.hpp - create mode 100644 src/hotspot/cpu/mips/bytes_mips.hpp - create mode 100644 src/hotspot/cpu/mips/c2_MacroAssembler_mips.cpp - create mode 100644 src/hotspot/cpu/mips/c2_MacroAssembler_mips.hpp - create mode 100644 src/hotspot/cpu/mips/c2_globals_mips.hpp - create mode 100644 src/hotspot/cpu/mips/c2_init_mips.cpp - create mode 100644 src/hotspot/cpu/mips/codeBuffer_mips.hpp - create mode 100644 src/hotspot/cpu/mips/compiledIC_mips.cpp - create mode 100644 src/hotspot/cpu/mips/copy_mips.hpp - create mode 100644 src/hotspot/cpu/mips/depChecker_mips.cpp - create mode 100644 src/hotspot/cpu/mips/depChecker_mips.hpp - create mode 100644 src/hotspot/cpu/mips/disassembler_mips.hpp - create mode 100644 src/hotspot/cpu/mips/foreign_globals_mips.cpp - create mode 100644 src/hotspot/cpu/mips/foreign_globals_mips.hpp - create mode 100644 src/hotspot/cpu/mips/frame_mips.cpp - create mode 100644 src/hotspot/cpu/mips/frame_mips.hpp - create mode 100644 src/hotspot/cpu/mips/frame_mips.inline.hpp - create mode 100644 src/hotspot/cpu/mips/gc/g1/g1BarrierSetAssembler_mips.cpp - create mode 100644 src/hotspot/cpu/mips/gc/g1/g1BarrierSetAssembler_mips.hpp - create mode 100644 src/hotspot/cpu/mips/gc/g1/g1Globals_mips.hpp - create mode 100644 src/hotspot/cpu/mips/gc/shared/barrierSetAssembler_mips.cpp - create mode 100644 src/hotspot/cpu/mips/gc/shared/barrierSetAssembler_mips.hpp - create mode 100644 src/hotspot/cpu/mips/gc/shared/barrierSetNMethod_mips.cpp - create mode 100644 src/hotspot/cpu/mips/gc/shared/cardTableBarrierSetAssembler_mips.cpp - create mode 100644 src/hotspot/cpu/mips/gc/shared/cardTableBarrierSetAssembler_mips.hpp - create mode 100644 src/hotspot/cpu/mips/gc/shared/modRefBarrierSetAssembler_mips.cpp - create mode 100644 src/hotspot/cpu/mips/gc/shared/modRefBarrierSetAssembler_mips.hpp - create mode 100644 src/hotspot/cpu/mips/globalDefinitions_mips.hpp - create mode 100644 src/hotspot/cpu/mips/globals_mips.hpp - create mode 100644 src/hotspot/cpu/mips/icBuffer_mips.cpp - create mode 100644 src/hotspot/cpu/mips/icache_mips.cpp - create mode 100644 src/hotspot/cpu/mips/icache_mips.hpp - create mode 100644 src/hotspot/cpu/mips/interp_masm_mips.hpp - create mode 100644 src/hotspot/cpu/mips/interp_masm_mips_64.cpp - create mode 100644 src/hotspot/cpu/mips/interpreterRT_mips.hpp - create mode 100644 src/hotspot/cpu/mips/interpreterRT_mips_64.cpp - create mode 100644 src/hotspot/cpu/mips/javaFrameAnchor_mips.hpp - create mode 100644 src/hotspot/cpu/mips/jniFastGetField_mips_64.cpp - create mode 100644 src/hotspot/cpu/mips/jniTypes_mips.hpp - create mode 100644 src/hotspot/cpu/mips/macroAssembler_mips.cpp - create mode 100644 src/hotspot/cpu/mips/macroAssembler_mips.hpp - create mode 100644 src/hotspot/cpu/mips/macroAssembler_mips.inline.hpp - create mode 100644 src/hotspot/cpu/mips/matcher_mips.hpp - create mode 100644 src/hotspot/cpu/mips/methodHandles_mips.cpp - create mode 100644 src/hotspot/cpu/mips/methodHandles_mips.hpp - create mode 100644 src/hotspot/cpu/mips/mips.ad - create mode 100644 src/hotspot/cpu/mips/mips_64.ad - create mode 100644 src/hotspot/cpu/mips/nativeInst_mips.cpp - create mode 100644 src/hotspot/cpu/mips/nativeInst_mips.hpp - create mode 100644 src/hotspot/cpu/mips/registerMap_mips.hpp - create mode 100644 src/hotspot/cpu/mips/register_definitions_mips.cpp - create mode 100644 src/hotspot/cpu/mips/register_mips.cpp - create mode 100644 src/hotspot/cpu/mips/register_mips.hpp - create mode 100644 src/hotspot/cpu/mips/relocInfo_mips.cpp - create mode 100644 src/hotspot/cpu/mips/relocInfo_mips.hpp - create mode 100644 src/hotspot/cpu/mips/runtime_mips_64.cpp - create mode 100644 src/hotspot/cpu/mips/sharedRuntime_mips_64.cpp - create mode 100644 src/hotspot/cpu/mips/stubGenerator_mips_64.cpp - create mode 100644 src/hotspot/cpu/mips/stubRoutines_mips.hpp - create mode 100644 src/hotspot/cpu/mips/stubRoutines_mips_64.cpp - create mode 100644 src/hotspot/cpu/mips/templateInterpreterGenerator_mips.cpp - create mode 100644 src/hotspot/cpu/mips/templateTable_mips.hpp - create mode 100644 src/hotspot/cpu/mips/templateTable_mips_64.cpp - create mode 100644 src/hotspot/cpu/mips/universalNativeInvoker_mips_64.cpp - create mode 100644 src/hotspot/cpu/mips/universalUpcallHandler_mips_64.cpp - create mode 100644 src/hotspot/cpu/mips/vmStructs_mips.hpp - create mode 100644 src/hotspot/cpu/mips/vm_version_ext_mips.cpp - create mode 100644 src/hotspot/cpu/mips/vm_version_ext_mips.hpp - create mode 100644 src/hotspot/cpu/mips/vm_version_mips.cpp - create mode 100644 src/hotspot/cpu/mips/vm_version_mips.hpp - create mode 100644 src/hotspot/cpu/mips/vmreg_mips.cpp - create mode 100644 src/hotspot/cpu/mips/vmreg_mips.hpp - create mode 100644 src/hotspot/cpu/mips/vmreg_mips.inline.hpp - create mode 100644 src/hotspot/cpu/mips/vtableStubs_mips_64.cpp - create mode 100644 src/hotspot/os_cpu/linux_loongarch/assembler_linux_loongarch.cpp - create mode 100644 src/hotspot/os_cpu/linux_loongarch/atomic_linux_loongarch.hpp - create mode 100644 src/hotspot/os_cpu/linux_loongarch/bytes_linux_loongarch.inline.hpp - create mode 100644 src/hotspot/os_cpu/linux_loongarch/copy_linux_loongarch.inline.hpp - create mode 100644 src/hotspot/os_cpu/linux_loongarch/gc/z/zSyscall_linux_loongarch.hpp - create mode 100644 src/hotspot/os_cpu/linux_loongarch/globals_linux_loongarch.hpp - create mode 100644 src/hotspot/os_cpu/linux_loongarch/linux_loongarch.s - create mode 100644 src/hotspot/os_cpu/linux_loongarch/orderAccess_linux_loongarch.hpp - create mode 100644 src/hotspot/os_cpu/linux_loongarch/os_linux_loongarch.cpp - create mode 100644 src/hotspot/os_cpu/linux_loongarch/os_linux_loongarch.hpp - create mode 100644 src/hotspot/os_cpu/linux_loongarch/prefetch_linux_loongarch.inline.hpp - create mode 100644 src/hotspot/os_cpu/linux_loongarch/safefetch_linux_loongarch64.S - create mode 100644 src/hotspot/os_cpu/linux_loongarch/thread_linux_loongarch.cpp - create mode 100644 src/hotspot/os_cpu/linux_loongarch/thread_linux_loongarch.hpp - create mode 100644 src/hotspot/os_cpu/linux_loongarch/vmStructs_linux_loongarch.hpp - create mode 100644 src/hotspot/os_cpu/linux_loongarch/vm_version_linux_loongarch.cpp - create mode 100644 src/hotspot/os_cpu/linux_mips/assembler_linux_mips.cpp - create mode 100644 src/hotspot/os_cpu/linux_mips/atomic_linux_mips.hpp - create mode 100644 src/hotspot/os_cpu/linux_mips/bytes_linux_mips.inline.hpp - create mode 100644 src/hotspot/os_cpu/linux_mips/copy_linux_mips.inline.hpp - create mode 100644 src/hotspot/os_cpu/linux_mips/globals_linux_mips.hpp - create mode 100644 src/hotspot/os_cpu/linux_mips/linux_mips.s - create mode 100644 src/hotspot/os_cpu/linux_mips/orderAccess_linux_mips.hpp - create mode 100644 src/hotspot/os_cpu/linux_mips/os_linux_mips.cpp - create mode 100644 src/hotspot/os_cpu/linux_mips/os_linux_mips.hpp - create mode 100644 src/hotspot/os_cpu/linux_mips/prefetch_linux_mips.inline.hpp - create mode 100644 src/hotspot/os_cpu/linux_mips/safefetch_linux_mips64.S - create mode 100644 src/hotspot/os_cpu/linux_mips/thread_linux_mips.cpp - create mode 100644 src/hotspot/os_cpu/linux_mips/thread_linux_mips.hpp - create mode 100644 src/hotspot/os_cpu/linux_mips/vmStructs_linux_mips.hpp - create mode 100644 src/hotspot/os_cpu/linux_mips/vm_version_linux_mips.cpp - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/MachineDescriptionLOONGARCH64.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/MachineDescriptionMIPS64.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/loongarch64/LinuxLOONGARCH64CFrame.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/loongarch64/LinuxLOONGARCH64ThreadContext.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/mips64/LinuxMIPS64CFrame.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/mips64/LinuxMIPS64ThreadContext.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/loongarch64/LOONGARCH64ThreadContext.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/mips64/MIPS64ThreadContext.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/loongarch64/ProcLOONGARCH64Thread.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/loongarch64/ProcLOONGARCH64ThreadContext.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/loongarch64/ProcLOONGARCH64ThreadFactory.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/mips64/ProcMIPS64Thread.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/mips64/ProcMIPS64ThreadContext.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/proc/mips64/ProcMIPS64ThreadFactory.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64Thread.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64ThreadContext.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/loongarch64/RemoteLOONGARCH64ThreadFactory.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/mips64/RemoteMIPS64Thread.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/mips64/RemoteMIPS64ThreadContext.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/remote/mips64/RemoteMIPS64ThreadFactory.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/linux_loongarch64/LinuxLOONGARCH64JavaThreadPDAccess.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/linux_mips64/LinuxMIPS64JavaThreadPDAccess.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64CurrentFrameGuess.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64Frame.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64JavaCallWrapper.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/loongarch64/LOONGARCH64RegisterMap.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/mips64/MIPS64CurrentFrameGuess.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/mips64/MIPS64Frame.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/mips64/MIPS64JavaCallWrapper.java - create mode 100644 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/mips64/MIPS64RegisterMap.java - create mode 100644 src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotJVMCIBackendFactory.java - create mode 100644 src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotRegisterConfig.java - create mode 100644 src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/LoongArch64HotSpotVMConfig.java - create mode 100644 src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/loongarch64/package-info.java - create mode 100644 src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/LoongArch64.java - create mode 100644 src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/LoongArch64Kind.java - create mode 100644 src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/loongarch64/package-info.java - create mode 100644 test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/loongarch64/LoongArch64TestAssembler.java + LoongArch Support diff --git a/make/autoconf/jvm-features.m4 b/make/autoconf/jvm-features.m4 index aa99b037b..d0c3a8575 100644 @@ -114903,7 +114330,7 @@ index b45f432da..02bec17dd 100644 } diff --git a/src/hotspot/share/asm/codeBuffer.cpp b/src/hotspot/share/asm/codeBuffer.cpp -index 0012152d4..e3660cab2 100644 +index 2d219121c..dee7ba8dc 100644 --- a/src/hotspot/share/asm/codeBuffer.cpp +++ b/src/hotspot/share/asm/codeBuffer.cpp @@ -22,6 +22,12 @@ @@ -114919,7 +114346,7 @@ index 0012152d4..e3660cab2 100644 #include "precompiled.hpp" #include "asm/codeBuffer.hpp" #include "code/oopRecorder.inline.hpp" -@@ -330,6 +336,7 @@ void CodeSection::relocate(address at, RelocationHolder const& spec, int format) +@@ -331,6 +337,7 @@ void CodeSection::relocate(address at, RelocationHolder const& spec, int format) assert(rtype == relocInfo::none || rtype == relocInfo::runtime_call_type || rtype == relocInfo::internal_word_type|| @@ -114928,22 +114355,22 @@ index 0012152d4..e3660cab2 100644 rtype == relocInfo::external_word_type, "code needs relocation information"); diff --git a/src/hotspot/share/c1/c1_Compiler.cpp b/src/hotspot/share/c1/c1_Compiler.cpp -index de173c64a..df93c01d8 100644 +index de173c64a..6ca879d46 100644 --- a/src/hotspot/share/c1/c1_Compiler.cpp +++ b/src/hotspot/share/c1/c1_Compiler.cpp -@@ -43,6 +43,12 @@ - #include "utilities/bitMap.inline.hpp" - #include "utilities/macros.hpp" +@@ -22,6 +22,12 @@ + * + */ +/* -+ * This file has been modified by Loongson Technology in 2022, These -+ * modifications are Copyright (c) 2022, Loongson Technology, and are made ++ * This file has been modified by Loongson Technology in 2025, These ++ * modifications are Copyright (c) 2022, 2025, Loongson Technology, and are made + * available on the same license terms set forth above. + */ + - - Compiler::Compiler() : AbstractCompiler(compiler_c1) { - } + #include "precompiled.hpp" + #include "c1/c1_Compilation.hpp" + #include "c1/c1_Compiler.hpp" @@ -212,7 +218,7 @@ bool Compiler::is_intrinsic_supported(const methodHandle& method) { case vmIntrinsics::_updateCRC32: case vmIntrinsics::_updateBytesCRC32: @@ -115413,22 +114840,22 @@ index c82baa15f..84c34db49 100644 LIR_Opr cmp_opr1 = LIR_OprFact::illegalOpr, LIR_Opr cmp_opr2 = LIR_OprFact::illegalOpr); #else diff --git a/src/hotspot/share/c1/c1_LinearScan.cpp b/src/hotspot/share/c1/c1_LinearScan.cpp -index d3d38d11a..6947406b2 100644 +index d3d38d11a..7f1978a15 100644 --- a/src/hotspot/share/c1/c1_LinearScan.cpp +++ b/src/hotspot/share/c1/c1_LinearScan.cpp -@@ -35,6 +35,12 @@ - #include "runtime/timerTrace.hpp" - #include "utilities/bitMap.inline.hpp" +@@ -22,6 +22,12 @@ + * + */ +/* -+ * This file has been modified by Loongson Technology in 2023, These -+ * modifications are Copyright (c) 2022, 2023, Loongson Technology, and are made ++ * This file has been modified by Loongson Technology in 2025, These ++ * modifications are Copyright (c) 2022, 2025, Loongson Technology, and are made + * available on the same license terms set forth above. + */ + - #ifndef PRODUCT - - static LinearScanStatistic _stat_before_alloc; + #include "precompiled.hpp" + #include "c1/c1_CFGPrinter.hpp" + #include "c1/c1_CodeStubs.hpp" @@ -1240,7 +1246,7 @@ void LinearScan::add_register_hints(LIR_Op* op) { break; } @@ -116420,7 +115847,7 @@ index 33ecfe089..4d024b357 100644 #define COMPILER_HEADER(basename) XSTR(COMPILER_HEADER_STEM(basename).hpp) #define COMPILER_HEADER_INLINE(basename) XSTR(COMPILER_HEADER_STEM(basename).inline.hpp) diff --git a/src/jdk.hotspot.agent/linux/native/libsaproc/LinuxDebuggerLocal.cpp b/src/jdk.hotspot.agent/linux/native/libsaproc/LinuxDebuggerLocal.cpp -index 9accba375..200bb1e82 100644 +index 04d8e6b46..631a81ba3 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 @@ @@ -116457,7 +115884,7 @@ index 9accba375..200bb1e82 100644 extern "C" JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLocal_getThreadIntegerRegisterSet0 (JNIEnv *env, jobject this_obj, jint lwp_id) { -@@ -447,6 +458,9 @@ JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo +@@ -446,6 +457,9 @@ JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo #ifdef riscv64 #define NPRGREG sun_jvm_hotspot_debugger_riscv64_RISCV64ThreadContext_NPRGREG #endif @@ -116467,7 +115894,7 @@ index 9accba375..200bb1e82 100644 #if defined(ppc64) || defined(ppc64le) #define NPRGREG sun_jvm_hotspot_debugger_ppc64_PPC64ThreadContext_NPRGREG #endif -@@ -561,6 +575,18 @@ JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo +@@ -560,6 +574,18 @@ JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo #endif /* riscv64 */ @@ -122811,7 +122238,7 @@ index e78e200ac..2b9fcc0ff 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 2e2e16e65..64b42446e 100644 +index 4f5b61a1f..d094ababf 100644 --- a/test/lib/jdk/test/lib/Platform.java +++ b/test/lib/jdk/test/lib/Platform.java @@ -21,6 +21,12 @@ @@ -122827,7 +122254,7 @@ index 2e2e16e65..64b42446e 100644 package jdk.test.lib; import java.io.BufferedReader; -@@ -234,6 +240,14 @@ public class Platform { +@@ -235,6 +241,14 @@ public class Platform { return isArch("(i386)|(x86(?!_64))"); } @@ -122842,6 +122269,3 @@ index 2e2e16e65..64b42446e 100644 public static String getOsArch() { return osArch; } --- -2.43.0 - diff --git a/openjdk-17.spec b/openjdk-17.spec index 9342330..a69d2a1 100644 --- a/openjdk-17.spec +++ b/openjdk-17.spec @@ -920,7 +920,7 @@ Provides: java-src%{?1} = %{epoch}:%{version}-%{release} Name: java-%{javaver}-%{origin} Version: %{newjavaver}.%{buildver} -Release: 2 +Release: 3 # 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 @@ -1995,6 +1995,9 @@ cjc.mainProgram(args) -- the returns from copy_jdk_configs.lua should not affect %changelog +* Thu May 8 2025 panxuefeng - 1:17.0.15.6-3 +- upgrade LoongArch64 port to 17.0.15 + * Tue Apr 29 2025 wulongyao - 1:17.0.15.6-2 - add 8352716-tz-Update-Timezone-Data-to-2025b.patch -- Gitee