Commit 54f5c4b0 by Jakub Jelinek Committed by Jakub Jelinek

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
parent a3b815cb
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.
......
......@@ -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]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment