Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.
/ lanai Public archive

Commit 555641e

Browse files
committedJan 7, 2021
Merge
2 parents 2659bc4 + 4f914e2 commit 555641e

File tree

68 files changed

+815
-2206
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+815
-2206
lines changed
 

‎make/jdk/src/classes/build/tools/cldrconverter/CopyrightHeaders.java

+9-13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2012, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -41,14 +41,13 @@ class CopyrightHeaders {
4141
" * Copyright (c) 2012, %d, Oracle and/or its affiliates. All rights reserved.\n" +
4242
" */\n";
4343

44-
// Last updated: - 6/06/2016, 1:42:31 PM
44+
// Last updated: - 1/04/2021
4545
private static final String UNICODE =
4646
"/*\n" +
4747
" * COPYRIGHT AND PERMISSION NOTICE\n" +
4848
" *\n" +
49-
" * Copyright (C) 1991-2016 Unicode, Inc. All rights reserved.\n" +
50-
" * Distributed under the Terms of Use in \n" +
51-
" * http://www.unicode.org/copyright.html.\n" +
49+
" * Copyright (c) 1991-2020 Unicode, Inc. All rights reserved.\n" +
50+
" * Distributed under the Terms of Use in https://www.unicode.org/copyright.html.\n" +
5251
" *\n" +
5352
" * Permission is hereby granted, free of charge, to any person obtaining\n" +
5453
" * a copy of the Unicode data files and any associated documentation\n" +
@@ -57,14 +56,11 @@ class CopyrightHeaders {
5756
" * without restriction, including without limitation the rights to use,\n" +
5857
" * copy, modify, merge, publish, distribute, and/or sell copies of\n" +
5958
" * the Data Files or Software, and to permit persons to whom the Data Files\n" +
60-
" * or Software are furnished to do so, provided that\n" +
61-
" * (a) this copyright and permission notice appear with all copies \n" +
62-
" * of the Data Files or Software,\n" +
63-
" * (b) this copyright and permission notice appear in associated \n" +
64-
" * documentation, and\n" +
65-
" * (c) there is clear notice in each modified Data File or in the Software\n" +
66-
" * as well as in the documentation associated with the Data File(s) or\n" +
67-
" * Software that the data or software has been modified.\n" +
59+
" * or Software are furnished to do so, provided that either\n" +
60+
" * (a) this copyright and permission notice appear with all copies\n" +
61+
" * of the Data Files or Software, or\n" +
62+
" * (b) this copyright and permission notice appear in associated\n" +
63+
" * Documentation.\n" +
6864
" *\n" +
6965
" * THE DATA FILES AND SOFTWARE ARE PROVIDED \"AS IS\", WITHOUT WARRANTY OF\n" +
7066
" * ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE\n" +

‎src/hotspot/cpu/x86/sharedRuntime_x86_32.cpp

+7-6
Original file line numberDiff line numberDiff line change
@@ -315,18 +315,19 @@ void RegisterSaver::restore_live_registers(MacroAssembler* masm, bool restore_ve
315315
}
316316

317317
if (restore_vectors) {
318+
off = additional_frame_bytes - ymm_bytes;
319+
// Restore upper half of YMM registers.
320+
for (int n = 0; n < num_xmm_regs; n++) {
321+
__ vinsertf128_high(as_XMMRegister(n), Address(rsp, n*16+off));
322+
}
323+
318324
if (UseAVX > 2) {
319325
// Restore upper half of ZMM registers.
320326
for (int n = 0; n < num_xmm_regs; n++) {
321327
__ vinsertf64x4_high(as_XMMRegister(n), Address(rsp, n*32));
322328
}
323-
__ addptr(rsp, zmm_bytes);
324-
}
325-
// Restore upper half of YMM registers.
326-
for (int n = 0; n < num_xmm_regs; n++) {
327-
__ vinsertf128_high(as_XMMRegister(n), Address(rsp, n*16));
328329
}
329-
__ addptr(rsp, ymm_bytes);
330+
__ addptr(rsp, additional_frame_bytes);
330331
}
331332

332333
__ pop_FPU_state();

0 commit comments

Comments
 (0)