Mercurial > hg > truffle
changeset 10880:7bd19a37f764
PTX support for Linux
author | Morris Meyer <morris.meyer@oracle.com> |
---|---|
date | Thu, 25 Jul 2013 22:17:37 -0400 |
parents | d55f24eac4b1 |
children | f9215ee02538 |
files | graal/com.oracle.graal.compiler.ptx/src/com/oracle/graal/compiler/ptx/PTXBackend.java |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.ptx/src/com/oracle/graal/compiler/ptx/PTXBackend.java Thu Jul 25 22:15:30 2013 -0400 +++ b/graal/com.oracle.graal.compiler.ptx/src/com/oracle/graal/compiler/ptx/PTXBackend.java Thu Jul 25 22:17:37 2013 -0400 @@ -123,8 +123,8 @@ // Not sure but specify 64-bit specifier?? param = ".param .s64 param" + i; break; - } - if (i != (paramCount -1)) { + } + if (i != (paramCount -1 )) { param += ","; } codeBuffer.emitString(param); @@ -135,7 +135,7 @@ // XXX For now declare one predicate and all registers codeBuffer.emitString(" .reg .pred %p,%q;"); - codeBuffer.emitString(" .reg .s" + regSize +" %r<16>;"); + codeBuffer.emitString(" .reg .s" + regSize + " %r<16>;"); // Emit code for the LIR lirGen.lir.emitCode(tasm);