Subject: Re: new sysctl: hw.cpu_isa
To: Simon Burge <>
From: Jason R Thorpe <>
List: tech-kern
Date: 11/13/2000 07:43:44
On Tue, Nov 14, 2000 at 01:13:04AM +1100, Simon Burge wrote:

 > 	sparc	sun4{,c,m,u}

Well, first of all, sun4u doesn't belong under "sparc" :-)

Seems that you want to return sparcv7, sparcv8, etc.  Maybe even finer
grained than that -- look at what gcc's -mcpu=... switches are for
the SPARC.

 > 	sparc64	sun4u

Here, I think you want sparcv8+ (or whatever the "ultrasparc, but only
32-bit safe" is called) and sparcv9.

        -- Jason R. Thorpe <>