This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Snapshot 971225 : Problem with alpha TARGET_CPU_DEFAULT definition
- To: kanazawa at flab dot fujitsu dot co dot jp (Kanazawa Yuzi)
- Subject: Re: Snapshot 971225 : Problem with alpha TARGET_CPU_DEFAULT definition
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 03 Feb 1998 01:30:12 -0700
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199801071125.UAA01955@veesey.proc.flab.fujitsu.co.jp>you write:
> I compiled snapshot 971225 on RedHat 5.0 alpha
> (alphaev5-unknown-linux-gnu-gcc). When I used the compiler, I noticed
> that it generated code much slower than before. It appeared that the
> compiler optimized the code for EV6, though the configuration said the
> cpu is EV5.
>
> This problem was caused by `TARGET_CPU_DEFAULT' definition created
> by gcc/configure. In my case, TARGET_CPU_DEFAULT was defined like
> this.
>
> tm.h:
> #define TARGET_CPU_DEFAULT MASK_CPU_EV5|MASK_GAS
I believe this was fixed a week or so ago. It should work with the current
snapshots.
jeff