This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: patch - various i386.md pentium optimizations


Jan Hubicka wrote:
>  o To split di-mode aritmetic I should need to write patterns for adc
>    shld and such instructions. How to do this?

Try having a look at i860.md (mulsi3) for inspiration.  NOTE, the stock
i860.md does not produce optimal code (I have a patch that does), or
even correct in some cases working on it off and on), but it should give
you some ideas on how to write hairy define_expands.

BTW, Xaos is cool (I had a play with it last year, djgpp version, I'll
have to grab the Linux version and have some fun:).

Bill
-- 
Leave others their otherness


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]