1420 Commits

Author SHA1 Message Date
Volker Simonis
87f15c2bcf 8159620: -XX:-UseOnStackReplacement does not work together with -XX:+TieredCompilation on ppc64 and sparc
Reviewed-by: goetz, kvn, thartmann
2016-06-22 17:05:40 +02:00
Martin Doerr
1621ac0b42 8159976: PPC64: Add missing intrinsics for sub-word atomics
Reviewed-by: shade, goetz
2016-06-23 17:38:29 +02:00
Andrew Dinn
6c974f899f 8160006: Fix AArch64 after changes made by 8151661
Reviewed-by: kvn
2016-06-21 13:15:56 -04:00
Gustavo Romero
0fd874e9c5 8158260: PPC64: unaligned Unsafe.getInt can lead to the generation of illegal instructions
Adjust instruction generation.

Co-authored-by: Hiroshi H Horii <horii@jp.ibm.com>
Reviewed-by: goetz
2016-06-17 11:31:24 +02:00
Michihiro Horie
2ade029123 8158232: PPC64: improve byte, int and long array copy stubs by using VSX instructions
Reviewed-by: goetz, mdoerr
2016-06-15 13:47:17 +02:00
Aleksey Shipilev
c6c73deca4 8157726: VarHandles/Unsafe should support sub-word atomic ops
Reviewed-by: psandoz, vlivanov, lagergren
2016-06-15 11:21:36 +03:00
Felix Yang
067e915c50 8158913: aarch64: SEGV running Spark terasort
Use signed instead of unsigned test for end of loop in gen_write_ref_array_post_barrier

Reviewed-by: aph
2016-06-07 10:17:28 +00:00
Vladimir Kozlov
47b35cab0e Merge 2016-06-06 12:56:40 -07:00
Tobias Hartmann
cf967f79ab Merge 2016-06-02 14:54:35 +00:00
Fei Yang
2e85bb45ff 8149418: AArch64: replace tst+br with tbz instruction when tst's constant operand is 2 power
Replace tst+br with tbz instruction when tst's constant operand is 2 power

Reviewed-by: aph
2016-06-02 21:12:46 +08:00
Tobias Hartmann
f92cc0c836 8158214: Crash with "assert(VM_Version::supports_sse4_1()) failed" if UseSSE < 4 is set
Do not emit unsupported SSE 4.1 instructions in CRC32 intrinsic.

Reviewed-by: kvn, zmajo
2016-06-02 13:19:05 +02:00
Tobias Hartmann
e4102fbe67 8157842: indexOfChar intrinsic is not emitted on x86
Matcher::match_rule_supported() should check for !UseSSE42Intrinsics.

Reviewed-by: roland, rbackman, shade, kvn
2016-06-01 16:36:44 +02:00
Vladimir Ivanov
2a6a1c6b01 Merge 2016-05-30 15:04:03 +03:00
Vladimir Ivanov
a7ec30ae19 Merge 2016-05-27 17:01:27 +03:00
Teng Lu
cf20f6fff8 8157906: aarch64: some more integer rotate instructions are never emitted
Fix wrong definition of source operand of left rotate instructions

Reviewed-by: aph
2016-05-27 20:38:38 +08:00
Fei Yang
60fabf15a7 8156731: aarch64: java/util/Arrays/Correct.java fails due to _generic_arraycopy stub routine
Fix address calculation considering compressed oops _generic_arraycopy stub routine

Reviewed-by: aph
2016-05-27 01:02:16 +08:00
Ed Nevill
75909b48f3 8157841: aarch64: prefetch ignores cache line size
Fix prefetch to take account of cache line size

Co-authored-by: Stuart Monteith <stuart.monteith@linaro.org>
Reviewed-by: aph
2016-05-25 13:30:07 +00:00
Ed Nevill
7694596568 8157834: aarch64: Hello World crashes with fastdebug build
Support LL, UL and LU encodings of StrIndexOf

Reviewed-by: aph
2016-05-25 15:05:26 +00:00
Dmitrij Pochepko
fdf9e5a63e 8156585: Cosmetic: AARCH64 defines in c1_LIRAssembler_aarch64.hpp
Reviewed-by: kvn
2016-05-25 16:20:02 +03:00
Vladimir Ivanov
3221da3cf7 Merge 2016-05-24 14:13:57 +03:00
Gustavo Romero
066208e368 8154156: PPC64: improve array copy stubs by using vector instructions
Reviewed-by: goetz, mdoerr
2016-05-23 10:35:51 -03:00
Vivek Deshpande
489b38091e 8154473: Update for CompilerDirectives to control stub generation and intrinsics
Use -XX:DisableIntrinsic flag to control intrinsics usage in Interpreter.

Reviewed-by: twisti, neliasso, kvn, simonis
2016-05-20 14:17:55 -07:00
Vladimir Ivanov
36daf60d8f Merge 2016-05-20 18:05:09 +03:00
Vladimir Kozlov
5acfcd3615 8157184: java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java failed with a fatal error
Add missing cache_line_size > 0 checks.

Reviewed-by: vlivanov, kbarrett
2016-05-19 11:01:38 -07:00
Martin Doerr
cb6496c297 8141635: Implement VarHandles/Unsafe intrinsics on POWER
Reviewed-by: shade, kvn, simonis
2016-05-13 22:21:54 +03:00
Goetz Lindenmaier
fd19ab133b 8156923: [ppc] Implement "JEP 270: Reserved Stack Areas for Critical Sections"
Reviewed-by: simonis, dholmes
2016-05-13 15:22:48 +02:00
Goetz Lindenmaier
618f5131e6 8156922: [ppc] Implement template interpreter stack overflow checks as on x86/sparc
Reviewed-by: dlong, dholmes, simonis, coleenp
2016-05-13 15:20:06 +02:00
Vladimir Ivanov
df9373aad7 Merge 2016-05-27 16:56:23 +03:00
Vladimir Ivanov
cdc0b9792f Merge 2016-05-11 00:40:59 +00:00
Vladimir Ivanov
3fcc58a80d Merge 2016-05-11 00:31:28 +03:00
Gerard Ziemski
a991801b42 8073500: Prevent certain commercial flags from being changed at runtime
Implement new writeable mechanism for flag control

Reviewed-by: coleenp, iklam
2016-05-10 12:10:21 -05:00
Vladimir Ivanov
d14a64b0ed Merge 2016-05-11 00:38:58 +03:00
Robbin Ehn
2523b1942a 8153535: Convert TraceRedefineClasses to Unified Logging
Reviewed-by: rprotacio, coleenp
2016-05-09 22:22:15 +02:00
Roland Westrelin
a1e5418d19 8154826: AArch64: take advantage better of base + shifted offset addressing mode
Reshape address subtree to fit aarch64 addressing mode

Reviewed-by: kvn, aph
2016-05-09 11:34:09 +02:00
Vladimir Ivanov
e1512b1e15 Merge 2016-05-06 18:37:58 +03:00
Vladimir Ivanov
622a5ae6f0 Merge 2016-05-06 18:20:50 +03:00
Goetz Lindenmaier
37389f4e60 8156190: [ppc] Fix build after "8151268: Wire up the x86 _vectorizedMismatch stub routine in C1"
New function was placed within other function.

Reviewed-by: mdoerr
2016-05-06 09:10:47 +02:00
Tomasz Wojtowicz
0a123cad8f 8154974: AVX-512 equipped inflate, has_negatives & compress intrinsics
Reviewed-by: kvn
2016-05-05 17:16:08 -07:00
Paul Sandoz
472a1bc607 8151268: Wire up the x86 _vectorizedMismatch stub routine in C1
Reviewed-by: kvn
2016-05-05 10:03:26 -07:00
Ahmed Khawaja
7057abda29 8155162: java.util.zip.CRC32C Interpreter/C1 intrinsics support on SPARC
Reviewed-by: kvn
2016-05-04 15:30:21 -07:00
Vladimir Ivanov
5dc9f56544 Merge 2016-05-09 13:13:07 +03:00
Jamsheed Mohammed C M
96c4dc3210 8144856: fix assert in CompiledStaticCall::set_to_interpreted
Trivial cleanup in assert code.

Reviewed-by: kvn, goetz, thartmann
2016-05-09 23:49:22 -07:00
Christian Tornqvist
06e3a5cb60 8156066: Backout JDK-8153892
Reviewed-by: coleenp, mikael
2016-05-04 15:32:26 -04:00
Roland Westrelin
160798c7e7 8154943: AArch64: redundant address computation instructions with vectorization
Duplicated i2l nodes can be eliminated to optimize redundant address computations

Reviewed-by: kvn, dlong
2016-04-29 17:24:16 +02:00
Roland Westrelin
0ab61a6e28 8155717: Aarch64: enable loop superword's unrolling analysis
Reviewed-by: aph, kvn, mcberg
2016-05-04 13:32:03 -07:00
Ed Nevill
fbac01c4e5 8155967: aarch64: fix register usage in block zeroing
Fix array fill stub to use r10 == base and r11 == count

Reviewed-by: aph
2016-05-03 20:36:17 +00:00
Goetz Lindenmaier
9722354d37 8155738: C2: fix frame_complete_offset
During scratch_emit_size wrong value was set. Also set offset of ppc.

Reviewed-by: kvn, dlong
2016-05-02 14:17:19 -07:00
Ed Nevill
17ee5a98f3 8155790: aarch64: debug VM fails to start after 8155617
Fix base register to point to end after zeroing

Reviewed-by: aph
2016-04-30 00:57:04 -07:00
Zoltan Majo
b5f1bd24d2 Merge 2016-04-29 12:05:31 +02:00
Zoltan Majo
413417522f 8153340: Disallow misconfiguration and improve the consistency of allocation prefetching
Improve allocation prefetching.

Reviewed-by: kvn
2016-04-29 08:32:42 +02:00