Re: [oi-dev] SIMD support

2024-02-15 Thread Bill Sommerfeld via oi-dev

On 2/15/24 08:09, Marcel Telka wrote:

$ isainfo -v
64-bit amd64 applications
 fsgsbase rdseed adx avx2 fma bmi2 bmi1 rdrand f16c vmx avx xsave
 pclmulqdq aes movbe sse4.2 sse4.1 ssse3 amd_lzcnt popcnt tscp cx16
 sse3 sse2 sse fxsr mmx cmov amd_sysc cx8 tsc fpu
32-bit i386 applications
 rdseed adx avx2 fma bmi2 bmi1 rdrand f16c vmx avx xsave pclmulqdq
 aes movbe sse4.2 sse4.1 ssse3 amd_lzcnt popcnt tscp ahf cx16 sse3
 sse2 sse fxsr mmx cmov sep cx8 tsc fpu


There is no 'simd' in your output.  Does it mean you do not have simd
support?


SIMD is a generic term ("single instruction, multiple data") for the 
ability of a single machine instruction to process multiple values of 
the same type in parallel.  Usually comes with a wide register set.


In intel-family architectures it could refer to any number of 
architectural features/extensions including MMX (128 bit wide integer), 
various versions of SSE (128 bit wide FP & integer), various versions 
and flavors of AVX (128 bit to 512 bit wide FP & integer), etc.; other 
architectures also have SIMD instructions as well.


All amd64 processors have at least SSE2 available.

- Bill






___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] SIMD support

2024-02-15 Thread Toomas Soome via oi-dev


> On 15. Feb 2024, at 18:25, Marcel Telka  wrote:
> 
> On Thu, Feb 15, 2024 at 05:09:12PM +0100, Marcel Telka wrote:
>> On Thu, Feb 15, 2024 at 06:01:16PM +0200, Toomas Soome via oi-dev wrote:
>>> 
>>> 
 On 15. Feb 2024, at 17:47, Marcel Telka  wrote:
 
 Hi,
 
 There[1] is this comment:
 
 # We cannot build sbcl on our build server because it lacks SIMD support.
 
 
 How can I check a machine does have SIMD support?
 
 
 Thank you.
 
>>> 
>>> $ isainfo -v
>>> 64-bit amd64 applications
>>>fsgsbase rdseed adx avx2 fma bmi2 bmi1 rdrand f16c vmx avx xsave 
>>>pclmulqdq aes movbe sse4.2 sse4.1 ssse3 amd_lzcnt popcnt tscp cx16 
>>>sse3 sse2 sse fxsr mmx cmov amd_sysc cx8 tsc fpu 
>>> 32-bit i386 applications
>>>rdseed adx avx2 fma bmi2 bmi1 rdrand f16c vmx avx xsave pclmulqdq 
>>>aes movbe sse4.2 sse4.1 ssse3 amd_lzcnt popcnt tscp ahf cx16 sse3 
>>>sse2 sse fxsr mmx cmov sep cx8 tsc fpu 
>> 
>> There is no 'simd' in your output.  Does it mean you do not have simd
>> support?
> 
> The initial comment I was referring to is misleading.  It should say
> AVX2 instead of SIMD.
> 

Well, yes, AVX is part of SIMD (SSE), and yes, AVX2 is listed as well:)

rgds,
toomas

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] SIMD support

2024-02-15 Thread Marcel Telka
On Thu, Feb 15, 2024 at 05:09:12PM +0100, Marcel Telka wrote:
> On Thu, Feb 15, 2024 at 06:01:16PM +0200, Toomas Soome via oi-dev wrote:
> > 
> > 
> > > On 15. Feb 2024, at 17:47, Marcel Telka  wrote:
> > > 
> > > Hi,
> > > 
> > > There[1] is this comment:
> > > 
> > > # We cannot build sbcl on our build server because it lacks SIMD support.
> > > 
> > > 
> > > How can I check a machine does have SIMD support?
> > > 
> > > 
> > > Thank you.
> > > 
> > 
> > $ isainfo -v
> > 64-bit amd64 applications
> > fsgsbase rdseed adx avx2 fma bmi2 bmi1 rdrand f16c vmx avx xsave 
> > pclmulqdq aes movbe sse4.2 sse4.1 ssse3 amd_lzcnt popcnt tscp cx16 
> > sse3 sse2 sse fxsr mmx cmov amd_sysc cx8 tsc fpu 
> > 32-bit i386 applications
> > rdseed adx avx2 fma bmi2 bmi1 rdrand f16c vmx avx xsave pclmulqdq 
> > aes movbe sse4.2 sse4.1 ssse3 amd_lzcnt popcnt tscp ahf cx16 sse3 
> > sse2 sse fxsr mmx cmov sep cx8 tsc fpu 
> 
> There is no 'simd' in your output.  Does it mean you do not have simd
> support?

The initial comment I was referring to is misleading.  It should say
AVX2 instead of SIMD.

-- 
+---+
| Marcel Telka   e-mail:   mar...@telka.sk  |
|homepage: http://telka.sk/ |
+---+

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] SIMD support

2024-02-15 Thread Marcel Telka
On Thu, Feb 15, 2024 at 06:01:16PM +0200, Toomas Soome via oi-dev wrote:
> 
> 
> > On 15. Feb 2024, at 17:47, Marcel Telka  wrote:
> > 
> > Hi,
> > 
> > There[1] is this comment:
> > 
> > # We cannot build sbcl on our build server because it lacks SIMD support.
> > 
> > 
> > How can I check a machine does have SIMD support?
> > 
> > 
> > Thank you.
> > 
> 
> $ isainfo -v
> 64-bit amd64 applications
> fsgsbase rdseed adx avx2 fma bmi2 bmi1 rdrand f16c vmx avx xsave 
> pclmulqdq aes movbe sse4.2 sse4.1 ssse3 amd_lzcnt popcnt tscp cx16 
> sse3 sse2 sse fxsr mmx cmov amd_sysc cx8 tsc fpu 
> 32-bit i386 applications
> rdseed adx avx2 fma bmi2 bmi1 rdrand f16c vmx avx xsave pclmulqdq 
> aes movbe sse4.2 sse4.1 ssse3 amd_lzcnt popcnt tscp ahf cx16 sse3 
> sse2 sse fxsr mmx cmov sep cx8 tsc fpu 

There is no 'simd' in your output.  Does it mean you do not have simd
support?

-- 
+---+
| Marcel Telka   e-mail:   mar...@telka.sk  |
|homepage: http://telka.sk/ |
+---+

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] SIMD support

2024-02-15 Thread Toomas Soome via oi-dev


> On 15. Feb 2024, at 17:47, Marcel Telka  wrote:
> 
> Hi,
> 
> There[1] is this comment:
> 
> # We cannot build sbcl on our build server because it lacks SIMD support.
> 
> 
> How can I check a machine does have SIMD support?
> 
> 
> Thank you.
> 

$ isainfo -v
64-bit amd64 applications
fsgsbase rdseed adx avx2 fma bmi2 bmi1 rdrand f16c vmx avx xsave 
pclmulqdq aes movbe sse4.2 sse4.1 ssse3 amd_lzcnt popcnt tscp cx16 
sse3 sse2 sse fxsr mmx cmov amd_sysc cx8 tsc fpu 
32-bit i386 applications
rdseed adx avx2 fma bmi2 bmi1 rdrand f16c vmx avx xsave pclmulqdq 
aes movbe sse4.2 sse4.1 ssse3 amd_lzcnt popcnt tscp ahf cx16 sse3 
sse2 sse fxsr mmx cmov sep cx8 tsc fpu 

rgds,
toomas___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


[oi-dev] SIMD support

2024-02-15 Thread Marcel Telka
Hi,

There[1] is this comment:

# We cannot build sbcl on our build server because it lacks SIMD support.


How can I check a machine does have SIMD support?


Thank you.


[1] 
https://github.com/OpenIndiana/oi-userland/blob/dbaa9a28b594d970f75d4ab50bf0a70a8006427a/components/components.ignore#L31

-- 
+---+
| Marcel Telka   e-mail:   mar...@telka.sk  |
|homepage: http://telka.sk/ |
+---+

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev