Mercurial > hg > truffle
changeset 20833:98af261f22f0
[SPARC] SPARCLMulccOp cannot work on constants; load values before
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Thu, 09 Apr 2015 15:45:47 +0200 |
parents | 43b3db5e8a9e |
children | a9e55baaa3cc |
files | graal/com.oracle.graal.compiler.sparc/src/com/oracle/graal/compiler/sparc/SPARCLIRGenerator.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.sparc/src/com/oracle/graal/compiler/sparc/SPARCLIRGenerator.java Thu Apr 09 15:35:29 2015 +0200 +++ b/graal/com.oracle.graal.compiler.sparc/src/com/oracle/graal/compiler/sparc/SPARCLIRGenerator.java Thu Apr 09 15:45:47 2015 +0200 @@ -626,7 +626,7 @@ case Long: if (setFlags) { Variable result = newVariable(LIRKind.derive(a, b)); - append(new SPARCLMulccOp(result, a, b, this)); + append(new SPARCLMulccOp(result, load(a), load(b), this)); return result; } else { return emitBinary(LMUL, true, a, b);