graal/com.oracle.graal.compiler.ptx/src/com/oracle/graal/compiler/ptx/PTXBackend.java
Print this page
rev 8663 : [mq]: ptx_lookup_switch
*** 92,102 ****
codeBuffer.emitString0(") {");
codeBuffer.emitString("");
// XXX For now declare one predicate and all registers
! codeBuffer.emitString(" .reg .pred %p;");
codeBuffer.emitString(" .reg .u32 %r<16>;");
// Emit code for the LIR
lirGen.lir.emitCode(tasm);
--- 92,102 ----
codeBuffer.emitString0(") {");
codeBuffer.emitString("");
// XXX For now declare one predicate and all registers
! codeBuffer.emitString(" .reg .pred %p,%q;");
codeBuffer.emitString(" .reg .u32 %r<16>;");
// Emit code for the LIR
lirGen.lir.emitCode(tasm);