K6 patch (was: -march=k6 broken in 2.96 ?)
Jeffrey A Law
law@cygnus.com
Tue Nov 30 23:39:00 GMT 1999
In message < 19991114164920.F11046@pingoo.ifn.fr >you write:
>
> Does this patch makes any sense ?
> With it I can bootstrap the 1999-11-10 snapshot with BOOT_CFLAGS="-O2 -marc
> h=k6".
> And the compiler still transform, for example, "movl %eax,(%esi)" to
> "movl %eax,0(%esi)".
It's basically correct. We generally use REG_P (x) to verify that x is a
register instead of GET_CODE (x) == REG. I modified the patch to use
REG_P and installed it.
Thanks,
jeff
More information about the Gcc-bugs
mailing list