This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: K6 patch (was: -march=k6 broken in 2.96 ?)
- To: Remi Guyomarch <rguyom at mail dot dotcom dot fr>
- Subject: Re: K6 patch (was: -march=k6 broken in 2.96 ?)
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 15 Nov 1999 02:05:54 -0700
- cc: bug-gcc at gnu dot org, gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
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