Lu Mitnick
2011-Jan-19 18:29 UTC
[LLVMdev] Question about porting LLVM - variable length lnstruction
Hello all, I am adding a new target into LLVM. However the instruction length of the target I ported is variable. Each instruction is at least 1 + 1 bytes(required) and optional parts(There are many forms of optional part suck like i16, i32, i64, i16 + i16, i16 + i32, i16 + i64, i32 + i32, i64 + i64). The form of optional part is determined by the required parts. In other words, each instruction fetch have two phase: one for fetch the required part and another for optional part. There is similar problem of X86 target but it is too complex to understand for me. I am wondering to know whether there is another target with this problem and I should trace?? Or how could I deal with this problem?? thanks a lot yi-hong -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110120/3858c51a/attachment.html>
Reasonably Related Threads
- [LLVMdev] Question about porting LLVM - a single instruction op mnemonic with multiple operand forms
- [LLVMdev] Question about porting LLVM - code selection without assembler feature
- [LLVMdev] Question about porting LLVM - code selection without assembler feature
- [LLVMdev] Modify the LLVM front-end to support EFI C and Add LLVM to EFI Byte Code(EBC) target
- [LLVMdev] Question about porting LLVM - a single instruction op mnemonic with multiple operand forms