annotate graal/com.oracle.graal.lir.sparc/src/com/oracle/graal/lir/sparc/SPARCCompare.java @ 21543:93c50cefb9e8

moved GraalInternalError to com.oracle.jvmci.common and renamed it to JVMCIError (JBS:GRAAL-53)
author Doug Simon <doug.simon@oracle.com>
date Mon, 25 May 2015 23:30:34 +0200
parents fb2b27418347
children 48c1ebd24120
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
1 /*
18187
9619ba4daf4c Rename Constant to JavaConstant.
Roland Schatz <roland.schatz@oracle.com>
parents: 17604
diff changeset
2 * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
4 *
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
5 * This code is free software; you can redistribute it and/or modify it
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
6 * under the terms of the GNU General Public License version 2 only, as
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
7 * published by the Free Software Foundation.
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
8 *
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
9 * This code is distributed in the hope that it will be useful, but WITHOUT
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
12 * version 2 for more details (a copy is included in the LICENSE file that
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
13 * accompanied this code).
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
14 *
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License version
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
16 * 2 along with this work; if not, write to the Free Software Foundation,
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
18 *
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
20 * or visit www.oracle.com if you need additional information or have any
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
21 * questions.
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
22 */
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
23 package com.oracle.graal.lir.sparc;
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
24
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
25 import static com.oracle.graal.api.code.ValueUtil.*;
10459
f78079947084 some basic SPARC arithmetic works
twisti
parents: 9856
diff changeset
26 import static com.oracle.graal.asm.sparc.SPARCAssembler.*;
19672
b1b887938753 [SPARC] Change fcmp
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 18187
diff changeset
27 import static com.oracle.graal.asm.sparc.SPARCAssembler.CC.*;
b1b887938753 [SPARC] Change fcmp
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 18187
diff changeset
28 import static com.oracle.graal.asm.sparc.SPARCAssembler.Opfs.*;
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
29 import static com.oracle.graal.lir.LIRInstruction.OperandFlag.*;
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
30
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
31 import com.oracle.graal.api.meta.*;
10459
f78079947084 some basic SPARC arithmetic works
twisti
parents: 9856
diff changeset
32 import com.oracle.graal.asm.sparc.*;
9856
fbeda9df497d implemented workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=409824
Doug Simon <doug.simon@oracle.com>
parents: 9844
diff changeset
33 import com.oracle.graal.lir.*;
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
34 import com.oracle.graal.lir.asm.*;
21137
fb2b27418347 [SPARC] Improve verify in Compare
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 19678
diff changeset
35 import com.oracle.graal.lir.sparc.SPARCControlFlow.CompareBranchOp;
21543
93c50cefb9e8 moved GraalInternalError to com.oracle.jvmci.common and renamed it to JVMCIError (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21137
diff changeset
36 import com.oracle.jvmci.common.*;
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
37
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
38 public enum SPARCCompare {
14908
8db6e76cb658 Formatter: Keep one enum constant per line
Gilles Duboscq <duboscq@ssw.jku.at>
parents: 13227
diff changeset
39 ICMP,
8db6e76cb658 Formatter: Keep one enum constant per line
Gilles Duboscq <duboscq@ssw.jku.at>
parents: 13227
diff changeset
40 LCMP,
8db6e76cb658 Formatter: Keep one enum constant per line
Gilles Duboscq <duboscq@ssw.jku.at>
parents: 13227
diff changeset
41 ACMP,
8db6e76cb658 Formatter: Keep one enum constant per line
Gilles Duboscq <duboscq@ssw.jku.at>
parents: 13227
diff changeset
42 FCMP,
8db6e76cb658 Formatter: Keep one enum constant per line
Gilles Duboscq <duboscq@ssw.jku.at>
parents: 13227
diff changeset
43 DCMP;
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
44
19526
8fc336a04d77 Create TYPE fields for LIRInstruction and CompositeValue. Renaming NodeClass#get to NodeClass#create.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 18187
diff changeset
45 public static final class CompareOp extends SPARCLIRInstruction {
8fc336a04d77 Create TYPE fields for LIRInstruction and CompositeValue. Renaming NodeClass#get to NodeClass#create.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 18187
diff changeset
46 public static final LIRInstructionClass<CompareOp> TYPE = LIRInstructionClass.create(CompareOp.class);
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
47
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
48 @Opcode private final SPARCCompare opcode;
10459
f78079947084 some basic SPARC arithmetic works
twisti
parents: 9856
diff changeset
49 @Use({REG}) protected Value x;
f78079947084 some basic SPARC arithmetic works
twisti
parents: 9856
diff changeset
50 @Use({REG, CONST}) protected Value y;
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
51
9843
e05af215586b SPARC compare
Morris Meyer <morris.meyer@oracle.com>
parents: 9831
diff changeset
52 public CompareOp(SPARCCompare opcode, Value x, Value y) {
19526
8fc336a04d77 Create TYPE fields for LIRInstruction and CompositeValue. Renaming NodeClass#get to NodeClass#create.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 18187
diff changeset
53 super(TYPE);
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
54 this.opcode = opcode;
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
55 this.x = x;
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
56 this.y = y;
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
57 }
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
58
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
59 @Override
13227
1a66453f73db renamed TargetMethodAssembler to CompilationResultBuilder
Doug Simon <doug.simon@oracle.com>
parents: 10792
diff changeset
60 public void emitCode(CompilationResultBuilder crb, SPARCMacroAssembler masm) {
1a66453f73db renamed TargetMethodAssembler to CompilationResultBuilder
Doug Simon <doug.simon@oracle.com>
parents: 10792
diff changeset
61 emit(crb, masm, opcode, x, y);
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
62 }
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
63
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
64 @Override
17604
35ae3e916582 Make LIRInstruction an interface.
Josef Eisl <josef.eisl@jku.at>
parents: 17177
diff changeset
65 public void verify() {
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
66 super.verify();
21137
fb2b27418347 [SPARC] Improve verify in Compare
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 19678
diff changeset
67 assert CompareBranchOp.SUPPORTED_KINDS.contains(x.getKind()) : x.getKind();
fb2b27418347 [SPARC] Improve verify in Compare
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 19678
diff changeset
68 assert x.getKind().equals(y.getKind()) : x + " " + y;
16323
f22e4fd06a7e [SPARC] Fixing BC_new, BC_fcmpxx
Stefan Anzinger <stefan.anzinger@gmail.com>
parents: 16322
diff changeset
69 // @formatter:off
21137
fb2b27418347 [SPARC] Improve verify in Compare
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 19678
diff changeset
70 assert
fb2b27418347 [SPARC] Improve verify in Compare
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 19678
diff changeset
71 (name().startsWith("I") && x.getKind() == Kind.Int && y.getKind().getStackKind() == Kind.Int) ||
16323
f22e4fd06a7e [SPARC] Fixing BC_new, BC_fcmpxx
Stefan Anzinger <stefan.anzinger@gmail.com>
parents: 16322
diff changeset
72 (name().startsWith("L") && x.getKind() == Kind.Long && y.getKind() == Kind.Long) ||
f22e4fd06a7e [SPARC] Fixing BC_new, BC_fcmpxx
Stefan Anzinger <stefan.anzinger@gmail.com>
parents: 16322
diff changeset
73 (name().startsWith("A") && x.getKind() == Kind.Object && y.getKind() == Kind.Object) ||
f22e4fd06a7e [SPARC] Fixing BC_new, BC_fcmpxx
Stefan Anzinger <stefan.anzinger@gmail.com>
parents: 16322
diff changeset
74 (name().startsWith("F") && x.getKind() == Kind.Float && y.getKind() == Kind.Float) ||
f22e4fd06a7e [SPARC] Fixing BC_new, BC_fcmpxx
Stefan Anzinger <stefan.anzinger@gmail.com>
parents: 16322
diff changeset
75 (name().startsWith("D") && x.getKind() == Kind.Double && y.getKind() == Kind.Double)
f22e4fd06a7e [SPARC] Fixing BC_new, BC_fcmpxx
Stefan Anzinger <stefan.anzinger@gmail.com>
parents: 16322
diff changeset
76 : "Name; " + name() + " x: " + x + " y: " + y;
f22e4fd06a7e [SPARC] Fixing BC_new, BC_fcmpxx
Stefan Anzinger <stefan.anzinger@gmail.com>
parents: 16322
diff changeset
77
f22e4fd06a7e [SPARC] Fixing BC_new, BC_fcmpxx
Stefan Anzinger <stefan.anzinger@gmail.com>
parents: 16322
diff changeset
78 // @formatter:on
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
79 }
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
80 }
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
81
13227
1a66453f73db renamed TargetMethodAssembler to CompilationResultBuilder
Doug Simon <doug.simon@oracle.com>
parents: 10792
diff changeset
82 public static void emit(CompilationResultBuilder crb, SPARCMacroAssembler masm, SPARCCompare opcode, Value x, Value y) {
9843
e05af215586b SPARC compare
Morris Meyer <morris.meyer@oracle.com>
parents: 9831
diff changeset
83 if (isRegister(y)) {
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
84 switch (opcode) {
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
85 case ICMP:
19675
f1b4f2613702 [SPARC] Change arithmetic ops of SPARC to functions in assembler
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 19672
diff changeset
86 masm.cmp(asIntReg(x), asIntReg(y));
9843
e05af215586b SPARC compare
Morris Meyer <morris.meyer@oracle.com>
parents: 9831
diff changeset
87 break;
e05af215586b SPARC compare
Morris Meyer <morris.meyer@oracle.com>
parents: 9831
diff changeset
88 case LCMP:
19675
f1b4f2613702 [SPARC] Change arithmetic ops of SPARC to functions in assembler
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 19672
diff changeset
89 masm.cmp(asLongReg(x), asLongReg(y));
9843
e05af215586b SPARC compare
Morris Meyer <morris.meyer@oracle.com>
parents: 9831
diff changeset
90 break;
e05af215586b SPARC compare
Morris Meyer <morris.meyer@oracle.com>
parents: 9831
diff changeset
91 case ACMP:
19675
f1b4f2613702 [SPARC] Change arithmetic ops of SPARC to functions in assembler
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 19672
diff changeset
92 masm.cmp(asObjectReg(x), asObjectReg(y));
10792
7a8d6ba83a04 SPARC: fixes and more stuff works
twisti
parents: 10694
diff changeset
93 break;
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
94 case FCMP:
19672
b1b887938753 [SPARC] Change fcmp
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 18187
diff changeset
95 masm.fcmp(Fcc0, Fcmps, asFloatReg(x), asFloatReg(y));
16322
f96d9c455da5 Fixing dcmp
Stefan Anzinger <stefan.anzinger@gmail.com>
parents: 15193
diff changeset
96 break;
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
97 case DCMP:
19672
b1b887938753 [SPARC] Change fcmp
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 18187
diff changeset
98 masm.fcmp(Fcc0, Fcmpd, asDoubleReg(x), asDoubleReg(y));
16322
f96d9c455da5 Fixing dcmp
Stefan Anzinger <stefan.anzinger@gmail.com>
parents: 15193
diff changeset
99 break;
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
100 default:
21543
93c50cefb9e8 moved GraalInternalError to com.oracle.jvmci.common and renamed it to JVMCIError (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21137
diff changeset
101 throw JVMCIError.shouldNotReachHere();
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
102 }
10459
f78079947084 some basic SPARC arithmetic works
twisti
parents: 9856
diff changeset
103 } else {
f78079947084 some basic SPARC arithmetic works
twisti
parents: 9856
diff changeset
104 assert isConstant(y);
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
105 switch (opcode) {
17177
805a26002dc7 [SPARC] Implement stuffing of delay slots in branches and calls. Optimized the cmove for integer and fp ops
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 16518
diff changeset
106 case LCMP:
805a26002dc7 [SPARC] Implement stuffing of delay slots in branches and calls. Optimized the cmove for integer and fp ops
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 16518
diff changeset
107 assert isSimm13(crb.asLongConst(y));
19675
f1b4f2613702 [SPARC] Change arithmetic ops of SPARC to functions in assembler
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 19672
diff changeset
108 masm.cmp(asLongReg(x), (int) crb.asLongConst(y));
17177
805a26002dc7 [SPARC] Implement stuffing of delay slots in branches and calls. Optimized the cmove for integer and fp ops
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 16518
diff changeset
109 break;
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
110 case ICMP:
13227
1a66453f73db renamed TargetMethodAssembler to CompilationResultBuilder
Doug Simon <doug.simon@oracle.com>
parents: 10792
diff changeset
111 assert isSimm13(crb.asIntConst(y));
19675
f1b4f2613702 [SPARC] Change arithmetic ops of SPARC to functions in assembler
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 19672
diff changeset
112 masm.cmp(asIntReg(x), crb.asIntConst(y));
9843
e05af215586b SPARC compare
Morris Meyer <morris.meyer@oracle.com>
parents: 9831
diff changeset
113 break;
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
114 case ACMP:
18187
9619ba4daf4c Rename Constant to JavaConstant.
Roland Schatz <roland.schatz@oracle.com>
parents: 17604
diff changeset
115 if (((JavaConstant) y).isNull()) {
19675
f1b4f2613702 [SPARC] Change arithmetic ops of SPARC to functions in assembler
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 19672
diff changeset
116 masm.cmp(asObjectReg(x), 0);
10694
31266ceb86ef SPARC: Can compile and run two or three methods of a bootstrap.
twisti
parents: 10686
diff changeset
117 break;
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
118 } else {
21543
93c50cefb9e8 moved GraalInternalError to com.oracle.jvmci.common and renamed it to JVMCIError (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21137
diff changeset
119 throw JVMCIError.shouldNotReachHere("Only null object constants are allowed in comparisons");
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
120 }
9843
e05af215586b SPARC compare
Morris Meyer <morris.meyer@oracle.com>
parents: 9831
diff changeset
121 case FCMP:
19672
b1b887938753 [SPARC] Change fcmp
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 18187
diff changeset
122 masm.fcmp(Fcc0, Fcmps, asFloatReg(x), asFloatReg(y));
16323
f22e4fd06a7e [SPARC] Fixing BC_new, BC_fcmpxx
Stefan Anzinger <stefan.anzinger@gmail.com>
parents: 16322
diff changeset
123 break;
9843
e05af215586b SPARC compare
Morris Meyer <morris.meyer@oracle.com>
parents: 9831
diff changeset
124 case DCMP:
19672
b1b887938753 [SPARC] Change fcmp
Stefan Anzinger <stefan.anzinger@oracle.com>
parents: 18187
diff changeset
125 masm.fcmp(Fcc0, Fcmpd, asDoubleReg(x), asDoubleReg(y));
16323
f22e4fd06a7e [SPARC] Fixing BC_new, BC_fcmpxx
Stefan Anzinger <stefan.anzinger@gmail.com>
parents: 16322
diff changeset
126 break;
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
127 default:
21543
93c50cefb9e8 moved GraalInternalError to com.oracle.jvmci.common and renamed it to JVMCIError (JBS:GRAAL-53)
Doug Simon <doug.simon@oracle.com>
parents: 21137
diff changeset
128 throw JVMCIError.shouldNotReachHere();
9831
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
129 }
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
130 }
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
131 }
705aca4ebf2f SPARC array, load / store and compare operations
Morris Meyer <morris.meyer@oracle.com>
parents:
diff changeset
132 }