[LLVMdev] IMUL x86 instruction

Tim Northover t.p.northover at gmail.com
Sun Jul 13 09:57:58 PDT 2014


> For context, I am writing a x86 to LLVM IR decompiler, so wish to
> represent IMUL in LLVM IR.

>From a decompiler's perspective, it probably represents 3
instructions: 2 sexts (imul is the signed one, isn't it?) and a mul.
With the usual caveats you'll be dealing with over EFLAGS.

Cheers.

Tim.



More information about the llvm-dev mailing list