Skip to content

Commit

Permalink
Update (2023.12.08)
Browse files Browse the repository at this point in the history
32163: The size of is_wide_vector should be greater than 8 bytes
  • Loading branch information
loongson-jvm authored Dec 8, 2023
1 parent 6d17df1 commit fb43c70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/cpu/loongarch/sharedRuntime_loongarch_64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,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;
}

size_t SharedRuntime::trampoline_size() {
Expand Down

0 comments on commit fb43c70

Please sign in to comment.