Mercurial > hg > truffle
changeset 21253:cf5f6a69d013
[SPARC] Remove register allocation HINT from SPARCArithmetic
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Wed, 06 May 2015 17:05:14 +0200 |
parents | 39ee26e85256 |
children | 7a49a2763a7a |
files | graal/com.oracle.graal.compiler.sparc.test/src/com/oracle/graal/compiler/sparc/test/SPARCAllocatorTest.java graal/com.oracle.graal.lir.sparc/src/com/oracle/graal/lir/sparc/SPARCArithmetic.java |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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) {
--- 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<Unary2Op> 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<BinaryRegReg> 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<BinaryRegConst> 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;