hotspot/test/compiler/loopopts/superword/TestVectorizationWithInvariant.java
author chegar
Tue, 22 Mar 2016 15:26:07 +0000
changeset 36694 182a5e7a519e
parent 30634 b1f417671661
child 38152 80e5da81fb2c
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
30625
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
     1
/*
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
     2
 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
     4
 *
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
     7
 * published by the Free Software Foundation.
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
     8
 *
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    13
 * accompanied this code).
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    14
 *
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    18
 *
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    21
 * questions.
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    22
 *
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    23
 */
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    24
30634
b1f417671661 8080420: Compilation of TestVectorizationWithInvariant fails with "error: package com.oracle.java.testlibrary does not exist"
thartmann
parents: 30625
diff changeset
    25
import jdk.test.lib.*;
30625
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    26
import sun.misc.Unsafe;
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    27
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    28
/**
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    29
 * @test
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    30
 * @bug 8078497
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    31
 * @summary Tests correct alignment of vectors with loop invariant offset.
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    32
 * @library /testlibrary
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    33
 * @run main TestVectorizationWithInvariant
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    34
 */
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    35
public class TestVectorizationWithInvariant {
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    36
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    37
    private static Unsafe unsafe;
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    38
    private static final long BYTE_ARRAY_OFFSET;
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    39
    private static final long CHAR_ARRAY_OFFSET;
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    40
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    41
    static {
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    42
        unsafe = Utils.getUnsafe();
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    43
        BYTE_ARRAY_OFFSET = unsafe.arrayBaseOffset(byte[].class);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    44
        CHAR_ARRAY_OFFSET = unsafe.arrayBaseOffset(char[].class);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    45
    }
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    46
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    47
    public static void main(String[] args) throws Exception {
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    48
        byte[] byte_array1 = new byte[1000];
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    49
        byte[] byte_array2 = new byte[1000];
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    50
        char[] char_array = new char[1000];
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    51
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    52
        for (int i = 0; i < 20_000; ++i) {
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    53
            copyByteToChar(byte_array1, byte_array2, char_array, 1);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    54
            copyCharToByte(char_array, byte_array1, 1);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    55
            copyCharToByteAligned(char_array, byte_array1);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    56
            copyCharToByteUnaligned(char_array, byte_array1);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    57
        }
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    58
    }
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    59
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    60
    /*
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    61
     * Copy multiple consecutive chars from a byte array to a given offset in a char array
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    62
     * to trigger C2's superword optimization. The offset in the byte array is independent
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    63
     * of the loop induction variable and can be set to an arbitrary value. It may then not
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    64
     * be possible to both align the LoadUS and the StoreC operations. Therefore, vectorization
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    65
     * should only be done in this case if unaligned memory accesses are allowed.
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    66
     */
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    67
    public static void copyByteToChar(byte[] src1, byte[] src2, char[] dst, int off) {
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    68
        off = (int) BYTE_ARRAY_OFFSET + (off << 1);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    69
        byte[] src = src1;
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    70
        for (int i = (int) CHAR_ARRAY_OFFSET; i < 100; i = i + 8) {
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    71
            // Copy 8 chars from src to dst
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    72
            unsafe.putChar(dst, i + 0, unsafe.getChar(src, off + 0));
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    73
            unsafe.putChar(dst, i + 2, unsafe.getChar(src, off + 2));
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    74
            unsafe.putChar(dst, i + 4, unsafe.getChar(src, off + 4));
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    75
            unsafe.putChar(dst, i + 6, unsafe.getChar(src, off + 6));
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    76
            unsafe.putChar(dst, i + 8, unsafe.getChar(src, off + 8));
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    77
            unsafe.putChar(dst, i + 10, unsafe.getChar(src, off + 10));
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    78
            unsafe.putChar(dst, i + 12, unsafe.getChar(src, off + 12));
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    79
            unsafe.putChar(dst, i + 14, unsafe.getChar(src, off + 14));
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    80
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    81
            // Prevent loop invariant code motion of char read.
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    82
            src = (src == src1) ? src2 : src1;
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    83
        }
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    84
    }
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    85
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    86
    /*
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    87
     * Copy multiple consecutive chars from a char array to a given offset in a byte array
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    88
     * to trigger C2's superword optimization. Checks for similar problems as 'copyByteToChar'.
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    89
     */
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    90
    public static void copyCharToByte(char[] src, byte[] dst, int off) {
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    91
        off = (int) BYTE_ARRAY_OFFSET + (off << 1);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    92
        for (int i = 0; i < 100; i = i + 8) {
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    93
            // Copy 8 chars from src to dst
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    94
            unsafe.putChar(dst, off + 0, src[i + 0]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    95
            unsafe.putChar(dst, off + 2, src[i + 1]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    96
            unsafe.putChar(dst, off + 4, src[i + 2]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    97
            unsafe.putChar(dst, off + 6, src[i + 3]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    98
            unsafe.putChar(dst, off + 8, src[i + 4]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
    99
            unsafe.putChar(dst, off + 10, src[i + 5]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   100
            unsafe.putChar(dst, off + 12, src[i + 6]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   101
            unsafe.putChar(dst, off + 14, src[i + 7]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   102
        }
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   103
    }
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   104
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   105
    /*
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   106
     * Variant of copyCharToByte with a constant destination array offset.
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   107
     * The loop should always be vectorized because both the LoadUS and StoreC
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   108
     * operations can be aligned.
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   109
     */
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   110
    public static void copyCharToByteAligned(char[] src, byte[] dst) {
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   111
        final int off = (int) BYTE_ARRAY_OFFSET;
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   112
        for (int i = 8; i < 100; i = i + 8) {
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   113
            // Copy 8 chars from src to dst
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   114
            unsafe.putChar(dst, off + 0, src[i + 0]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   115
            unsafe.putChar(dst, off + 2, src[i + 1]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   116
            unsafe.putChar(dst, off + 4, src[i + 2]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   117
            unsafe.putChar(dst, off + 6, src[i + 3]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   118
            unsafe.putChar(dst, off + 8, src[i + 4]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   119
            unsafe.putChar(dst, off + 10, src[i + 5]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   120
            unsafe.putChar(dst, off + 12, src[i + 6]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   121
            unsafe.putChar(dst, off + 14, src[i + 7]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   122
        }
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   123
    }
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   124
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   125
    /*
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   126
     * Variant of copyCharToByte with a constant destination array offset. The
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   127
     * loop should only be vectorized if unaligned memory operations are allowed
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   128
     * because not both the LoadUS and the StoreC can be aligned.
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   129
     */
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   130
    public static void copyCharToByteUnaligned(char[] src, byte[] dst) {
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   131
        final int off = (int) BYTE_ARRAY_OFFSET + 2;
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   132
        for (int i = 0; i < 100; i = i + 8) {
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   133
            // Copy 8 chars from src to dst
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   134
            unsafe.putChar(dst, off + 0, src[i + 0]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   135
            unsafe.putChar(dst, off + 2, src[i + 1]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   136
            unsafe.putChar(dst, off + 4, src[i + 2]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   137
            unsafe.putChar(dst, off + 6, src[i + 3]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   138
            unsafe.putChar(dst, off + 8, src[i + 4]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   139
            unsafe.putChar(dst, off + 10, src[i + 5]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   140
            unsafe.putChar(dst, off + 12, src[i + 6]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   141
            unsafe.putChar(dst, off + 14, src[i + 7]);
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   142
        }
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   143
    }
80a08f9b2d63 8078497: C2's superword optimization causes unaligned memory accesses
thartmann
parents:
diff changeset
   144
}