[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: EV67 optimized libc6.1



Aurelien,

You wrote:
> Jeff Donsbach wrote:
> What you might want to do is test for the CPU's capabilities (i.e. bwx

> support, mvi support, cix support) individually rather than a blanket 
> "if ev67 (do a) else (do b)"
> 
>Well this is not possible, the kernel only returns the CPU class, from
the following list: ev4,
>ev5, ev56, pca56, ev6, ev67.

It may be too granular from a kernel API, but fyi, you can detect which
instruction set extensions the chip supports using the Alpha's AMASK
instruction with an inline assembly instruction or two.

See this document about the MVI extension
(http://www.alphalinux.org/docs/MVI-full.html#DetectingMVI). It has
listing of what the other bits mean too (BWX, CIX, SQRT, etc)

I haven't looked at your code changes yet, but I'll do so when I get
some free moments of spare time.

Hope this helps,
Jeff D
--
Jeff Donsbach
https://ecardfile.com/id/jeff.donsbach
 



Reply to: