Mercurial > hg > graal-compiler
changeset 7328:edb4951bc8b5
Increase loop alignment to 2 words.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 10 Jan 2013 15:28:26 +0100 |
parents | 3f78e0041007 |
children | 077a56735ce3 |
files | graal/com.oracle.graal.compiler.amd64/src/com/oracle/graal/compiler/amd64/AMD64LIRGenerator.java graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/gen/LIRGenerator.java graal/com.oracle.graal.lir/src/com/oracle/graal/lir/StandardOp.java |
diffstat | 3 files changed, 1 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.amd64/src/com/oracle/graal/compiler/amd64/AMD64LIRGenerator.java Thu Jan 10 15:00:15 2013 +0100 +++ b/graal/com.oracle.graal.compiler.amd64/src/com/oracle/graal/compiler/amd64/AMD64LIRGenerator.java Thu Jan 10 15:28:26 2013 +0100 @@ -40,7 +40,6 @@ import com.oracle.graal.graph.*; import com.oracle.graal.lir.*; import com.oracle.graal.lir.StandardOp.JumpOp; -import com.oracle.graal.lir.StandardOp.LabelOp; import com.oracle.graal.lir.amd64.AMD64Arithmetic.DivOp; import com.oracle.graal.lir.amd64.AMD64Arithmetic.Op1Reg; import com.oracle.graal.lir.amd64.AMD64Arithmetic.Op1Stack; @@ -221,11 +220,6 @@ } @Override - public void emitLabel(Label label, boolean align) { - append(new LabelOp(label, align)); - } - - @Override public void emitJump(LabelRef label, LIRFrameState info) { append(new JumpOp(label, info)); }
--- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/gen/LIRGenerator.java Thu Jan 10 15:00:15 2013 +0100 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/gen/LIRGenerator.java Thu Jan 10 15:28:26 2013 +0100 @@ -670,7 +670,6 @@ } - public abstract void emitLabel(Label label, boolean align); public abstract void emitJump(LabelRef label, LIRFrameState info); public abstract void emitBranch(Value left, Value right, Condition cond, boolean unorderedIsTrue, LabelRef label, LIRFrameState info); public abstract Variable emitCMove(Value leftVal, Value right, Condition cond, boolean unorderedIsTrue, Value trueValue, Value falseValue);
--- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/StandardOp.java Thu Jan 10 15:00:15 2013 +0100 +++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/StandardOp.java Thu Jan 10 15:28:26 2013 +0100 @@ -60,7 +60,7 @@ @Override public void emitCode(TargetMethodAssembler tasm) { if (align) { - tasm.asm.align(tasm.target.wordSize); + tasm.asm.align(tasm.target.wordSize * 2); } tasm.asm.bind(label); }