[LLVMdev] instructions requiring specific physical registers for operands

Anton Korobeynikov
Wed, 09 May 2012 11:27:46 -0000

Hello Jonas,

> I wonder, what would be the best solution for instructions that require
> operands in a particular register, and even gives the result in a
particular
> register?
You need to custom select such instruction. See e.g. div / idiv on x86
as an example.

--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University