Roland Westrelin
a7422ac2f4
8255150: Add utility methods to check long indexes and ranges
...
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Reviewed-by: jvernee, dlong, vlivanov
2020-11-17 10:37:27 +00:00
Boris Ulasevich
f611fdfee8
8254016: Test8237524 fails with -XX:-CompactStrings option
...
Reviewed-by: shade
2020-11-16 14:58:14 +00:00
Corey Ashford
ccb48b7203
8248188: Add IntrinsicCandidate and API for Base64 decoding
...
8248188: Add IntrinsicCandidate and API for Base64 decoding, add Power64LE intrinsic implementation.
This patch set encompasses the following commits:
Adds a new intrinsic candidate to the java.lang.Base64 class - decodeBlock(), and provides a flexible API for the intrinsic. The API is similar to the existing encodeBlock intrinsic.
Adds the code in HotSpot to check and martial the new intrinsic's arguments to the arch-specific intrinsic implementation.
Adds a Power64LE-specific implementation of the decodeBlock intrinsic.
Adds a JMH microbenchmark for both Base64 encoding and encoding.
Enhances the JTReg hotspot intrinsic "TestBase64.java" regression test to more fully test both decoding and encoding.
Reviewed-by: rriggs, mdoerr, kvn
2020-11-11 21:31:07 +00:00
Fei Yang
b25d894015
8252204: AArch64: Implement SHA3 accelerator/intrinsic
...
Co-authored-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Co-authored-by: Dong Bo <dongbo4@huawei.com>
Reviewed-by: aph, kvn
2020-10-22 04:38:39 +00:00
Jason Tatton (AWS)
f71e8a6198
8173585: Intrinsify StringLatin1.indexOf(char)
...
Reviewed-by: neliasso
2020-10-14 12:58:21 +00:00
Evgeny Nikitin
52e45a3677
8229186: Improve error messages for TestStringIntrinsics failures
...
Reviewed-by: iignatyev, lmesnik
2020-10-09 16:48:49 +00:00
Dmitry Chuyko
35ea00085f
8251525: AARCH64: Faster Math.signum(fp)
...
Reviewed-by: aph, vlivanov, adinn
2020-09-03 14:54:43 +03:00
Jatin Bhateja
3ed56830b4
8248830
: C2: Optimize Rotate API on x86
...
Improved existing scalar rotate operations, added support for vector rotate operations using new AVX512 instructions.
Reviewed-by: vlivanov, kvn
2020-08-09 02:03:09 +05:30
Vladimir Kozlov
1ad1659413
8251260: two MD5 tests fail "RuntimeException: Unexpected count of intrinsic"
...
Do not run intrinsics/sha/sanity tests with AOTed java.base
Reviewed-by: vlivanov
2020-08-07 10:16:19 -07:00
Ludovic Henry
339016a0f2
8250902: Implement MD5 Intrinsics on x86
...
Reviewed-by: kvn, vdeshpande, ascarpino
2020-08-05 11:32:15 -07:00
Christian Hagedorn
4f99e1fb11
8248467: C2: compiler/intrinsics/object/TestClone fails with -XX:+VerifyGraphEdges
...
Fix assert by taking MemBarNodes into account whose precedence edge can be NULL.
Reviewed-by: kvn, thartmann
2020-07-22 10:28:34 +02:00
Xin Liu
4076ca82d2
8151779: Some intrinsic flags could be replaced with one general flag
...
Add ControlIntrinsic switch
Reviewed-by: neliasso, phh
2020-06-23 10:40:26 -07:00
Evgeny Nikitin
7e05213271
8244282: test/hotspot/jtreg/compiler/intrinsics/Test8237524.java fails with --illegal-access=deny
...
Add modules to test/hotspot/jtreg/compiler/intrinsics/Test8237524
Reviewed-by: iignatyev
2020-05-11 17:00:16 +02:00
Tobias Hartmann
a98bad2b22
8246453: TestClone crashes with "all collected exceptions must come from the same place"
...
Set deoptimize_on_exception for slow paths.
Reviewed-by: neliasso
2020-06-08 08:30:52 +02: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
Martin Doerr
76b76654d2
8235673: [C1, C2] Split inlining control flags
...
Reviewed-by: neliasso, kvn, thartmann
2020-05-18 10:57:16 +02:00
Stefan Karlsson
35af52dd4f
8244010: Simplify usages of ProcessTools.createJavaProcessBuilder in our tests
...
Reviewed-by: lmesnik, iignatyev, coleenp, dholmes
2020-04-29 08:52:18 +02: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
Pengfei Li
6fd7ad87ce
8237524: AArch64: String.compareTo() may return incorrect result
...
Reviewed-by: aph
2020-01-21 08:15:33 +00:00
Mikael Vidstedt
3318314c7c
8237589: Fix copyright header formatting
...
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -08:00
Smita Kamath
995da6eb2a
8167065: Add intrinsic support for double precision shifting on x86_64
...
Reviewed-by: kvn
2019-12-23 14:42:21 -08:00
Patrick Zhang
8c1efbe38b
8229351: AArch64: the const STUB_THRESHOLD in macroAssembler_aarch64.cpp needs to be tuned
...
Optimize the stub thresholds of string_compare intrinsics
Reviewed-by: adinn, aph, avoitylov
2019-08-12 16:22:24 +08:00
Igor Ignatyev
503a960e7d
8129092: compiler/intrinsics/classcast/NullCheckDroppingsTest.java testVarClassCast() can fail
...
Reviewed-by: kvn
2019-12-03 20:23:53 -08:00
Thomas Stuefe
13cc1154f0
8233019: java.lang.Class.isPrimitive() (C1) returns wrong result if Klass* is aligned to 32bit
...
Reviewed-by: mdoerr, dlong, aph
2019-10-31 07:53:16 +01:00
Dmitrij Pochepko
c21fc9448d
8218966: AArch64: String.compareTo() can read memory after string
...
Reviewed-by: dsamersoff
2019-05-22 20:39:04 +03:00
Dmitrij Pochepko
d83c89b805
8215792: AArch64: String.indexOf generates incorrect result
...
Reviewed-by: dsamersoff
2019-05-22 20:12:19 +03:00
Jie Fu
c69b24eb77
8222302: [TESTBUG]test/hotspot/jtreg/compiler/intrinsics/sha/cli/TestUseSHAOptionOnUnsupportedCPU.java fails on any other CPU
...
Reviewed-by: kvn, dlong
2019-05-18 12:13:38 -07:00
Bernard Blaser
cf09431450
8220407: compiler/intrinsics/math/TestFpMinMaxIntrinsics.java timedout
...
Reviewed-by: kvn
2019-03-12 02:13:02 +01:00
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
Pengfei Li
42f34d1076
8218550: Add test omitted from JDK-8212043
...
Add test case omitted from fix for JDK-8212043
Reviewed-by: shade
2019-02-06 16:25:58 +00:00
Igor Ignatyev
01e4948836
8216180: [AOT] compiler/intrinsics/bigInteger/TestMulAdd.java crashed with AOT enabled
...
Reviewed-by: kvn
2019-01-23 16:36:45 -08:00
Nick Gasson
d62b658ffc
8215100: AArch64: fix compareTo intrinsic with four-character Latin/Unicode
...
Reviewed-by: aph, dpochepk
2018-12-20 17:07:07 +00:00
Mandy Chung
5e6d6b8642
8207146: Rename jdk.internal.misc.Unsafe::xxxObject to xxxReference
...
Reviewed-by: dholmes, thartmann
2018-10-22 17:00:04 -07:00
Dmitrij Pochepko
8eb4ba001c
8210461: AArch64: Math.cos intrinsic gives incorrect results
...
Reviewed-by: aph
2018-09-14 14:24:00 +03:00
Tobias Hartmann
a494a819eb
8209833: C2 compilation fails with "assert(ex_map->jvms()->same_calls_as(_exceptions->jvms())) failed: all collected exceptions must come from the same place"
...
Deoptimize if exception is thrown in _clone intrinsic.
Reviewed-by: kvn
2018-08-24 08:17:23 +02:00
Joshua Zhu
f87ec5faf7
8209459: TestSHA512MultiBlockIntrinsics failed on AArch64
...
Prevent classloading to avoid generation of SHA stubs.
Reviewed-by: kvn, thartmann
2018-08-15 14:35:33 +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
Igor Ignatyev
cb2d33f02c
8206287: fix legal notice in hotspot tests
...
Reviewed-by: kvn, hseigel
2018-07-09 11:15:55 -07:00
Smita Kamath
3feaefd75f
8205528: Base64 encoding algorithm using AVX512 instructions
...
Reviewed-by: kvn, psandoz
2018-06-27 20:21:42 -07:00
Igor Ignatyev
6eeaab54a4
8155192: [TESTBUG] SHA tests assumes that x86 does not have SHA intrinsics
...
Reviewed-by: kvn, gromero
2018-06-22 16:11:36 -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
Tobias Hartmann
32668d954e
8200227: [Graal] Test times out with Graal due to low compile threshold
...
Removed unnecessary VM options from test to avoid timeouts with Graal.
Reviewed-by: kvn
2018-03-27 11:13:11 +02:00
Vladimir Kozlov
4b482389bf
8198251: [Graal] compiler/intrinsics/bmi/verifycode tests fail with Graal on macos
...
BMI tests should be excluded from Graal JIT testing for now.
Reviewed-by: thartmann
2018-02-23 10:14:23 -08:00
Rickard Bäckman
9ba6ab25e4
8191915: JCK tests produce incorrect results with C2
...
Reviewed-by: thartmann, vlivanov, goetz
2018-01-18 19:21:11 +01:00
Ekaterina Pavlova
853f26ed15
8185134: [Graal] Introduce vm.graal predicate and tag tests which are not applicable for Graal
...
Reviewed-by: kvn, dnsimon
2017-10-02 14:31:34 -07:00
Martin Doerr
d0dc2dd231
8185979: PPC64: Implement SHA2 intrinsic
...
Co-authored-by: Bruno Rosa <bruno.rosa@eldorado.org.br>
Co-authored-by: Gustavo Serra Scalet <gustavo.scalet@eldorado.org.br>
Co-authored-by: Igor Nunes <igor.nunes@eldorado.org.br>
Reviewed-by: mdoerr, goetz
2017-09-25 17:40:06 +02:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00