# HG changeset patch # User Morris Meyer # Date 1374805057 14400 # Node ID 7bd19a37f764632bfa065f8bf6cb2c55f08bd761 # Parent d55f24eac4b15d2139651c3921599d95e15eb547 PTX support for Linux diff -r d55f24eac4b1 -r 7bd19a37f764 graal/com.oracle.graal.compiler.ptx/src/com/oracle/graal/compiler/ptx/PTXBackend.java --- 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);