[LLVMdev] subcc problem wrt sparc

Vikram Singh vsp1729 at gmail.com
Fri Jan 4 23:06:13 PST 2013


There is format in sparc
<pre> 
subcc %r1, %r2, %r3
bne .label
</pre>

I want instruction like this
<pre> bne %r1, %r2, .label </pre>
</BR>
I am referring to sparc code for this implementation  (llvm-3.1).</BR></BR>
1. Should I change the SPBranch and BCOND structs in .td file.</BR>
2. Should I change BuildMI constructs in SparcInstrInfo::InsertBranch()
function
    in SparcInstrInfo.cpp</BR>

Please help me. I am referring LLVM 3.1.</BR>

Vikram





--
View this message in context: http://llvm.1065342.n5.nabble.com/subcc-problem-wrt-sparc-tp53138.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.



More information about the llvm-dev mailing list