14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 package org.graalvm.compiler.asm.aarch64.test;
25
26 import static org.junit.Assert.assertArrayEquals;
27
28 import java.util.EnumSet;
29
30 import org.junit.Assert;
31 import org.junit.Before;
32 import org.junit.Test;
33
34 import org.graalvm.compiler.asm.NumUtil;
35 import org.graalvm.compiler.asm.aarch64.AArch64Address;
36 import org.graalvm.compiler.asm.aarch64.AArch64Assembler;
37 import org.graalvm.compiler.asm.aarch64.AArch64MacroAssembler;
38 import org.graalvm.compiler.asm.aarch64.AArch64MacroAssembler.AddressGenerationPlan;
39 import org.graalvm.compiler.test.GraalTest;
40
41 import jdk.vm.ci.aarch64.AArch64;
42 import jdk.vm.ci.aarch64.AArch64.CPUFeature;
43 import jdk.vm.ci.code.Architecture;
44 import jdk.vm.ci.code.Register;
45 import jdk.vm.ci.code.TargetDescription;
46
47 public class AArch64MacroAssemblerTest extends GraalTest {
48
49 private AArch64MacroAssembler masm;
50 private TestProtectedAssembler asm;
51 private Register base;
52 private Register index;
53 private Register scratch;
54
|
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 package org.graalvm.compiler.asm.aarch64.test;
25
26 import static org.junit.Assert.assertArrayEquals;
27
28 import java.util.EnumSet;
29
30 import org.junit.Assert;
31 import org.junit.Before;
32 import org.junit.Test;
33
34 import org.graalvm.compiler.core.common.NumUtil;
35 import org.graalvm.compiler.asm.aarch64.AArch64Address;
36 import org.graalvm.compiler.asm.aarch64.AArch64Assembler;
37 import org.graalvm.compiler.asm.aarch64.AArch64MacroAssembler;
38 import org.graalvm.compiler.asm.aarch64.AArch64MacroAssembler.AddressGenerationPlan;
39 import org.graalvm.compiler.test.GraalTest;
40
41 import jdk.vm.ci.aarch64.AArch64;
42 import jdk.vm.ci.aarch64.AArch64.CPUFeature;
43 import jdk.vm.ci.code.Architecture;
44 import jdk.vm.ci.code.Register;
45 import jdk.vm.ci.code.TargetDescription;
46
47 public class AArch64MacroAssemblerTest extends GraalTest {
48
49 private AArch64MacroAssembler masm;
50 private TestProtectedAssembler asm;
51 private Register base;
52 private Register index;
53 private Register scratch;
54
|