[llvm-dev] x86 instruction format which takes a single 64-bit immediate

Tom Stellard via llvm-dev llvm-dev at lists.llvm.org
Wed Mar 28 16:57:01 PDT 2018


On 03/28/2018 04:50 PM, Gus Smith via llvm-dev wrote:
> I am attempting to create an instruction which takes a single 64-bit immediate. This doesn't seem like a thing that would exist already (because who needs an instruction which just takes an immediate?) How might I implement this easily? Perhaps I could use a format which encodes a register, which is then unused?
> 

Are you trying to create an instruction that will be emitted by the
code generator or do you just want a pseudo instruction that you
can manipulate during the machine passes and then lower to one
or more real instructions.

-Tom

> Thanks for the help.
> Gus
> 
> 
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
> 



More information about the llvm-dev mailing list