[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <p734pdbbrwu.fsf@bingen.suse.de>
Date: Fri, 18 Jan 2008 06:53:53 +0100
From: Andi Kleen <andi@...stfloor.org>
To: Kyle McMartin <kyle@...artin.ca>
Cc: hpa@...or.com, tglx@...utronix.de, mingo@...hat.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86: make clflush a required feature on x86_64
Kyle McMartin <kyle@...artin.ca> writes:
> Hopefully nobody will be stupid enough to implement a cpu without
> it. Frankly, it seems safe enough given we already require SSE2.
>
> This means the compiler can optimise away "if (!cpu_has_clflush)"
> blocks.
The original required CPUID bit set for x86-64 came out of very
detailed discussions and thinking from AMD. I think they had good
reasons to chose the current set. I would only recommend to depart
from it for very good reasons and frankly you haven't given any.
You're talking about removing two instructions.
One problem that we had in the past is that some simulators
only implement the absolutely minimum feature set and you
might have well broken one of these with this.
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists