Christian Hagedorn
a51dd58f38
8240227: Loop predicates should be copied to unswitched loops
...
Copy loop range check predicates to unswitched loops and update their control edges.
Reviewed-by: kvn, neliasso, thartmann, roland
2020-03-19 10:15:28 +01:00
Tobias Hartmann
642d2ddcbc
8235452: Strip mined loop verification fails with assert(is_OuterStripMinedLoop()) failed: invalid node class
...
Do not try to verify strip mining if the strip mined loop is malformed.
Reviewed-by: roland, vlivanov
2019-12-11 10:42:44 +01:00
Patric Hedlin
902858e3ce
8231565: More node budget asserts in fuzzed tests
...
Reviewed-by: neliasso, thartmann
2019-10-23 12:51:53 +02:00
Patric Hedlin
8275b17b07
8229499: Node budget assert in fuzzed test
...
Reviewed-by: thartmann, neliasso
2019-09-12 11:44:51 +02:00
Roland Westrelin
9b81fe37f2
8230470: Shenandoah doesn't need change from JDK-8212610 anymore
...
Reviewed-by: thartmann
2019-09-03 09:28:42 +02:00
Nils Eliasson
75e9d0a290
8224675: Late GC barrier insertion for ZGC
...
Reviewed-by: roland, eosterlund, pliden
2019-02-14 14:54:05 +01:00
Patric Hedlin
d222b01dee
8223363: Bad node estimate assertion failure
...
8223502: Node estimate for loop unswitching is not correct: assert(delta <= 2 * required) failed: Bad node estimate
8224648: assert(!exceeding_node_budget()) failed: Too many NODES required! failure with ctw
Tighten the node estimates. New est_loop_clone_sz() implementation that will compute a "fan-out" complexity estimate as part of the size estimate (to better estimate complex loop body size after cloning). New est_loop_unroll_sz() function, used to estimate the size of a loop body att full/maximal unrolling. Correction to node budget final tests and asserts.
Reviewed-by: neliasso, kvn
2019-05-28 14:56:58 +02:00
Aleksey Shipilev
c6307aec19
8223911: Disable bad node budget verification until the fix
...
Reviewed-by: kvn, thartmann
2019-05-15 11:53:47 +02:00
Patric Hedlin
e08506e683
8216137: assert failed: Live node limit exceeded
...
8219520: assert failed: Live node limit exceeded
Adding simplistic node budget support for loop-transformations. This /should/attempts to/ resolve most cases of: "assert(Compile::current()->live_nodes() < Compile::current()->max_node_limit()) failed: Live Node limit exceeded limit".
Reviewed-by: vlivanov, neliasso
2019-04-17 14:57:53 +02:00
Patric Hedlin
8088ed8317
8223143: Restructure/clean-up for 'loopexit_or_null()'
...
Minor restructure and clean-up for 'loopexit_or_null()' and its use.
Reviewed-by: vlivanov
2019-04-17 14:56:45 +02:00
Patric Hedlin
ceef0f69dc
8223139: Rename mandatory policy-do routines
...
Rename 'policy_do_remove_empty_loop' to 'do_remove_empty_loop', 'policy_do_one_iteration_loop' to 'do_one_iteration_loop'.
Reviewed-by: vlivanov, dl
2019-04-17 14:55:01 +02:00
Patric Hedlin
205085d8d5
8223138: Small clean-up in loop-tree support
...
Rename predicate 'is_inner()' to 'is_innermost()' to be accurate. Added 'is_root()' predicate for root parent test in loop-tree. Changed definition of 'is_loop()' to always lazy-read the tail, since it should never be NULL. Cleanup of 'tail()' definition.
Reviewed-by: vlivanov, neliasso
2019-05-02 11:05:47 +02:00
Patric Hedlin
fcbca82247
8223137: Rename predicate 'do_unroll_only()' to 'is_unroll_only()'
...
Reviewed-by: vlivanov
2019-04-17 14:52:25 +02:00
Roman Kennke
03ab1404f0
8221766: Load-reference barriers for Shenandoah
...
Reviewed-by: kvn, erikj, aph, shade
2019-04-02 23:00:22 +02:00
Vladimir Ivanov
40c61cce4b
8218874: C2: Unsafe to access PhaseIdealLoop outside of constructors
...
Reviewed-by: thartmann, kvn
2019-02-14 15:27:12 -08:00
Jesper Wilhelmsson
a8c5f1e59a
Merge
2019-01-15 22:54:09 +01:00
Patric Hedlin
a17df8d45b
8210392: assert(Compile::current()->live_nodes() < Compile::current()->max_node_limit()) failed: Live Node limit exceeded limit
...
Avoid excessive split-if.
Reviewed-by: thartmann, neliasso
2018-12-18 10:12:28 +01:00
Roland Westrelin
6bbfc1d2a8
8216135: C2 assert(!had_error) failed: bad dominance
...
Reviewed-by: thartmann, kvn
2019-01-14 15:07:22 +01:00
Roland Westrelin
103c8dc608
8215265: C2: range check elimination may allow illegal out of bound access
...
Reviewed-by: thartmann, kvn
2018-12-14 11:22:26 +01:00
Rahul Raghavan
5a6385b363
8211698: Crash in C2 compiled code during execution of double array heavy processing code
...
Correctly registered new Opaque4Node in add_range_check_predicate
Reviewed-by: roland, thartmann
2018-12-18 19:13:54 +05:30
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
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
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
8f4456e77a
8211451: ~2.5% regression on compression benchmark starting with 12-b11
...
Reviewed-by: kvn, thartmann
2018-11-08 10:20:04 +01:00
Roland Westrelin
8e57878e0a
8212610: Fix handling of memory in PhaseIdealLoop::clone_loop_predicates()
...
Reviewed-by: kvn, thartmann
2018-11-05 13:13:29 +01:00
Roland Westrelin
40af989884
8209686: cleanup arguments to PhaseIdealLoop() constructor
...
Reviewed-by: thartmann, kvn, pliden
2018-08-22 10:36:39 +02:00
Thomas Schatzl
e98c176026
8208670: Compiler changes to allow enabling -Wreorder
...
Reviewed-by: kvn
2018-08-08 15:31:06 +02:00
Vivek Deshpande
29cd9fe2ea
8194740: UseSubwordForMaxVector causes performance regression
...
Reviewed-by: kvn, thartmann
2018-07-09 13:25:08 -07:00
Tobias Hartmann
d2f70d7052
8205033: [REDO] Induction variable of over-unrolled loop conflicts with range checks
...
Update skeleton predicates before main loop during unrolling to remove dead code.
Reviewed-by: kvn, roland
2018-06-19 12:25:42 +02:00
Roland Westrelin
97dd8bf743
8203197: C2: consider all paths in loop body for loop predication
...
Reviewed-by: kvn, neliasso
2018-06-19 09:08:39 +02:00
Tobias Hartmann
d01224d43e
8205034: [BACKOUT] Induction variable of over-unrolled loop conflicts with range checks
...
Backout fix for JDK-8203915 because it causes SIGILL failures.
Reviewed-by: shade
2018-06-14 11:22:04 +02:00
Tobias Hartmann
c9c8cc68de
8203915: Induction variable of over-unrolled loop conflicts with range checks
...
Update skeleton predicates before main loop during unrolling to remove dead code.
Reviewed-by: kvn, roland
2018-06-14 09:04:55 +02:00
Per Lidén
e7af7a4aef
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
...
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Coleen Phillimore <coleen.phillimore@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Co-authored-by: Gerard Ziemski <gerard.ziemski@oracle.com>
Co-authored-by: Hugh Wilkinson <hugh.wilkinson@intel.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Co-authored-by: Bill Wheeler <bill.npo.wheeler@intel.com>
Co-authored-by: Vinay K. Awasthi <vinay.k.awasthi@intel.com>
Co-authored-by: Yasumasa Suenaga <yasuenag@gmail.com>
Reviewed-by: pliden, stefank, eosterlund, ehelin, sjohanss, rbackman, coleenp, ihse, jgeorge, lmesnik, rkennke
2018-06-12 17:40:28 +02:00
Erik Österlund
53ec88908c
8202377: Modularize C2 GC barriers
...
Reviewed-by: neliasso, roland
2018-05-18 14:51:06 +02:00
Nils Eliasson
86728689bf
8201532: Update idom to get correct dom depth calculation
...
Assert due to dom depth calculation on old idom
Reviewed-by: roland
2018-05-14 14:10:50 +02:00
Roland Westrelin
98db6d11f3
8193130: Bad graph when unrolled loop bounds conflicts with range checks
...
Reviewed-by: kvn, thartmann
2018-03-22 20:21:19 -07:00
Dean Long
4f496a5786
8194992: Null pointer dereference in MultiNode::proj_out related to loopexit()
...
Reviewed-by: kvn, thartmann
2018-01-18 10:05:32 -08:00
Roland Westrelin
386e258e20
8186027: C2: loop strip mining
...
Reviewed-by: kvn, neliasso
2017-11-28 11:59:16 +01:00
Roland Westrelin
eb10d407d3
8191887: assert(b->is_Bool()) in PhaseIdealLoop::clone_iff() due to Opaque4 node
...
Add special handling for graph shape If->Opaque4->Bool->CmpP
Reviewed-by: kvn
2017-11-27 16:05:11 -08:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00