alpha.c (override_options): ev6 cache latencies from Richard Henderson.

* config/alpha/alpha.c (override_options): ev6 cache latencies
	from Richard Henderson.  Don't allow -mmemory-latency=L0.

From-SVN: r36444
This commit is contained in:
Jakub Jelinek 2000-09-15 21:02:22 +02:00 committed by Jakub Jelinek
parent a3b815cb1b
commit 54f5c4b098
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2000-09-15 Jakub Jelinek <jakub@redhat.com>
* config/alpha/alpha.c (override_options): ev6 cache latencies
from Richard Henderson. Don't allow -mmemory-latency=L0.
* config/alpha/alpha.h (TARGET_CPU_EV5, TARGET_CPU_EV6): Define.
(TARGET_OPTIONS): Add tune=.
(alpha_tune_string): Declare.

View file

@ -309,11 +309,11 @@ override_options ()
{
{ 3, 30, -1 }, /* ev4 -- Bcache is a guess */
{ 2, 12, 38 }, /* ev5 -- Bcache from PC164 LMbench numbers */
{ 3, 13, -1 }, /* ev6 -- Ho hum, doesn't exist yet */
{ 3, 12, 30 }, /* ev6 -- Bcache from DS20 LMbench. */
};
lat = alpha_mlat_string[1] - '0';
if (lat < 0 || lat > 3 || cache_latency[alpha_cpu][lat-1] == -1)
if (lat <= 0 || lat > 3 || cache_latency[alpha_cpu][lat-1] == -1)
{
warning ("L%d cache latency unknown for %s",
lat, alpha_cpu_name[alpha_cpu]);