Is there a variant of buildmi where I can just deposit a constant inline in the instruction stream? I..e something like .word 0xdeadface I don't have time to do the constant island code for Mips 16 right now and want to just emit: lw rx .+4 b .+6 .word 0xdeadface .... Later I will move the constant somewhere nearby, adjust the target of the "lw" and delete the branch.
Seems like ARM does this by just using a pseudo. I can do the same but had been hoping for a buildmi primitive. On 11/09/2012 05:59 PM, reed kotler wrote:> Is there a variant of buildmi where I can just deposit a constant inline > in the instruction stream? > > I..e something like > > .word 0xdeadface > > I don't have time to do the constant island code for Mips 16 right now > and want to just emit: > > lw rx .+4 > b .+6 > .word 0xdeadface > .... > > Later I will move the constant somewhere nearby, adjust the target of > the "lw" and delete the branch.
Maybe Matching Threads
- [LLVMdev] forcing two instructions to be together
- [LLVMdev] forcing two instructions to be together
- LLVM X86 MachineBasicBlock inserting push and pop instructions causes segmentation fault
- Fwd: calculating dissimilarity index of islands (vegan and betapart)
- [LLVMdev] MachineBasicBlock insertion