Commit Graph

52 Commits

Author SHA1 Message Date
Daniel Lundén
7d4c3fd091 8331295: C2: Do not clone address computations that are indirect memory input to at least one load/store
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Reviewed-by: thartmann, chagedorn
2024-11-20 15:37:43 +00:00
Roland Westrelin
5381f553ad 8333258: C2: high memory usage in PhaseCFG::insert_anti_dependences()
Reviewed-by: kvn, epeter
2024-09-18 07:07:45 +00:00
Tobias Hartmann
d3bf52628e 8331518: Tests should not use the "Classpath" exception form of the legal header
Reviewed-by: dholmes
2024-05-02 07:49:12 +00:00
vamsi-parasa
7e5ef79f95 8323116: [REDO] Computational test more than 2x slower when AVX instructions are used
Reviewed-by: sviswanathan, kvn
2024-04-08 18:41:32 +00:00
Tobias Holenstein
f5cbe53fdd 8027711: Unify wildcarding syntax for CompileCommand and CompileOnly
Reviewed-by: kvn, thartmann, chagedorn
2023-06-12 07:39:23 +00:00
Lutz Schmidt
e144783eb2 8299817: [s390] AES-CTR mode intrinsic fails with multiple short update() calls
Reviewed-by: mbaesken, mdoerr
2023-02-28 12:52:00 +00:00
Emanuel Peter
16a4f02f2d 8302150: Speed up compiler/codegen/Test7100757.java
Reviewed-by: kvn, thartmann
2023-02-21 07:16:51 +00:00
AJ Ferguson
9d76ac8a44 8292158: AES-CTR cipher state corruption with AVX-512
Reviewed-by: kvn, svkamath, sviswanathan
2022-09-28 00:12:23 +00:00
Coleen Phillimore
0c37008917 8275662: remove test/lib/sun/hotspot
Reviewed-by: mseledtsov, sspitsyn, lmesnik
2022-07-11 13:07:03 +00:00
Coleen Phillimore
e7795851d2 8271707: migrate tests to use jdk.test.whitebox.WhiteBox
Reviewed-by: lmesnik, dholmes
2022-07-08 15:55:14 +00:00
Jesper Wilhelmsson
86dc760f9e Merge 2022-06-28 22:11:23 +00:00
Dean Long
b4490386fe 8288445: AArch64: C2 compilation fails with guarantee(!true || (true && (shift != 0))) failed: impossible encoding
Reviewed-by: thartmann, haosun, njian
2022-06-28 03:12:12 +00:00
Fei Gao
a1795901ee 8283091: Support type conversion between different data sizes in SLP
Reviewed-by: kvn, sviswanathan
2022-06-16 02:40:59 +00:00
Fei Gao
df7fba1cda 8284981: Support the vectorization of some counting-down loops in SLP
Reviewed-by: roland, kvn
2022-04-30 07:39:16 +00:00
Fei Gao
e572a525f5 8280511: AArch64: Combine shift and negate to a single instruction
Reviewed-by: njian, ngasson
2022-04-08 01:25:13 +00:00
Xin Liu
288d1afc5a 8282715: typo compileony in test Test8005033.java
Reviewed-by: jiefu, dholmes, thartmann
2022-03-08 17:33:15 +00:00
Matteo Baccan
ccad39237a 8282657: Code cleanup: removing double semicolons at the end of lines
Reviewed-by: lancea, rriggs, ihse, prr, iris, wetmore, darcy, dholmes
2022-03-07 21:33:40 +00:00
Fei Gao
81938001f9 8274179: AArch64: Support SVE operations with encodable immediates
Reviewed-by: aph, ngasson
2021-11-18 02:41:27 +00:00
Faye Gao
9aa30de4bb 8275317: AArch64: Support some type conversion vectorization in SLP
Reviewed-by: thartmann, ngasson
2021-11-17 08:19:46 +00:00
Claes Redestad
aaa36cc006 8274242: Implement fast-path for ASCII-compatible CharsetEncoders on x86
Reviewed-by: naoto, thartmann
2021-09-29 12:58:14 +00:00
Smita Kamath
13e9ea9e92 8273297: AES/GCM non-AVX512+VAES CPUs suffer after 8267125
Reviewed-by: ascarpino, sviswanathan, aph
2021-09-24 19:21:32 +00:00
Smita Kamath
0e7288ffbf 8267125: AES Galois CounterMode (GCM) interleaved implementation using AVX512 + VAES instructions
Co-authored-by: Smita Kamath <svkamath@openjdk.org>
Co-authored-by: Tomasz Kantecki <tomasz.kantecki@intel.com>
Co-authored-by: Anthony Scarpino <ascarpino@openjdk.org>
Reviewed-by: kvn, valeriep
2021-08-24 18:48:31 +00:00
Christoph Göttschkes
561a3a5077 8269129: Multiple tier1 tests in hotspot/jtreg/compiler are failing for client VMs
Reviewed-by: kvn, iveresov
2021-06-27 13:12:51 +00:00
Christoph Göttschkes
cbec37d45d 8269029: compiler/codegen/TestCharVect2.java fails for client VMs
Reviewed-by: kvn, jiefu
2021-06-21 11:08:33 +00:00
Hui Shi
011f6d13ab 8264223: CodeHeap::verify fails extra_hops assertion in fastdebug test
Reviewed-by: lucy, shade
2021-04-01 10:43:45 +00:00
Jamsheed Mohammed C M
ff52f2989f 8260716: Assert in MacroAssembler::clear_mem with -XX:-IdealizeClearArrayNode
Reviewed-by: kvn, thartmann
2021-03-18 09:22:17 +00:00
Marcus G K Williams
4f4ca0e705 8261671: X86 I2L conversion can be skipped for certain masked positive values
Reviewed-by: kvn, neliasso, vlivanov
2021-03-17 16:19:06 +00:00
Igor Ignatyev
a7aba2b61c 8263549: 8263412 can cause jtreg testlibrary split
Reviewed-by: iklam, dcubed
2021-03-13 14:51:53 +00:00
Roberto Castañeda Lozano
f353fcf256 8258894: C2: Forbid GCM to move stores into loops
Prevent GCM from placing memory-writing nodes (such as stores) into loops deeper
than their home loop (determined by their control input). Such placements are
invalid, as they cause memory definitions to interfere, and risk causing
miscompilations. This change complements JDK-8255763, which only addresses
invalid placements in irreducible CFGs.

Add control input to stores in generated stubs to ensure that all memory-writing
nodes have control inputs from which their home block can be derived.

Add a battery of simplified fuzzer test cases where, before this change, GCM
moves stores into deeper loops.

Reviewed-by: thartmann, kvn
2021-01-27 15:08:39 +00:00
Roberto Castañeda Lozano
4e8338eb13 8255763: C2: OSR miscompilation caused by invalid memory instruction placement
Disable GCM hoisting of memory-writing nodes for irreducible CFGs. This prevents
GCM from wrongly "hoisting" stores into descendants of their original loop. Such
an "inverted hoisting" can happen due to CFGLoop::compute_freq()'s inaccurate
estimation of frequencies for irreducible CFGs.

Extend CFG verification code by checking that memory-writing nodes are placed in
either their original loop or an ancestor.

Add tests for the reducible and irreducible cases. The former was already
handled correctly before the change (the frequency estimation model prevents
"inverted hoisting" for reducible CFGs), and is just added for coverage.

This change addresses the specific miscompilation issue in a conservative way,
for simplicity and safety. Future work includes investigating if only the
illegal blocks can be discarded as candidates for GCM hoisting, and refining
frequency estimation for irreducible CFGs.

Reviewed-by: kvn, chagedorn
2020-12-21 13:04:24 +00:00
Nils Eliasson
7320e051ea 8258647: TestCharVect2 is very slow
Reviewed-by: vlivanov, kvn
2020-12-17 22:43:00 +00:00
Igor Ignatyev
4a4003e900 8249678: @ignore should be used instead of ProblemList for 8158860, 8163894, 8193479, 8194310
Reviewed-by: kvn
2020-07-17 11:54:14 -07:00
Igor Ignatyev
dc91b06661 8244614: cleanup keywords used/available in hotspot testbase
Reviewed-by: coleenp, mseledtsov
2020-06-08 21:27:22 -07:00
Mikael Vidstedt
071bd521bc 8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Igor Ignatyev
70e632d5ec 8243935: remove copying of s.h.WB$WhiteBoxPermission in hotspot tests
Reviewed-by: dholmes, stefank
2020-04-28 19:57:02 -07:00
Igor Ignatyev
7c351405c4 8242310: use reproducible random in hotspot compiler tests
Reviewed-by: kvn, thartmann
2020-04-08 22:58:42 -07:00
Tobias Hartmann
ca85500615 8240905: assert(mem == (Node*)1 || mem == mem2) failed: multiple Memories being matched at once?
Stop recursion if there are multiple loads with different memory inputs in the tree.

Reviewed-by: kvn, vlivanov
2020-03-24 17:39:52 +01:00
Christoph Göttschkes
6a99789fd5 8231954: Test compiler/codegen/TestCharVect2.java only works with server VMs
Reviewed-by: iignatyev, kvn
2019-11-15 11:05:03 +01:00
Pengfei Li
ec56d9aaf0 8232591: AArch64: Add missing match rules for smaddl, smsubl and smnegl
Reviewed-by: aph
2019-10-30 09:17:36 +08:00
Valerie Peng
c720219beb 8228668: compiler/codegen/aes/TestAESMain.java failed with GCM mode must be used with NoPadding
Updated test to use NoPadding as default if the mode is one of GCM, CTR and CTS

Reviewed-by: xuelei
2019-07-29 20:18:43 +00:00
Volker Simonis
6efb59fad7 8221483: TestOopCmp.java fails due to "Multiple garbage collectors selected"
Reviewed-by: kvn, mdoerr
2019-03-26 18:42:10 +01:00
Volker Simonis
f9c08cc6fb 8221083: [ppc64] Wrong oop compare in C1-generated code
Reviewed-by: mdoerr, goetz
2019-03-26 11:51:41 +01:00
Igor Ignatyev
8fb834a4bf 8219139: move hotspot tests from test/jdk/vm
Reviewed-by: dholmes, mseledtsov
2019-03-14 19:37:17 -07:00
Fairoz Matte
3e71e62ff6 8219513: compiler/codegen/aes/TestCipherBlockChainingEncrypt.java timeout on Solaris-sparc
Reviewed-by: kvn, iignatyev
2019-03-01 04:34:28 -08:00
Fairoz Matte
7f57d05d73 8209951: Problematic sparc intrinsic: com.sun.crypto.provider.CipherBlockChaining
Reviewed-by: kvn, thartmann
2019-01-31 04:49:46 -08:00
Yang Zhang
dd6344fc76 8213134: AArch64: vector shift failed with MaxVectorSize=8
Add vshiftcnt instructions for vector64 and add vsra/vsrl instructions to AArch64 backend. To detect shift failures, MaxVectorSize options are added to jtreg test cases.

Reviewed-by: aph, kvn
2018-11-28 16:22:03 +08:00
Tobias Hartmann
21f57051c4 8212553: [TESTBUG] TestTrichotomyExpressions.java times out with Graal as JIT
Removed -Xcomp and increased timeout.

Reviewed-by: kvn
2018-10-18 17:50:49 +02:00
Tobias Hartmann
6b83ac96ab 8210215: C2 should optimize trichotomy calculations
Ideal transformation to optimize trichotomic comparisons.

Reviewed-by: kvn, jrose
2018-10-16 14:17:19 +02:00
Vladimir Kozlov
4729c903c6 8207153: Some intrinsic tests take long time to run
Reviewed-by: thartmann, mikael
2018-08-13 13:24:55 -07:00
Stefan Karlsson
ad35b3d424 8204168: Increase small heap sizes in tests to accommodate ZGC
Reviewed-by: pliden, ehelin
2018-06-05 15:56:21 +02:00