203 Commits

Author SHA1 Message Date
Jatin Bhateja
c2ec1085e1 8217561: X86: Add floating-point Math.min/max intrinsics
Implementation taking care of +/-0.0 and NaN which uses a specific pattern for reductions

Reviewed-by: aph, kvn, neliasso, sviswanathan, adinn
2019-03-07 15:27:42 +01:00
Ralf Schmelter
058e382d87 8219712: code_size2 (defined in stub_routines_x86.hpp) is too small on new Skylake CPUs
Reviewed-by: mbaesken, dholmes, kvn
2019-02-26 05:46:02 -08:00
Roman Kennke
55f23fea5c 8219486: Missing reg_mask_init() breaks x86_32 build
Reviewed-by: vlivanov, dlong
2019-02-21 09:48:07 +01:00
Per Lidén
865c33112c 8218767: ZGC: Do not assume that r12 is a special register in C2
Reviewed-by: eosterlund, rkennke
2019-02-20 13:43:28 +01:00
Roman Kennke
28590e9343 8217909: Make unused r12 register (without compressed oops) available to regalloc in C2
Reviewed-by: adinn, dlong, neliasso
2019-02-20 13:01:57 +01:00
Jesper Wilhelmsson
196d73c4ef Merge 2019-02-19 19:04:55 +01:00
Sandhya Viswanathan
9dae227e4f 8219151: Illegal instruction exception on JDK 12 due to incorrect CPU feature bits
Fix wrong CPU feature bits set

Reviewed-by: kvn, neliasso
2019-02-19 08:25:11 -08:00
Lois Foltan
9631b06423 8217998: Remove method_type field associated with the appendix field of an indy or method handle call
Removed the unused method_type field associated with the appendix field of an indy or method handle call.

Reviewed-by: acorn, coleenp, dlong
2019-02-13 15:50:08 -05:00
Per Lidén
7f6d6c8a8c 8217717: ZGC: Broken oop map in C1 load barrier stub
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Reviewed-by: eosterlund, neliasso
2019-01-28 08:58:42 +01:00
Roland Westrelin
6c640e1831 8215483: Off heap memory accesses should be vectorized
Reviewed-by: neliasso, kvn
2018-12-18 09:29:39 +01:00
Sandhya Viswanathan
8af0a60cc5 8217371: Incorrect LP64 guard in x86.ad after JDK-8210764 (Update avx512 implementation)
Reviewed-by: kvn, neliasso, thartmann
2019-01-30 13:47:25 -08:00
Claes Redestad
d589fa875d 8217921: Runtime dead code removal
Reviewed-by: coleenp, sgehwolf, dholmes
2019-01-29 14:43:05 +01:00
Claes Redestad
6a9f775041 8217922: Compiler dead code removal
Reviewed-by: thartmann, neliasso
2019-01-29 14:34:26 +01:00
Per Lidén
667bba8e95 8217856: ZGC: Break out C2 matching rules into separate AD file
Reviewed-by: neliasso, kvn
2019-01-29 10:23:38 +01:00
Per Lidén
6962adcbb1 8217747: ZGC: Minor optimization of ZLoadBarrierStubC1
Reviewed-by: neliasso, eosterlund
2019-01-29 10:23:38 +01:00
Per Lidén
dc07b2bf32 8217745: ZGC: Simplify ZLoadBarrierStubC1
Reviewed-by: neliasso, eosterlund
2019-01-29 10:23:38 +01:00
Jesper Wilhelmsson
e3621e678a Merge 2019-01-28 21:44:57 +01:00
Roman Kennke
d271630fb2 8217016: Shenandoah: Streamline generation of CAS barriers
Reviewed-by: roland
2019-01-26 01:21:33 +01:00
Per Lidén
e8a0007871 8217258: ZGC: Minor cleanup of ZBarrierSetAssembler
Reviewed-by: eosterlund, stefank
2019-01-23 08:55:09 +01:00
Vladimir Ivanov
50e3aa4150 8202952: C2: Unexpected dead nodes after matching
Reviewed-by: kvn
2019-01-22 18:14:14 -08:00
Jesper Wilhelmsson
a8c5f1e59a Merge 2019-01-15 22:54:09 +01:00
Vivek Deshpande
996968d480 8216050: Superword optimization fails with assert(0 <= i && i < _len) failed: illegal index
Fix for the crash by matching the operands by swapping to right positions.

Reviewed-by: thartmann, kvn
2019-01-15 11:19:14 -08:00
Sandhya Viswanathan
e1071d80bd 8215888: Register to register spill may use AVX 512 move instruction on unsupported platform
Reviewed-by: vlivanov, thartmann
2019-01-03 14:55:13 -08:00
Per Lidén
2778c86488 8215547: ZGC: Fix incorrect match rule for loadBarrierWeakSlowRegNoVec
Reviewed-by: eosterlund, neliasso
2018-12-20 11:43:04 +01:00
Coleen Phillimore
154a1a02bf 8216167: Update include guards to reflect correct directories
Use script and some manual fixup to fix directores names in include guards.

Reviewed-by: lfoltan, eosterlund, kbarrett
2019-01-10 15:13:51 -05:00
Nils Eliasson
21d7769353 8216372: ZGC: Put C2 load barrier stub routines in separate codeblobs
Reviewed-by: pliden, eosterlund
2019-01-09 10:19:54 +01:00
Jesper Wilhelmsson
67abf1eef9 Merge 2019-01-08 07:29:13 +01:00
Coleen Phillimore
1509c1ffe1 8215731: Move forward class definitions out of globalDefinitions.hpp
Redistribute the forward declarations to the header files that need them.

Reviewed-by: dholmes, lfoltan
2019-01-04 15:06:01 -05:00
Boris Ulasevich
b38a53de3f 8206107: [x86_32] jck tests for ldc2_w bytecode fail
Reviewed-by: dsamersoff
2018-12-25 18:35:42 +03:00
Aleksey Shipilev
7f21b8e73b 8215353: x86_32 build failures after JDK-8214751 (X86: Support for VNNI Instructions)
Reviewed-by: thartmann, kvn
2018-12-14 12:56:57 +01:00
Aleksey Shipilev
c998ead188 8215354: x86_32 build failures after JDK-8214074 (Ghash optimization using AVX instructions)
Reviewed-by: thartmann
2018-12-13 16:14:07 +01:00
Vivek Deshpande
05e175bf1b 8214751: X86: Support for VNNI Instructions
Co-authored-by: Razvan A Lupusoru <razvan.a.lupusoru@intel.com>
Reviewed-by: kvn
2018-12-12 14:48:34 -08:00
Smita Kamath
3623c99b27 8214074: Ghash optimization using AVX instructions
Reviewed-by: kvn, ascarpino
2018-12-12 12:17:33 -08:00
Roman Kennke
8b62a2ee9d 8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
Co-authored-by: Christine Flood <chf@redhat.com>
Co-authored-by: Aleksey Shipilev <shade@redhat.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Zhenygu Gu <zgu@redhat.com>
Co-authored-by: Andrew Haley <aph@redhat.com>
Co-authored-by: Andrew Dinn <adinn@redhat.com>
Co-authored-by: Mario Torre <mtorre@redhat.com>
Reviewed-by: kvn, roland, shade, coleenp, lmesnik, pliden, jgeorge, ihse, erikj
2018-12-10 15:47:44 +01:00
Roland Westrelin
e530ca5cc2 8214206: Fix for JDK-8213419 is broken on 32-bit
Reviewed-by: mdoerr, shade
2018-11-22 17:25:47 +01:00
Patric Hedlin
2edd37a6ac 8191339: [JVMCI] BigInteger compiler intrinsics on Graal
Reviewed-by: kvn
2017-12-06 13:07:21 +01:00
Bernard Blaser
dc4be9066f 8214027: Reinstate testB_mem_imm pattern in x86_64.ad
Reviewed-by: rkennke
2018-11-18 19:45:33 +01:00
Nils Eliasson
898b4d83c0 8213538: VM crashes when MaxVectorSize is set to 0, 1 or 2
Require MaxVectorSize minimum 4 on 64 bit

Reviewed-by: kvn, thartmann
2018-11-15 09:45:18 +01:00
Roman Kennke
617ccd6b92 8213473: Replace testB_mem_imm matcher with testUB_mem_imm
Reviewed-by: kvn, roland
2018-11-09 10:38:07 +01:00
Roman Kennke
7c3f2b06f1 8213199: GC abstraction for Assembler::needs_explicit_null_check()
Reviewed-by: adinn, eosterlund
2018-11-08 23:31:08 +01:00
Mikael Vidstedt
f69921f2fc 8213436: Obsolete UseMembar
Reviewed-by: kvn, dholmes, mdoerr, adinn
2018-11-08 11:45:13 -08:00
Bernard Blaser
1117fcb339 8213479: Missing x86_64.ad patterns for 8-bit logical operators with destination in memory
Reviewed-by: kvn
2018-11-08 15:11:32 +01:00
Erik Österlund
97d3dc7902 8212681: Refactor IC locking to use a fine grained CompiledICLocker
Reviewed-by: coleenp, rehn, kvn
2018-11-01 14:57:26 +01:00
Aleksey Shipilev
b3d9f93363 8212616: x86_32 build failures after JDK-8210498 (nmethod entry barriers)
Reviewed-by: kvn, eosterlund
2018-10-17 22:42:31 +02:00
Aleksey Shipilev
98fe69f3a2 8212608: Minimal VM build failure after JDK-8210498 (nmethod entry barriers)
Reviewed-by: eosterlund
2018-10-17 18:31:48 +02:00
Erik Österlund
0192c14c9b 8210498: nmethod entry barriers
Reviewed-by: kvn, pliden
2018-10-16 13:18:22 +02:00
David Holmes
55692eb0ca 8211046: Forced data dependencies serve no purpose on x86
Reviewed-by: eosterlund, rehn
2018-10-12 03:51:02 -04:00
Ralf Schmelter
a9f9385ced 8211332: Space for stub routines (code_size2) is too small on new Skylake CPUs
Increase code_size2 for new Skylake CPUs.

Reviewed-by: kvn, stuefe, thartmann
2018-10-10 08:36:31 +02:00
Roman Kennke
e77e2d1df8 8211219: Type inconsistency in LIRGenerator::atomic_cmpxchg(..)
Reviewed-by: eosterlund, iveresov
2018-09-27 13:56:09 +02:00
Aleksey Shipilev
5850a50781 8211375: Minimal VM build failures after JDK-8211251 (Default mask register for avx512 instructions)
Reviewed-by: kvn
2018-10-03 18:46:26 +02:00