Commit Graph

1409 Commits

Author SHA1 Message Date
Smita Kamath
073897c88b 8294588: Auto vectorize half precision floating point conversion APIs
Reviewed-by: sviswanathan, kvn, jbhateja, fgao, xgong
2022-12-08 09:46:59 +00:00
Doug Simon
8b69a2e434 8298099: [JVMCI] decouple libgraal from JVMCI module at runtime
Reviewed-by: never
2022-12-07 22:11:11 +00:00
Roland Westrelin
86270e3068 8269820: C2 PhaseIdealLoop::do_unroll get wrong opaque node
Reviewed-by: kvn, thartmann, chagedorn
2022-12-07 14:16:50 +00:00
Yi Yang
acf96c64b7 8290432: C2 compilation fails with assert(node->_last_del == _last) failed: must have deleted the edge just produced
Reviewed-by: kvn, thartmann, chagedorn
2022-12-07 03:08:07 +00:00
Martin Doerr
cd2182a996 8295724: VirtualMachineError: Out of space in CodeCache for method handle intrinsic
Reviewed-by: kvn, dlong
2022-12-06 20:56:48 +00:00
Fei Gao
4458de95f8 8297172: Fix some issues of auto-vectorization of Long.bitCount/numberOfTrailingZeros/numberOfLeadingZeros()
Reviewed-by: kvn, thartmann
2022-12-06 09:35:27 +00:00
Pengfei Li
a61399854a 8297689: Fix incorrect result of Short.reverseBytes() call in loops
Reviewed-by: thartmann, jbhateja
2022-12-06 09:16:47 +00:00
Christian Hagedorn
0bd04a6589 8297951: C2: Create skeleton predicates for all If nodes in loop predication
Reviewed-by: thartmann, kvn
2022-12-06 07:18:44 +00:00
Aleksey Shipilev
eab0ada3a1 8296545: C2 Blackholes should allow load optimizations
Reviewed-by: kvn, vlivanov
2022-12-05 12:00:30 +00:00
Christian Hagedorn
a57392390b 8297264: C2: Cast node is not processed again in CCP and keeps a wrong too narrow type which is later replaced by top
Reviewed-by: thartmann, rcastanedalo, kvn
2022-12-05 07:09:04 +00:00
Feilong Jiang
227364d592 8297953: Fix several C2 IR matching tests for RISC-V
Reviewed-by: fyang, chagedorn
2022-12-02 12:48:42 +00:00
Roland Westrelin
9430f3e65c 8297934: [BACKOUT] Compiler should only use verified interface types for optimization
Reviewed-by: thartmann, kvn
2022-12-01 14:19:28 +00:00
Tobias Hartmann
abe532a89c 8296924: C2: assert(is_valid_AArch64_address(dest.target())) failed: bad address
Co-authored-by: Andrew Haley <aph@openjdk.org>
Reviewed-by: aph, kvn
2022-11-30 06:39:27 +00:00
Bhavana Kilambi
54e6d6aaeb 8293488: Add EOR3 backend rule for aarch64 SHA3 extension
Reviewed-by: haosun, njian, eliu, aturbanov, ngasson
2022-11-29 17:17:15 +00:00
Jamil Nimeh
cd6bebbf34 8247645: ChaCha20 intrinsics
Reviewed-by: sviswanathan, ngasson, vlivanov, ascarpino
2022-11-29 14:40:20 +00:00
Severin Gehwolf
08e6a820bc 8297590: [TESTBUG] HotSpotResolvedJavaFieldTest does not run
Reviewed-by: chagedorn, dnsimon
2022-11-25 16:29:53 +00:00
Zhiqiang Zang
fd910f77bc 8297384: Add IR tests for existing idealizations of arithmetic nodes
Reviewed-by: chagedorn
2022-11-25 08:17:44 +00:00
Roland Westrelin
cfe5a3716e 8297556: Parse::check_interpreter_type fails with assert "must constrain OSR typestate"
Reviewed-by: thartmann, vlivanov
2022-11-25 08:06:14 +00:00
Roland Westrelin
45d1807ad3 6312651: Compiler should only use verified interface types for optimization
Reviewed-by: vlivanov, kvn
2022-11-21 08:47:42 +00:00
Roland Westrelin
761a4f4852 8295788: C2 compilation hits "assert((mode == ControlAroundStripMined && use == sfpt) || !use->is_reachable_from_root()) failed: missed a node"
Reviewed-by: kvn, thartmann
2022-11-18 13:46:01 +00:00
Tobias Hartmann
502fa3eeea 8296912: C2: CreateExNode::Identity fails with assert(i < _max) failed: oob: i=1, _max=1
Reviewed-by: chagedorn, kvn
2022-11-17 07:39:57 +00:00
Tobias Hartmann
cd9c688bfc 8276064: CheckCastPP with raw oop input floats below a safepoint
Reviewed-by: kvn, vlivanov, roland
2022-11-17 05:58:38 +00:00
Fei Gao
cc44419840 8295407: C2 crash: Error: ShouldNotReachHere() in multiple vector tests with -XX:-MonomorphicArrayCheck -XX:-UncommonNullCast
Reviewed-by: thartmann, kvn
2022-11-17 01:39:56 +00:00
Doug Simon
95c390ec75 8296956: [JVMCI] HotSpotResolvedJavaFieldImpl.getIndex returns wrong value
Reviewed-by: thartmann, never
2022-11-16 21:21:04 +00:00
Doug Simon
37848a9ca2 8296967: [JVMCI] rationalize relationship between getCodeSize and getCode in ResolvedJavaMethod
Reviewed-by: never
2022-11-16 20:27:19 +00:00
Doug Simon
4ce4f384d7 8296958: [JVMCI] add API for retrieving ConstantValue attributes
Reviewed-by: never
2022-11-16 19:56:14 +00:00
Joshua Cao
0cbf084b44 8296969: C1: PrintC1Statistics is broken after JDK-8292878
Reviewed-by: chagedorn, kvn, xliu
2022-11-15 21:13:11 +00:00
Roland Westrelin
8c472e4816 8294217: Assertion failure: parsing found no loops but there are some
Reviewed-by: chagedorn, thartmann
2022-11-14 15:08:15 +00:00
Olga Mikhaltsova
277f0c24a2 8296821: compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/NativeCallTest.java fails after JDK-8262901
Reviewed-by: kvn, thartmann
2022-11-14 08:40:11 +00:00
Christian Hagedorn
34d10f19f5 8296243: [IR Framework] Fix issues with IRNode.ALLOC* regexes
Reviewed-by: mdoerr, thartmann
2022-11-14 08:28:41 +00:00
Olga Mikhaltsova
6b456f7a9b 8262901: [macos_aarch64] NativeCallTest expected:<-3.8194101E18> but was:<3.02668882E10>
Reviewed-by: aph
2022-11-10 21:06:15 +00:00
Claes Redestad
d9b25e860b 8296426: x86: Narrow UseAVX and UseSSE flags
Reviewed-by: vlivanov, kvn
2022-11-08 23:41:50 +00:00
Bhavana Kilambi
b49bdaeade 8294816: C2: Math.min/max vectorization miscompilation
Reviewed-by: thartmann, ngasson
2022-11-04 17:22:54 +00:00
Fei Yang
4d1bc1b5ad 8296285: test/hotspot/jtreg/compiler/intrinsics/TestFloatIsFinite.java fails after JDK-8280378
Reviewed-by: jiefu, thartmann, chagedorn
2022-11-04 00:56:47 +00:00
Yi-Fan Tsai
f43bb9feaa 8296190: TestMD5Intrinsics and TestMD5MultiBlockIntrinsics don't test the intrinsics
Reviewed-by: eastigeevich, phh, simonis
2022-11-03 19:26:20 +00:00
Christian Hagedorn
f829b5a73f 8280378: [IR Framework] Support IR matching for different compile phases
Reviewed-by: kvn, rcastanedalo
2022-11-01 15:41:09 +00:00
Vladimir Kozlov
8aa1526b44 8285835: SIGSEGV in PhaseIdealLoop::build_loop_late_post_work
Reviewed-by: roland, vlivanov
2022-10-29 12:32:36 +00:00
bobpengxie
823fd4a9df 8293785: Add a jtreg test for TraceOptoParse
Reviewed-by: chagedorn, jiefu
2022-10-28 13:18:39 +00:00
Jie Fu
754bd53137 8296030: compiler/c2/irTests/TestVectorizeTypeConversion.java fails with release VMs after JDK-8291781
Reviewed-by: chagedorn
2022-10-28 12:46:32 +00:00
Xiaolin Zheng
1fdbb1ba33 8295926: RISC-V: C1: Fix LIRGenerator::do_LibmIntrinsic
Reviewed-by: yadongwang, fyang
2022-10-28 11:56:21 +00:00
SuperCoder79
cf5546b3ac 8291336: Add ideal rule to convert floating point multiply by 2 into addition
Reviewed-by: qamai, thartmann, chagedorn
2022-10-28 10:04:38 +00:00
Fei Gao
4b89fce083 8291781: assert(!is_visited) failed: visit only once with -XX:+SuperWordRTDepCheck
Reviewed-by: thartmann
2022-10-28 07:27:02 +00:00
Igor Veresov
58a7141a0d 8295066: Folding of loads is broken in C2 after JDK-8242115
Reviewed-by: kvn, thartmann
2022-10-26 20:45:26 +00:00
Dean Long
d3eba859f9 8295414: [Aarch64] C2: assert(false) failed: bad AD file
Reviewed-by: kvn, chagedorn, aph
2022-10-20 21:24:36 +00:00
Magnus Ihse Bursie
d5a1521fde 8295470: Update openjdk.java.net => openjdk.org URLs in test code
Reviewed-by: michaelm, prr, darcy
2022-10-20 10:33:18 +00:00
Joshua Cao
f872467d69 8255746: Make PrintCompilation available on a per method level
Reviewed-by: chagedorn, kvn, xliu
2022-10-19 19:40:18 +00:00
Fei Gao
490fcd0c25 8293833: Error mixing types with -XX:+UseCMoveUnconditionally -XX:+UseVectorCmov
Reviewed-by: chagedorn, kvn
2022-10-18 02:00:53 +00:00
Doug Simon
03e63a2b87 8295225: [JVMCI] codeStart should be cleared when entryPoint is cleared
Reviewed-by: never
2022-10-13 08:34:36 +00:00
Xiaohong Gong
ab8c1361bc 8292898: [vectorapi] Unify vector mask cast operation
Co-authored-by: Quan Anh Mai <qamai@openjdk.org>
Reviewed-by: jbhateja, eliu
2022-10-12 01:39:57 +00:00
Jatin Bhateja
2ceb80c60f 8288043: Optimize FP to word/sub-word integral type conversion on X86 AVX2 platforms
Reviewed-by: kvn, sviswanathan
2022-10-12 01:05:44 +00:00
Eric Liu
9d116ec147 8294262: AArch64: compiler/vectorapi/TestReverseByteTransforms.java test failed on SVE machine
Reviewed-by: aph, njian
2022-10-11 01:37:20 +00:00
Jie Fu
6ed74ef654 8295005: compiler/loopopts/TestRemoveEmptyLoop.java fails with release VMs after JDK-8294839
Reviewed-by: chagedorn, epeter
2022-10-10 07:06:51 +00:00
Sacha Coppey
7a194d31a3 8290154: [JVMCI] partially implement JVMCI for RISC-V
Reviewed-by: ihse, dnsimon, yadongwang
2022-10-07 13:09:09 +00:00
Zhiqiang Zang
5dd851d872 8281453: New optimization: convert ~x into -1-x when ~x is used in an arithmetic expression
Reviewed-by: kvn
2022-10-06 22:15:20 +00:00
Emanuel Peter
73f06468ae 8294839: Disable StressLongCountedLoop in compiler/loopopts/TestRemoveEmptyLoop.java
Reviewed-by: thartmann, chagedorn
2022-10-06 10:40:11 +00:00
Roland Westrelin
16047e8308 8292780: misc tests failed "assert(false) failed: graph should be schedulable"
Reviewed-by: dlong, chagedorn, thartmann
2022-10-04 08:34:29 +00:00
Roberto Castañeda Lozano
5fe837a35e 8294236: [IR Framework] CPU preconditions are overriden by regular preconditions
Reviewed-by: chagedorn, pli, kvn
2022-10-03 07:40:53 +00:00
Doug Simon
b8b9b97a1a 8294676: [JVMCI] InstalledCode.deoptimize(false) should not touch address field
Reviewed-by: never
2022-10-01 11:20:46 +00:00
Vladimir Ivanov
c7ab1caafb 8294609: C2: Improve inlining of methods with unloaded signature classes
Reviewed-by: kvn, dlong
2022-09-30 23:30:45 +00:00
Dingli Zhang
7c60e6d2d6 8293770: RISC-V: Reuse runtime call trampolines
Co-authored-by: zifeihan <caogui@iscas.ac.cn>
Reviewed-by: fyang, shade
2022-09-30 07:31:57 +00:00
Aleksei Voitylov
aeef3ecdc4 8294198: Implement isFinite intrinsic for RISC-V
Reviewed-by: fyang, kvn
2022-09-29 18:51:38 +00:00
Roland Westrelin
1ea0d6b424 8292301: [REDO v2] C2 crash when allocating array of size too large
Reviewed-by: xliu, thartmann, kvn
2022-09-28 07:16:59 +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
Emanuel Peter
dd51f7e0b7 8293996: C2: fix and simplify IdealLoopTree::do_remove_empty_loop
Reviewed-by: roland, thartmann, chagedorn
2022-09-27 08:52:19 +00:00
Fei Gao
aa48705ddd 8289422: Fix and re-enable vector conditional move
Reviewed-by: thartmann, kvn
2022-09-27 01:24:17 +00:00
Fei Gao
a4dc035a97 8290910: Wrong memory state is picked in SuperWord::co_locate_pack()
Reviewed-by: chagedorn, kvn
2022-09-23 01:26:21 +00:00
Jie Fu
07afa3f41e 8294110: compiler/uncommontrap/Decompile.java fails after JDK-8293798
Reviewed-by: shade, thartmann
2022-09-21 13:10:10 +00:00
Emanuel Peter
379f3094db 8287217: C2: PhaseCCP: remove not visited nodes, prevent type inconsistency
Reviewed-by: roland, chagedorn, thartmann
2022-09-21 07:22:28 +00:00
Emanuel Peter
12e3510f63 8293798: Fix test bugs due to incompatibility with -XX:+AlwaysIncrementalInline
Reviewed-by: kvn, thartmann, chagedorn
2022-09-21 07:21:27 +00:00
casparcwang
cb72f80925 8293978: Duplicate simple loop back-edge will crash the vm
Reviewed-by: roland, chagedorn
2022-09-21 06:24:19 +00:00
Christian Hagedorn
471e2f12b4 8292088: C2: assert(is_OuterStripMinedLoop()) failed: invalid node class: IfTrue
Reviewed-by: roland, kvn
2022-09-19 10:15:18 +00:00
Aleksei Voitylov
b31a03c60a 8293695: Implement isInfinite intrinsic for RISC-V
Reviewed-by: yadongwang, fyang, dsamersoff
2022-09-15 09:45:03 +00:00
Pengfei Li
211fab8d36 8291669: [REDO] Fix array range check hoisting for some scaled loop iv
Reviewed-by: roland, thartmann
2022-09-14 14:20:39 +00:00
Emanuel Peter
6f2223faa1 8288180: C2: VectorPhase must ensure that SafePointNode memory input is a MergeMemNode
Reviewed-by: roland, thartmann
2022-09-13 13:14:05 +00:00
Fei Gao
ec2629c052 8275275: AArch64: Fix performance regression after auto-vectorization on NEON
Reviewed-by: aph, xgong
2022-09-13 03:13:38 +00:00
Hao Sun
cbee0bc9ef 8292587: AArch64: Support SVE fabd instruction
Reviewed-by: njian, fgao, ngasson
2022-09-13 02:19:02 +00:00
Roland Westrelin
37df5f5625 8291599: Assertion in PhaseIdealLoop::skeleton_predicate_has_opaque after JDK-8289127
Reviewed-by: chagedorn, thartmann
2022-09-12 07:30:47 +00:00
Vladimir Ivanov
005b49bb78 8293044: C1: Missing access check on non-accessible class
Reviewed-by: thartmann, dlong
2022-09-09 20:47:31 +00:00
Dean Long
dbec22b84b 8293287: add ReplayReduce flag
Reviewed-by: kvn, thartmann
2022-09-09 18:45:43 +00:00
Bhavana Kilambi
00befddd7c 8292675: Add identity transformation for removing redundant AndV/OrV nodes
Reviewed-by: thartmann, ngasson
2022-09-09 14:24:23 +00:00
Evgeny Astigeevich
6ff4775b71 8285487: AArch64: Do not generate unneeded trampolines for runtime calls
Reviewed-by: xliu, aph
2022-09-07 14:39:48 +00:00
Roberto Castañeda Lozano
730ced9a10 8292660: C2: blocks made unreachable by NeverBranch-to-Goto conversion are removed incorrectly
Reviewed-by: kvn, roland
2022-09-05 07:16:51 +00:00
Roland Westrelin
77e21c57ce 8290529: C2: assert(BoolTest(btest).is_canonical()) failure
Reviewed-by: kvn, thartmann
2022-09-02 13:35:11 +00:00
Aleksey Shipilev
6e6202c14d 8292407: Improve Weak CAS VarHandle/Unsafe tests resilience under spurious failures
Reviewed-by: yadongwang, fyang, vkempik, psandoz
2022-09-01 09:22:56 +00:00
Dingli Zhang
17283cfe4c 8293011: riscv: Duplicated stubs to interpreter for static calls
Reviewed-by: fyang
2022-09-01 01:06:45 +00:00
Roland Westrelin
4c90e87a6f 8290781: Segfault at PhaseIdealLoop::clone_loop_handle_data_uses
Reviewed-by: chagedorn, thartmann
2022-08-31 09:23:41 +00:00
Roland Westrelin
afa5d4ced3 8290451: Incorrect result when switching to C2 OSR compilation from C1
Reviewed-by: thartmann, kvn
2022-08-30 07:27:51 +00:00
Pengfei Li
a88a9e344f 8291466: C2: assert(false) failed: infinite loop in PhaseIterGVN::transform_old with -XX:+StressIGVN
Reviewed-by: roland, chagedorn
2022-08-29 13:06:20 +00:00
Doug Simon
b0e0b87891 8292917: [JVMCI] Extend InstalledCode API to make an nmethod non entrant.
Reviewed-by: never
2022-08-27 08:21:58 +00:00
Roland Westrelin
6354a57b5c 8290711: assert(false) failed: infinite loop in PhaseIterGVN::optimize
Reviewed-by: chagedorn, kvn
2022-08-26 07:57:40 +00:00
Erik Österlund
054c23f484 8290025: Remove the Sweeper
Reviewed-by: stefank, kvn, iveresov, coleenp, vlivanov, mdoerr
2022-08-25 09:48:55 +00:00
Doug Simon
259ba86c60 8290075: [JVMCI] only blessed methods can link against EventWriterFactory.getEventWriter
Reviewed-by: mgronlun
2022-08-23 07:24:53 +00:00
Bhavana Kilambi
07c797720d 8290249: Vectorize signum on AArch64
Reviewed-by: aph, ngasson
2022-08-22 09:01:08 +00:00
Thomas Stuefe
f9004fe443 8292561: Make "ReplayCompiles" a diagnostic product switch
Reviewed-by: kvn, xliu
2022-08-21 06:59:20 +00:00
Pengfei Li
f2f0cd86bf 8292511: AArch64: Align CPU feature name for NEON with hwcap
Reviewed-by: aph, njian
2022-08-19 09:09:18 +00:00
Daniel D. Daugherty
a1df2da668 8292632: compiler/sharedstubs/SharedTrampolineTest.java fails with "Error: VM option 'PrintRelocations' is develop and is available only in debug version of VM."
Reviewed-by: dholmes
2022-08-18 22:17:49 +00:00
Christian Hagedorn
32d675ca60 8291775: C2: assert(r != __null && r->is_Region()) failed: this phi must have a region
Reviewed-by: thartmann, kvn
2022-08-18 07:35:14 +00:00
Aleksey Shipilev
e8bc87956a 8292443: Weak CAS VarHandle/Unsafe tests should test always-failing cases
Reviewed-by: psandoz
2022-08-17 18:13:49 +00:00
Yi-Fan Tsai
494d3873b1 8280152: AArch64: Reuse runtime call trampolines
Reviewed-by: aph, phh
2022-08-17 17:35:02 +00:00
Hao Sun
f75da2235a 8292395: [testbug] VectorGatherScatterTest.java fails on SVE with -XX:MaxVectorSize=8 after JDK-8288397
Reviewed-by: chagedorn, thartmann
2022-08-17 10:30:18 +00:00
Hao Sun
0cc66aeae8 8285790: AArch64: Merge C2 NEON and SVE matching rules
Co-authored-by: Ningsheng Jian <njian@openjdk.org>
Co-authored-by: Eric Liu <eliu@openjdk.org>
Reviewed-by: adinn, aph, xgong
2022-08-17 03:51:46 +00:00
Christian Hagedorn
e89abb7d2d 8292190: [IR Framework] Remove redundant regex matching for failing counts constraints
Reviewed-by: kvn, rcastanedalo, thartmann
2022-08-15 06:08:08 +00:00
David Holmes
77cd917a97 Merge 2022-08-14 20:05:10 +00:00
Vladimir Kozlov
967a28c3d8 8292260: [BACKOUT] JDK-8279219: [REDO] C2 crash when allocating array of size too large
Reviewed-by: vlivanov
2022-08-12 20:24:53 +00:00
Bhavana Kilambi
6b2184e8d1 8290248: Implement MaxINode::Ideal transformation
Reviewed-by: kvn, thartmann
2022-08-05 01:51:34 +00:00
Pengfei Li
a2cff2634c 8291597: [BACKOUT] JDK-8289996: Fix array range check hoisting for some scaled loop iv
Reviewed-by: kvn, thartmann
2022-08-02 06:50:55 +00:00
Aleksey Shipilev
acbe093a66 8291559: x86: compiler/vectorization/TestReverseBitsVector.java fails
Reviewed-by: kvn
2022-07-31 18:49:21 +00:00
Jatin Bhateja
471a427d10 8287794: Reverse*VNode::Identity problem
Reviewed-by: thartmann, xgong
2022-07-28 11:08:38 +00:00
Jatin Bhateja
5d82d67a9e 8290034: Auto vectorize reverse bit operations.
Reviewed-by: xgong, kvn
2022-07-28 04:43:01 +00:00
Hao Sun
16a127524c 8290943: Fix several IR test issues on SVE after JDK-8289801
Reviewed-by: jiefu, adinn
2022-07-27 23:42:11 +00:00
Aleksey Shipilev
dc74ea21f1 8291048: x86: compiler/c2/irTests/TestAutoVectorization2DArray.java fails with lower SSE
Reviewed-by: kvn, jiefu
2022-07-27 16:58:49 +00:00
Tobias Hartmann
61e072d11c 8290705: StringConcat::validate_mem_flow asserts with "unexpected user: StoreI"
Reviewed-by: kvn, xliu
2022-07-27 10:43:52 +00:00
Pengfei Li
893909558b 8289996: Fix array range check hoisting for some scaled loop iv
Co-authored-by: John R Rose <jrose@openjdk.org>
Reviewed-by: roland, kvn, thartmann
2022-07-26 13:45:38 +00:00
Xiaohong Gong
a6faf5d33a 8290485: [vector] REVERSE_BYTES for byte type should not emit any instructions
Reviewed-by: thartmann, kvn
2022-07-26 02:56:26 +00:00
Bhavana Kilambi
80dc6cebc9 8290730: compiler/vectorization/TestAutoVecIntMinMax.java failed with "IRViolationException: There were one or multiple IR rule failures."
Reviewed-by: jiefu, kvn, thartmann
2022-07-25 09:08:23 +00:00
Bhavana Kilambi
89458e36af 8288107: Auto-vectorization for integer min/max
Reviewed-by: kvn, ngasson
2022-07-20 15:36:39 +00:00
Jie Fu
43588648ca 8290511: compiler/vectorapi/TestMaskedMacroLogicVector.java fails IR verification
Reviewed-by: kvn, thartmann
2022-07-19 22:50:00 +00:00
Jesper Wilhelmsson
6cd1c0c14e Merge 2022-07-18 22:51:25 +00:00
Jie Fu
4a4d8ed83b 8289801: [IR Framework] Add flags to whitelist which can be used to simulate a specific machine setup like UseAVX
Reviewed-by: kvn, xgong, thartmann
2022-07-18 22:49:17 +00:00
Pengfei Li
2677dd6d23 8289954: C2: Assert failed in PhaseCFG::verify() after JDK-8183390
Reviewed-by: kvn, thartmann, roland
2022-07-18 12:18:06 +00:00
Roland Westrelin
4f3f74c141 8289127: Apache Lucene triggers: DEBUG MESSAGE: duplicated predicate failed which is impossible
Reviewed-by: kvn, dlong
2022-07-18 07:08:49 +00:00
Fei Gao
87340fd540 8288883: C2: assert(allow_address || t != T_ADDRESS) failed after JDK-8283091
Reviewed-by: kvn, mdoerr
2022-07-18 05:54:51 +00:00
Jatin Bhateja
2342684f2c 8290066: Remove KNL specific handling for new CPU target check in IR annotation
Reviewed-by: kvn, sviswanathan
2022-07-16 01:18:30 +00:00
Jesper Wilhelmsson
3ad3950560 Merge 2022-07-14 16:29:51 +00:00
Feilong Jiang
3471ac9a90 8290164: compiler/runtime/TestConstantsInError.java fails on riscv
Reviewed-by: fyang, yadongwang
2022-07-14 03:32:52 +00:00
Jatin Bhateja
fd89ab8dac 8288112: C2: Error: ShouldNotReachHere() in Type::typerr()
Reviewed-by: dlong, kvn
2022-07-14 01:46:11 +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
Roland Westrelin
cbaf6e807e 8288022: c2: Transform (CastLL (AddL into (AddL (CastLL when possible
Reviewed-by: thartmann, kvn
2022-07-06 11:36:12 +00:00
Xiaohong Gong
fafe8b3f8d 8289604: compiler/vectorapi/VectorLogicalOpIdentityTest.java failed on x86 AVX1 system
Reviewed-by: jiefu, kvn
2022-07-06 06:15:04 +00:00
Evgeny Astigeevich
351560414d 8280481: Duplicated stubs to interpreter for static calls
Reviewed-by: kvn, phh
2022-07-05 20:50:02 +00:00
Doug Simon
c45d613faa 8289687: [JVMCI] bug in HotSpotResolvedJavaMethodImpl.equals
Reviewed-by: kvn
2022-07-05 18:25:12 +00:00
KIRIYAMA Takuya
1b997db734 8289427: compiler/compilercontrol/jcmd/ClearDirectivesFileStackTest.java failed with null setting
Reviewed-by: kvn, thartmann
2022-07-05 06:38:10 +00:00
Jesper Wilhelmsson
70f5693356 Merge 2022-07-02 18:07:36 +00:00
Tobias Holenstein
b9b900a61c 8277060: EXCEPTION_INT_DIVIDE_BY_ZERO in TypeAryPtr::dump2 with -XX:+TracePhaseCCP
Reviewed-by: kvn, thartmann, chagedorn, dlong
2022-07-01 13:34:38 +00:00
Tobias Hartmann
95497772e7 8284358: Unreachable loop is not removed from C2 IR, leading to a broken graph
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: kvn, chagedorn
2022-07-01 05:23:57 +00:00
Xiaohong Gong
124c63c17c 8288294: [vector] Add Identity/Ideal transformations for vector logic operations
Reviewed-by: kvn, jbhateja
2022-07-01 01:19:18 +00:00
Xiaohong Gong
1305fb5ca8 8287984: AArch64: [vector] Make all bits set vector sharable for match rules
Reviewed-by: kvn, ngasson
2022-06-30 08:53:27 +00:00
Xin Liu
31e50f2c76 8286104: use aggressive liveness for unstable_if traps
Reviewed-by: kvn, thartmann
2022-06-30 03:59:42 +00:00
Doug Simon
ba670ecbb9 8289094: [JVMCI] reduce JNI overhead and other VM rounds trips in JVMCI
Reviewed-by: kvn, dlong
2022-06-29 16:14:55 +00:00
Quan Anh Mai
108cd69516 8283726: x86_64 intrinsics for compareUnsigned method in Integer and Long
Reviewed-by: kvn, jbhateja
2022-06-29 10:34:05 +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
Jesper Wilhelmsson
d4b040f42d Merge 2022-06-27 18:25:53 +00:00
Christian Hagedorn
784a0f0496 8288683: C2: And node gets wrong type due to not adding it back to the worklist in CCP
Reviewed-by: roland, thartmann
2022-06-27 11:32:13 +00:00
Christian Hagedorn
17aacde50f 8288669: compiler/vectorapi/VectorFPtoIntCastTest.java still fails with "IRViolationException: There were one or multiple IR rule failures."
Reviewed-by: thartmann, dcubed
2022-06-24 07:28:44 +00:00
Richard Reingruber
3f5e48a44e 8288781: C1: LIR_OpVisitState::maxNumberOfOperands too small
Reviewed-by: shade, mdoerr, thartmann
2022-06-23 05:42:54 +00:00
Jesper Wilhelmsson
7039c6616a Merge 2022-06-20 19:38:49 +00:00
Emanuel Peter
302a6c068d 8287801: Fix test-bugs related to stress flags
Reviewed-by: chagedorn, thartmann
2022-06-20 14:29:06 +00:00
Christian Hagedorn
ed714af854 8288564: C2: LShiftLNode::Ideal produces wrong result after JDK-8278114
Reviewed-by: kvn, iveresov, thartmann
2022-06-20 06:47:40 +00:00
Xiaohong Gong
ae030bcbc5 8288397: AArch64: Fix register issues in SVE backend match rules
Reviewed-by: njian, ngasson
2022-06-20 01:07:45 +00:00
Sandhya Viswanathan
9d4b25e788 8288281: compiler/vectorapi/VectorFPtoIntCastTest.java failed with "IRViolationException: There were one or multiple IR rule failures."
Reviewed-by: thartmann, chagedorn
2022-06-16 22:07:13 +00:00
Jesper Wilhelmsson
3d12c0225b Merge 2022-06-16 12:01:32 +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
Boris Ulasevich
68b2057205 8287373: remove unnecessary paddings in generated code
Reviewed-by: kvn
2022-06-15 09:10:48 +00:00
Aleksey Shipilev
8cd87e731b 8288303: C1: Miscompilation due to broken Class.getModifiers intrinsic
Reviewed-by: iveresov, dlong
2022-06-14 14:34:45 +00:00
Swati Sharma
03dca565cf 8287525: Extend IR annotation with new options to test specific target feature.
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: chagedorn, kvn
2022-06-14 06:13:26 +00:00
Sandhya Viswanathan
2cc40afa07 8287835: Add support for additional float/double to integral conversion for x86
Reviewed-by: kvn, jbhateja
2022-06-10 17:02:33 +00:00
Roland Westrelin
dae4c493e4 8286197: C2: Optimize MemorySegment shape in int loop
Reviewed-by: kvn, thartmann
2022-06-10 08:17:26 +00:00
wanghaomin
3419beec7f 8286847: Rotate vectors don't support byte or short
Reviewed-by: eliu, xgong, jiefu, jbhateja
2022-06-09 04:00:31 +00:00
Christian Hagedorn
78d371266a 8287432: C2: assert(tn->in(0) != __null) failed: must have live top node
Reviewed-by: kvn, thartmann
2022-06-08 14:12:09 +00:00
Jie Fu
d959c22a95 8288000: compiler/loopopts/TestOverUnrolling2.java fails with release VMs
Reviewed-by: roland, thartmann
2022-06-08 08:08:10 +00:00
Roland Westrelin
bf0e625fe0 8286451: C2: assert(nb == 1) failed: only when the head is not shared
Reviewed-by: thartmann, chagedorn
2022-06-08 06:41:20 +00:00
Roland Westrelin
0960ecc407 8287700: C2 Crash running eclipse benchmark from Dacapo
Reviewed-by: chagedorn, kvn, xliu, thartmann
2022-06-08 06:36:52 +00:00
Roland Westrelin
590337e2f2 8286625: C2 fails with assert(!n->is_Store() && !n->is_LoadStore()) failed: no node with a side effect
Reviewed-by: thartmann, chagedorn
2022-06-08 06:35:28 +00:00
Christian Hagedorn
b647a1259b 8286940: [IR Framework] Allow IR tests to build and use Whitebox without -DSkipWhiteBoxInstall=true
Reviewed-by: kvn, thartmann
2022-06-07 08:37:12 +00:00
Christian Hagedorn
dbf0905ff4 8286967: Unproblemlist compiler/c2/irTests/TestSkeletonPredicates.java and add additional test for JDK-8286638
Reviewed-by: kvn, thartmann
2022-06-07 08:34:37 +00:00
Fei Gao
24fe8ad74c 8283307: Vectorize unsigned shift right on signed subword types
Reviewed-by: jiefu, pli, sviswanathan, kvn
2022-06-06 02:02:10 +00:00
Jatin Bhateja
f347ff9986 8283894: Intrinsify compress and expand bits on x86
Reviewed-by: psandoz, sviswanathan, jrose, kvn
2022-06-06 00:37:54 +00:00
Sandhya Viswanathan
a0219da966 8287517: C2: assert(vlen_in_bytes == 64) failed: 2
Reviewed-by: kvn, jiefu, chagedorn, fgao
2022-06-03 17:59:40 +00:00
vamsi-parasa
7f44f572ea 8285868: x86 intrinsics for floating point method isInfinite
Reviewed-by: kvn, jbhateja
2022-06-02 17:42:42 +00:00
Emanuel Peter
199832a710 8283466: C2: missing skeleton predicates in peeled loop
Reviewed-by: roland, chagedorn
2022-06-02 06:49:23 +00:00
Yasumasa Suenaga
e3791ecfe4 8287491: compiler/jvmci/errors/TestInvalidDebugInfo.java fails new assert: assert((uint)t < T_CONFLICT + 1) failed: invalid type #
Reviewed-by: kvn, dnsimon
2022-06-01 14:41:23 +00:00
Jatin Bhateja
6f6486e977 8284960: Integration of JEP 426: Vector API (Fourth Incubator)
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Sandhya Viswanathan <sviswanathan@openjdk.org>
Co-authored-by: Smita Kamath <svkamath@openjdk.org>
Co-authored-by: Joshua Zhu <jzhu@openjdk.org>
Co-authored-by: Xiaohong Gong <xgong@openjdk.org>
Co-authored-by: John R Rose <jrose@openjdk.org>
Co-authored-by: Eric Liu <eliu@openjdk.org>
Co-authored-by: Ningsheng Jian <njian@openjdk.org>
Reviewed-by: ngasson, vlivanov, mcimadamore, jlahoda, kvn
2022-05-31 16:02:09 +00:00
Ichiroh Takiguchi
66340372d5 8287362: FieldAccessWatch testcase failed on AIX platform
Reviewed-by: cjplummer, mdoerr
2022-05-28 05:33:08 +00:00
Vladimir Ivanov
d3e781de08 8287223: C1: Inlining attempt through MH::invokeBasic() with null receiver
Reviewed-by: kvn
2022-05-27 21:23:52 +00:00
Tobias Holenstein
796494d0fe 8284944: assert(cnt++ < 40) failed: infinite cycle in loop optimization
Reviewed-by: kvn, chagedorn
2022-05-25 13:48:19 +00:00
Alexey Ivanov
e0d361cea9 8284191: Replace usages of 'a the' in hotspot and java.base
Reviewed-by: lancea, wetmore, naoto, iris, kevinw, xuelei
2022-05-24 11:25:13 +00:00
Roberto Castañeda Lozano
6458a56e60 8286177: C2: "failed: non-reduction loop contains reduction nodes" assert failure
Reviewed-by: chagedorn, kvn
2022-05-24 07:19:00 +00:00
Quan Anh Mai
c1db70d827 8285973: x86_64: Improve fp comparison and cmove for eq/ne
Reviewed-by: kvn, sviswanathan
2022-05-24 00:15:54 +00:00
Sandhya Viswanathan
5d8d6da36a 8286972: Support the new loop induction variable related PopulateIndex IR node on x86
Reviewed-by: kvn, jbhateja
2022-05-23 15:28:32 +00:00
Quan Anh Mai
079312c835 8286182: [BACKOUT] x86: Handle integral division overflow during parsing
8287035: [BACKOUT] PPC64: Handle integral division overflow during parsing

Reviewed-by: mdoerr, thartmann
2022-05-19 19:12:28 +00:00
Christian Hagedorn
3984253800 8284115: [IR Framework] Compilation is not found due to rare safepoint while dumping PrintIdeal/PrintOptoAssembly
Reviewed-by: kvn, thartmann
2022-05-17 11:23:11 +00:00
Emanuel Peter
2d34acfec9 8286638: C2: CmpU needs to do more precise over/underflow analysis
Reviewed-by: kvn, vlivanov, thartmann
2022-05-16 07:21:30 +00:00
Aleksey Shipilev
9c2548414c 8286339: compiler/c2/irTests/TestEnumFinalFold.java fails if Enum/String methods are not inlined
Reviewed-by: thartmann, jiefu
2022-05-11 05:29:11 +00:00
Pengfei Li
1ca540460c 8286125: C2: "bad AD file" with PopulateIndex on x86_64
Reviewed-by: kvn, thartmann
2022-05-10 13:37:03 +00:00
Alan Bateman
9583e3657e 8284161: Implementation of Virtual Threads (Preview)
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Vladimir Ivanov
5212535a27 8282218: C1: Missing side effects of dynamic class loading during constant linkage
Reviewed-by: thartmann, kvn
2022-05-06 23:09:23 +00:00
Dean Long
bb52ea6820 8286263: compiler/c1/TestPinnedIntrinsics.java failed with "RuntimeException: testCurrentTimeMillis failed with -3"
Reviewed-by: thartmann, kvn
2022-05-06 19:47:48 +00:00
Aleksey Shipilev
080f3c5d8a 8286190: Add test to verify constant folding for Enum fields
Reviewed-by: kvn, thartmann
2022-05-06 16:32:02 +00:00
Roland Westrelin
fa1ca98fff 8281429: PhiNode::Value() is too conservative for tripcount of CountedLoop
Reviewed-by: thartmann, kvn
2022-05-06 08:24:33 +00:00
Tobias Holenstein
dd06cc638e 8283807: Handle CompileThreshold the same as other thresholds when scaled with -XX:CompileThresholdScaling
Reviewed-by: kvn, iklam, thartmann
2022-05-06 07:08:19 +00:00
Emanuel Peter
4a5e7a1ada 8282555: Missing memory edge when spilling MoveF2I, MoveD2L etc
Reviewed-by: kvn, thartmann, jbhateja
2022-05-05 08:15:53 +00:00
Xin Liu
c5a0687f80 8285976: compiler/exceptions/OptimizeImplicitExceptions.java can't pass with -XX:+DeoptimizeALot
Reviewed-by: kvn, thartmann, simonis
2022-05-04 17:59:39 +00:00
Roberto Castañeda Lozano
6fcd322258 8279622: C2: miscompilation of map pattern as a vector reduction
Reviewed-by: roland, kvn, thartmann
2022-05-03 11:08:48 +00:00
Jie Fu
3420a1aa70 8286013: Incorrect test configurations for compiler/stable/TestStableShort.java
Reviewed-by: shade, thartmann
2022-05-02 22:41:59 +00:00
Jie Fu
1f9f8738f3 8285980: Several tests in compiler/c2/irTests miss @requires vm.compiler2.enabled
Reviewed-by: thartmann
2022-05-02 10:38:31 +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
Dean Long
cd8709e8e0 8284883: JVM crash: guarantee(sect->end() <= sect->limit()) failed: sanity on AVX512
Reviewed-by: kvn, jbhateja
2022-04-29 19:09:58 +00:00
Roland Westrelin
e98ac23553 8285793: C2: optimization of mask checks in counted loops fail in the presence of cast nodes
Reviewed-by: kvn, thartmann
2022-04-29 11:19:27 +00:00