On Sat, 2005-08-06 at 16:15 +0200, Maurice van der Pot wrote:
> The new valgrind version (3.0.0) requires sse support. If you have a
> processor without sse, you'll need to stay at 2.4.1.
> 
> To make people aware of this, I could use the sse use flag in 3.0.0 
> and die if it is not present, telling people to mask versions 3.0.0 
> and up if they have a processor without sse. I would also have to check
> the arch before requiring sse.
> 
> Is there a better way to do this?
> 
> Thanks,
> Maurice.
> 

I don't think arch will help you much, at least not with x86 - x86
contains both CPUs like P4 that have SSE and i686 that does not.

I am not sure if it is better, but you can 
cat /proc/cpuinfo | grep flags | grep sse 
and die if not found.

Cheers,
Ivan Yosifov.

-- 
gentoo-dev@gentoo.org mailing list

Reply via email to