[LLVMdev] Unsigned int multiplication using UMUL_LOHI
eli.friedman at gmail.com
Tue Dec 8 19:13:11 PST 2009
On Tue, Dec 8, 2009 at 6:23 PM, Javier Martinez <javier at jmartinez.org> wrote:
> For my target HasSMUL_LOHI and HasUMUL_LOHI are both true while HasMULHS
> and HasMULHU are both false (default). Under this conditions it doesn't
> matter if the multiplication is done on integers or unsigned integers at
> the end of the code snipet OpToUse will be ISD::SMUL_LOHI. Is there a way
> of fixing this?
What exactly needs to be fixed? x86, for example, is precisely the
same as your target in this respect.
More information about the llvm-dev