K6 patches for review

David S. Miller davem@dm.cobaltmicro.com
Sat Aug 22 11:00:00 GMT 1998

   From: John Carr <jfc@tiac.net>
   Date: Sat, 22 Aug 1998 09:46:34 EDT

   Please comment.

   This patch adds AMD K6 optimizations, based on AMD publication 21924B
   for the K6-2.  I don't know if the K6 pipeline is significantly
   different.  I have not run benchmarks yet.

You will get more profitable results if you use a slotting scheme like
I did on the UltraSparc using the MD_SCHED macros.  Haifa is really
dumb.  Haifa never got quad issue on Ultra before my hacks, I simply
couldn't describe the chip using the current define_function_unit
scheme, now for FPU code Haifa gets quad issue often.  ADJUST_COST is
yet another hack that doesn't work at all...

David S. Miller

More information about the Gcc-patches mailing list