925 Commits

Author SHA1 Message Date
David Holmes
a3cd6a1a70 8188764: Obsolete AssumeMP and then remove all support for non-MP builds
Reviewed-by: mikael, mdoerr, bulasevich, eosterlund
2018-10-03 03:41:57 -04:00
Sandhya Viswanathan
b0ea3a49d2 8211251: Default mask register for avx512 instructions
Encode AVX 512 instructions as unmasked instruction where mask register is not specified.

Reviewed-by: kvn
2018-10-01 11:54:34 -07:00
Pengfei Li
21af2af13e 8211333: AArch64: Fix another build failure after JDK-8211029
Reviewed-by: shade, aph
2018-10-01 12:29:47 -04:00
Roman Kennke
f7b890ae5f 8211241: Missing obj equals in TemplateTable::fast_aldc
Reviewed-by: dcubed, coleenp
2018-10-01 16:34:22 +02:00
Lutz Schmidt
56e6f2cc1b 8211145: [ppc] [s390]: Build fails due to -Werror=switch (introduced with JDK-8211029)
Reviewed-by: shade, simonis
2018-10-01 12:07:15 +02:00
Andrew Haley
08e1f72237 Merge 2018-10-01 09:56:45 +01:00
Aleksey Shipilev
feca06a183 8211274: x86_32 build failures after JDK-8211029 (Have a common set of enabled warnings for all native libraries)
Reviewed-by: dholmes, tschatzl
2018-09-28 18:28:49 +02:00
Aleksey Shipilev
e2baf30529 8211272: x86_32 build failures after JDK-8210764 (Update avx512 implementation)
Reviewed-by: rkennke, kvn
2018-09-28 18:28:48 +02:00
Aleksei Voitylov
52780f275c 8211212: ARM: -Werror=switch build failure
Reviewed-by: shade
2018-09-28 15:39:31 +03:00
Andrew Haley
08828a5a4f 8211170: AArch64: Warnings in C1 and template interpreter
Reviewed-by: adinn
2018-09-26 18:11:00 +01:00
Pengfei Li
f10ce48bc6 8210413: AArch64: Optimize div/rem by constant in C1
Remove div-by-zero check for non-zero divisor and generate cheap instructions if divisor is power-of-2

Reviewed-by: aph
2018-09-26 06:26:54 +08:00
Roman Kennke
001dbe273b 8211061: Tests fail with assert(VM_Version::supports_sse4_1()) on ThreadRipper CPU
Reviewed-by: thartmann, roland
2018-09-25 16:41:25 +02:00
Andrey Petushkov
f32e401b0d 8211064: [AArch64] Interpreter and c1 don't correctly handle jboolean results in native calls
Reviewed-by: aph
2018-09-24 18:19:46 +01:00
Sandhya Viswanathan
092fe55fb1 8210764: Update avx512 implementation
Reviewed-by: kvn
2018-09-24 16:37:28 -07:00
Aleksei Voitylov
94679309a4 8209697: ARM: Explicit barriers for C1/assembler
Reviewed-by: dsamersoff
2018-09-24 16:54:42 +03:00
Aleksei Voitylov
6c596e1c31 8209695: ARM: Explicit barriers for interpreter
Reviewed-by: dsamersoff
2018-09-24 16:52:12 +03:00
Aleksei Voitylov
973f70c6d2 8210466: Modularize allocations in assembler
Reviewed-by: rkennke, dsamersoff
2018-09-24 16:44:24 +03:00
Aleksei Voitylov
5fa8dfe0f8 8210465: ARM: Object equals abstraction for BarrierSetAssembler
Reviewed-by: rkennke, dsamersoff
2018-09-24 16:39:02 +03:00
Coleen Phillimore
92575fc3f0 8202201: All oop stores in the x64 interpreter are treated as volatile when using G1
Ran out of registers, generated volatile and non-volatile branches.

Reviewed-by: eosterlund, dholmes
2018-09-20 08:11:21 -04:00
Coleen Phillimore
cba1e9458b 8203466: intermittent crash at jdk.internal.misc.Unsafe::getObjectVolatile (native)
Store rsi, rdi on thread local memory, store r15 in r9, for the stubs that have gc barriers

Reviewed-by: dlong, eosterlund
2018-09-18 08:27:01 -04:00
Michihiro Horie
d70db363eb 8210660: PPC64: Mapping floating point registers to vsx registers in ppc.ad
Reviewed-by: mdoerr, gromero
2018-09-17 23:35:00 -04:00
Mikael Vidstedt
12bac3a02d 8210676: Remove some unused Label variables
Reviewed-by: kvn, dholmes, njian, aph
2018-09-14 22:35:44 -07:00
Dmitrij Pochepko
8eb4ba001c 8210461: AArch64: Math.cos intrinsic gives incorrect results
Reviewed-by: aph
2018-09-14 14:24:00 +03:00
Michihiro Horie
f263f6113e 8208171: PPC64: Enrich SLP support
Reviewed-by: mdoerr, gromero
2018-09-12 14:24:17 +02:00
Martin Doerr
63abf144aa 8210497: [PPC64] Vector registers not saved across safepoint
Reviewed-by: goetz, lucy
2018-09-12 12:54:16 +02:00
Andrew Dinn
ef320b7a99 8210578: AArch64: Invalid encoding for fmlsvs instruction
Sub_op code for fmslvs should be 1 not 0

Reviewed-by: roland
2018-09-12 09:12:42 +01:00
Lutz Schmidt
d36dddddab 8210319: [s390]: Use of shift operators not covered by cpp standard
Reviewed-by: mdoerr, goetz
2018-09-10 16:40:59 +02:00
Mikael Vidstedt
0f68e5221f 8210381: Obsolete EmitSync
Reviewed-by: kvn, dcubed, mdoerr, mbaesken, shade
2018-09-06 18:06:24 -07:00
Vladimir Kozlov
6f8114227c 8209594: guarantee(this->is8bit(imm8)) failed: Short forward jump exceeds 8-bit offset
Replace short jumps and fix other issues when generated code exceed expected range.

Reviewed-by: dlong, rasbold
2018-09-04 12:44:02 -07:00
Gustavo Romero
e8b551eac9 8210320: PPC64: Fix uninitialized variable in C1 LIR assembler code
Reviewed-by: mbaesken, shade, mdoerr
2018-09-04 11:46:23 -04:00
Aleksey Shipilev
aee7d4f600 8210357: Zero builds fail after JDK-8207343 (Automate vtable/itable stub size calculation)
Reviewed-by: thartmann
2018-09-04 13:19:38 +02:00
Boris Ulasevich
d2e84521c0 8209408: Primitive heap access for interpreter BarrierSetAssembler/arm32
Reviewed-by: rkennke
2018-09-03 13:42:58 +03:00
Aleksei Voitylov
bf7cd96146 8207247: AARCH64: Enable Minimal and Client VM builds
Reviewed-by: aph
2018-09-03 13:39:35 +03:00
Lutz Schmidt
f36874335d 8207343: Automate vtable/itable stub size calculation
Reviewed-by: kvn, mdoerr
2018-09-03 09:43:08 +02:00
Jesper Wilhelmsson
d40735db17 Merge 2018-08-29 19:48:28 +02:00
Gunter Haug
00eb34a943 8209996: [PPC64] Fix JFR profiling
Reviewed-by: mdoerr, simonis
2018-08-28 14:55:06 +02:00
Ge Guo
538ba1fb5c 8207838: AArch64: Float registers incorrectly restored in JNI call
Fix the order in which float registers are restored in restore_args for aarch64

Reviewed-by: aph
2018-08-21 13:44:59 +01:00
Volker Simonis
ea4f2f60d5 8209637: [s390x] Interpreter doesn't call result handler after native calls
Reviewed-by: goetz, lucy
2018-08-21 09:25:06 +02:00
Vladimir Kozlov
789b608995 8209735: Disable avx512 by default
Reviewed-by: iveresov, ecaspole
2018-08-20 15:10:20 -07:00
Vivek Deshpande
4248ac828c 8207746: C2: Lucene crashes on AVX512 instruction
Replace add/sub instructions which affect flags with lea instruction.

Reviewed-by: kvn, thartmann
2018-08-15 00:48:12 -07:00
Dmitry Samersoff
c57cfe6d14 8207046: arm32 vm crash: C1 arm32 platform functions parameters type mismatch
Fixed unexpected parameter location in arm32 LIR_Assembler

Reviewed-by: dsamersoff, kvn
2018-07-31 21:23:56 +03:00
Gunter Haug
0ec91d3125 8207392: [PPC64] Implement JFR profiling
Reviewed-by: simonis, goetz
2018-07-24 12:57:40 +02:00
Jean Christophe Beyler
39cd4bdd52 8207252: C1 still does eden allocations when TLAB is enabled
Only do eden allocations when TLAB is disabled

Reviewed-by: kbarrett, jrose, tschatzl, iveresov
2018-07-22 20:00:39 -07:00
Boris Ulasevich
11ff09b63b 8207584: ARM32: ShouldNotReachHere assertion on Test8168712 jtreg test
Reviewed-by: shade
2018-07-19 21:46:52 +03:00
Per Lidén
14443eec10 8209883: ZGC: Compile without C1 broken
Reviewed-by: eosterlund, shade
2018-08-23 14:31:27 +02:00
Dean Long
2406a52bd6 8209651: better TLS poll for x64 C2
Reviewed-by: kvn
2018-08-22 13:53:48 -07:00
Pengfei Li
aafb128d89 8209783: AArch64: Combine Multiply and Neg operations in C2
Generate mneg instructions for a*(-b) or (-a)*b to save one instruction

Reviewed-by: adinn
2018-08-22 16:06:51 +01:00
Roman Kennke
83d1dd7d9a 8209667: Explicit barriers for C1/LIR
Reviewed-by: eosterlund, roland
2018-08-19 20:00:57 +02:00
Roland Westrelin
f3e518394b 8209420: Track membars for volatile accesses so they can be properly optimized
Reviewed-by: adinn, aph, thartmann
2018-08-14 16:54:47 +02:00
Roman Kennke
f6bcc38500 8209668: Explicit barriers for C1/assembler
Reviewed-by: roland, eosterlund
2018-08-21 13:12:15 +02:00