# HG changeset patch # User Stefan Anzinger # Date 1411696836 25200 # Node ID 44389818b25b8ee76b8150cc2f05741006c8d01c # Parent 43a89fe3ff8b1bb303cca858e6f3599a24e4c867 [SPARC] Enable hinting registers in arithmetics diff -r 43a89fe3ff8b -r 44389818b25b 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 Thu Sep 25 18:59:58 2014 -0700 +++ b/graal/com.oracle.graal.lir.sparc/src/com/oracle/graal/lir/sparc/SPARCArithmetic.java Thu Sep 25 19:00:36 2014 -0700 @@ -54,7 +54,7 @@ public static class Unary2Op extends SPARCLIRInstruction implements SPARCTailDelayedLIRInstruction { @Opcode private final SPARCArithmetic opcode; - @Def({REG}) protected AllocatableValue result; + @Def({REG, HINT}) protected AllocatableValue result; @Use({REG}) protected AllocatableValue x; public Unary2Op(SPARCArithmetic opcode, AllocatableValue result, AllocatableValue x) { @@ -76,7 +76,7 @@ public static class BinaryRegReg extends SPARCLIRInstruction implements SPARCTailDelayedLIRInstruction { @Opcode private final SPARCArithmetic opcode; - @Def({REG}) protected Value result; + @Def({REG, HINT}) protected Value result; @Use({REG}) protected Value x; @Alive({REG}) protected Value y; @State LIRFrameState state; @@ -111,7 +111,7 @@ public static class BinaryRegConst extends SPARCLIRInstruction implements SPARCTailDelayedLIRInstruction { @Opcode private final SPARCArithmetic opcode; - @Def({REG}) protected AllocatableValue result; + @Def({REG, HINT}) protected AllocatableValue result; @Use({REG}) protected Value x; @State protected LIRFrameState state; protected Constant y;