Re: [flac-dev] slow on apple silicon?

2022-07-08 Thread Martijn van Beurden
Op wo 6 jul. 2022 om 22:09 schreef Scott Brown : > Same list of cputype errors > It doesn't seem to be obvious where the problem lies, and I do not have access to ARM-powered Mac hardware (nor any Mac hardware for that matter) so I am unable to debug this. Anyone else?

Re: [flac-dev] slow on apple silicon?

2022-07-06 Thread Scott Brown
Same list of cputype errors On Wed, Jul 6, 2022 at 3:30 PM Martijn van Beurden wrote: > Op wo 6 jul. 2022 om 21:21 schreef Scott Brown : > > Configure for just arm64 gives neon optimizations, but "make" gives a > bunch of cputype errors: > > What happens if you run 'make clean all' instead of

Re: [flac-dev] slow on apple silicon?

2022-07-06 Thread Martijn van Beurden
Op wo 6 jul. 2022 om 21:21 schreef Scott Brown : > Configure for just arm64 gives neon optimizations, but "make" gives a bunch > of cputype errors: What happens if you run 'make clean all' instead of just 'make'? ___ flac-dev mailing list

Re: [flac-dev] slow on apple silicon?

2022-07-06 Thread Scott Brown
Ok, so the latest being slower on both builds at level 8 than the Released 1.3.4 makes sense with recent compression improvements. Thanks. I was using level 8 for all tests. As for the Neon optimizations, it seems that if I configure for Universal binary ( -arch arm64 -arch x86_64),the neon

Re: [flac-dev] slow on apple silicon?

2022-07-06 Thread Martijn van Beurden
Op wo 6 jul. 2022 om 20:45 schreef Scott Brown : > Neon optimizations : .. no It seems for some reason NEON is not enabled by configure. Can you provide the config.log file so I can check what goes wrong? > But this version is even *slower* than the released 1.3.4.

Re: [flac-dev] slow on apple silicon?

2022-07-06 Thread Scott Brown
I got the latest from git and compiled it. the output from config looks like this: Configuration summary : FLAC version : 1.3.4 Host CPU : aarch64 Host Vendor : . apple Host OS :

Re: [flac-dev] slow on apple silicon?

2022-07-06 Thread Martijn van Beurden
Op wo 6 jul. 2022 om 18:34 schreef Scott Brown : > Martijn filled me in that recent changes (since the official 1.3.4 source) > have added ARM improvements, and that if I get the most recent code, I > should be good. > Huh, I have no clue why my mailing program decided replies to this shouldn't

Re: [flac-dev] slow on apple silicon?

2022-07-06 Thread Scott Brown
Martijn filled me in that recent changes (since the official 1.3.4 source) have added ARM improvements, and that if I get the most recent code, I should be good. (I can't get the most recent code to compile, but that's a different story I suppose) Thanks, Scott On Tue, Jul 5, 2022 at 2:44 PM

Re: [flac-dev] slow on apple silicon?

2022-07-05 Thread brianw
You raise excellent questions. I have not been paying attention to Apple's compiler support for the M1, M1 Pro, and M1 Max. Do you have the latest compiler from Apple? Are you sure that -O3 is the best option? I seem to recall that the 'best' has changed over the years. I also recall that

[flac-dev] slow on apple silicon?

2022-07-05 Thread Scott Brown
Hi everyone, I've got a question regarding Apple Silicon chips and flac encoding. I'm not seeing the speed I think I should be seeing I compiled a universal flac 1.3.4 for Apple Silicon and 64 bit intel like so: ./configure -enable-static -disable-shared CFLAGS=" -arch arm64 -arch x86_64