[LLVMdev] Instruction sets requiring more than 3 operands
evan.cheng at apple.com
Thu Dec 14 21:56:01 PST 2006
Sounds like you need to define variable_ops instructions. Take a look
at CALLpcrel32 in X86InstrInfo.td as an example. Just do a grab for
variable_ops. There are a number of such instructions in various
On Dec 14, 2006, at 11:58 AM, Seung Jae Lee wrote:
> I am making a LLVM backend for a new architecture XCC. During
> implementation of instructions for XCC, I found that there are
> instructions need more than 3 operands in the target language
> manual. I could implement insructions need 1, 2 or 3 operands
> thanks to the examples in the LLVM backends already offered by you
> But, I am not sure about those kind of instructions needs many
> number of operands that is not fixed. That is, it can be 4, 5,
> 6 ... which changes according to the program.
> Would you mind letting me know about this?
> Thank you.
> Seung Jae Lee
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev