From 27819d41602923840f5675b15d42126763c42b81 Mon Sep 17 00:00:00 2001 From: loongson-jvm Date: Fri, 8 Dec 2023 13:18:08 +0800 Subject: [PATCH] Update (2023.12.08) 32653: start of release updates for Loongson OpenJDK 8.1.17 32163: The size of is_wide_vector should be greater than 8 bytes --- common/autoconf/spec.gmk.in | 2 +- hotspot/src/cpu/loongarch/vm/sharedRuntime_loongarch_64.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/autoconf/spec.gmk.in b/common/autoconf/spec.gmk.in index 70d56b331c9..1ffb850e4d9 100644 --- a/common/autoconf/spec.gmk.in +++ b/common/autoconf/spec.gmk.in @@ -231,7 +231,7 @@ BUILDER_NAME:=@BUILDER_NAME@ HOST_NAME:=@HOST_NAME@ # Loongson OpenJDK Version info -VER=8.1.16 +VER=8.1.17 ifeq ($(HOST_NAME), ) HOST_NAME=unknown endif diff --git a/hotspot/src/cpu/loongarch/vm/sharedRuntime_loongarch_64.cpp b/hotspot/src/cpu/loongarch/vm/sharedRuntime_loongarch_64.cpp index 9efcd2ce52a..36786b53bd4 100644 --- a/hotspot/src/cpu/loongarch/vm/sharedRuntime_loongarch_64.cpp +++ b/hotspot/src/cpu/loongarch/vm/sharedRuntime_loongarch_64.cpp @@ -318,9 +318,9 @@ void RegisterSaver::restore_result_registers(MacroAssembler* masm) { } // Is vector's size (in bytes) bigger than a size saved by default? -// 16 bytes XMM registers are saved by default using fxsave/fxrstor instructions. +// 8 bytes registers are saved by default using fld/fst instructions. bool SharedRuntime::is_wide_vector(int size) { - return size > 16; + return size > 8; } // The java_calling_convention describes stack locations as ideal slots on