# HG changeset patch # User Stefan Anzinger # Date 1430924714 -7200 # Node ID cf5f6a69d013c07e233766f8f0be51968de52b8e # Parent 39ee26e852562e2a5928f42960f70599771cf96c [SPARC] Remove register allocation HINT from SPARCArithmetic diff -r 39ee26e85256 -r cf5f6a69d013 graal/com.oracle.graal.compiler.sparc.test/src/com/oracle/graal/compiler/sparc/test/SPARCAllocatorTest.java --- a/graal/com.oracle.graal.compiler.sparc.test/src/com/oracle/graal/compiler/sparc/test/SPARCAllocatorTest.java Tue May 05 17:30:47 2015 +0200 +++ b/graal/com.oracle.graal.compiler.sparc.test/src/com/oracle/graal/compiler/sparc/test/SPARCAllocatorTest.java Wed May 06 17:05:14 2015 +0200 @@ -58,7 +58,7 @@ @Test public void test3() { - testAllocation("test3snippet", 3, 1, 0); + testAllocation("test3snippet", 3, 0, 0); } public static long test3snippet(long x) { diff -r 39ee26e85256 -r cf5f6a69d013 graal/com.oracle.graal.lir.sparc/src/com/oracle/graal/lir/sparc/SPARCArithmetic.java --- a/graal/com.oracle.graal.lir.sparc/src/com/oracle/graal/lir/sparc/SPARCArithmetic.java Tue May 05 17:30:47 2015 +0200 +++ b/graal/com.oracle.graal.lir.sparc/src/com/oracle/graal/lir/sparc/SPARCArithmetic.java Wed May 06 17:05:14 2015 +0200 @@ -66,7 +66,7 @@ public static final LIRInstructionClass TYPE = LIRInstructionClass.create(Unary2Op.class); @Opcode private final SPARCArithmetic opcode; - @Def({REG, HINT}) protected AllocatableValue result; + @Def({REG}) protected AllocatableValue result; @Use({REG}) protected AllocatableValue x; public Unary2Op(SPARCArithmetic opcode, AllocatableValue result, AllocatableValue x) { @@ -90,7 +90,7 @@ public static final LIRInstructionClass TYPE = LIRInstructionClass.create(BinaryRegReg.class); @Opcode private final SPARCArithmetic opcode; - @Def({REG, HINT}) protected Value result; + @Def({REG}) protected Value result; @Use({REG}) protected Value x; @Alive({REG}) protected Value y; @State LIRFrameState state; @@ -127,7 +127,7 @@ public static final LIRInstructionClass TYPE = LIRInstructionClass.create(BinaryRegConst.class); @Opcode private final SPARCArithmetic opcode; - @Def({REG, HINT}) protected AllocatableValue result; + @Def({REG}) protected AllocatableValue result; @Use({REG}) protected Value x; @State protected LIRFrameState state; protected JavaConstant y;