$ sysctl hw.optional | grep -E 'neon|armv8'
hw.optional.neon: 1
hw.optional.neon_hpfp: 1
hw.optional.neon_fp16: 1
hw.optional.armv8_1_atomics: 1
hw.optional.armv8_crc32: 1
hw.optional.armv8_2_fhm: 1
hw.optional.armv8_2_sha512: 1
hw.optional.armv8_2_sha3: 1

> Le 26 avr. 2021 à 19:55, Jason Liu <[email protected]> a écrit :
> 
> On Mon, Apr 26, 2021 at 1:42 PM Christopher Jones <[email protected] 
> <mailto:[email protected]>> wrote:
> Thats not at all surprising as those instruction sets are very much specific 
> to X86_64 systems.
> 
> RISC processors, Arm, do have their own sets of SIMD instructions (e.g. 
> Neon), but they are entirely different to those on X86_64 machines. 
> 
> Whether or these are supported on Apple’s M1 processors I have no idea.
> 
> It looks like the M1 supports Neon SIMD instructions, but not SVE SIMD (which 
> I guess is supposed to be similar to AVX?):
> 
> https://discussions.apple.com/thread/252073619 
> <https://discussions.apple.com/thread/252073619>
> 
> -- 
> Jason Liu
> 
> 
> On Mon, Apr 26, 2021 at 1:42 PM Christopher Jones <[email protected] 
> <mailto:[email protected]>> wrote:
> 
> 
>> On 26 Apr 2021, at 6:28 pm, Jason Liu <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Thanks Arno :)
>> 
>> I'm kind of surprised that the M1 doesn't seem to support any SSE or AVX....
> 
> 
> Thats not at all surprising as those instruction sets are very much specific 
> to X86_64 systems.
> 
> RISC processors, Arm, do have their own sets of SIMD instructions (e.g. 
> Neon), but they are entirely different to those on X86_64 machines. 
> 
> Whether or these are supported on Apple’s M1 processors I have no idea.
> 
> Chris
> 
> 
> 
>> 
>> Does "sysctl machdep.cpu.features" return anything?
>> 
>> -- 
>> Jason Liu
>> 
>> 
>> On Mon, Apr 26, 2021 at 1:23 PM Arno Hautala <[email protected] 
>> <mailto:[email protected]>> wrote:
>> > On 26 Apr 2021, at 13:20, Jason Liu <[email protected] 
>> > <mailto:[email protected]>> wrote:
>> > 
>> > sysctl machdep.cpu.brand_string ; sysctl machdep.cpu | grep -i "avx\|sse”
>> 
>> $ sysctl machdep.cpu.brand_string ; sysctl machdep.cpu | grep -i "avx\|sse”
>> machdep.cpu.brand_string: Apple M1
>> 
>> -- 
>> arno  s  hautala    /-|   [email protected] <mailto:[email protected]>
>> 
>> pgp b2c9d448
>> 
>> 
> 

Reply via email to