This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] clean up pdp11.md a bit
On 02/14/2012 03:41 PM, Steven Bosscher wrote:
> Not sure why this was changed. What I'd like to do, is remove the
> divhi3 and movhi3 define_expand and define_insn, and just keep
> divmodhi4. You point to s390. I suppose you mean the divmoddi4
> expander there?
Yes. Naturally the TImode stuff becomes SImode in the pdp11 version.
>> (define_insn "zero_extendqihi2"
>> (define_expand "zero_extendhisi2"
>
> What do you mean with "generated by generic code"?
> And the define_insn has to stay, surely?
I mean that optabs.c will generate the right thing by itself
without you providing these patterns at all.
r~