[LLVMdev] thumb2 has divide instructions
Bagel
bagel99 at gmail.com
Wed Dec 2 10:44:11 PST 2009
Anton Korobeynikov wrote:
> Hello
> "T2Divide" should be a subtarget feature bit. This way it can be
> "automatically" assigned to the procesor.
I agree this is a better approach.
> The instruction selection patterns for t2{S,U}DIV should be also
> guarded by this predicate.
Is this necessary? Since the absence of the predicate causes lowering to
expand divides, the pattern should never show up.
>
> Also, for cortex-m3 it will be nice to have separate V7M feature profile.
>
Agreed. Now how do we get this done?
regards, bagel
More information about the llvm-dev
mailing list