[flac-dev] How to check for 64-bit CPU?
lvqcl
lvqcl.mail at gmail.com
Tue Dec 29 08:16:04 PST 2015
Thomas Zander wrote:
> ... and this probably won't be the last time we'd need to handle special cases.
> Do we really need to handle this at all? Entangling CPU-arch-dependent
> #ifdefs with input sample size (see "tuned for N-bit input" a few
> lines below" seems weird.
> IMHO finding the rice parameter should be independent of the cpu arch
> unless there is a spectacular benefit by distinguishing.
I agree that it's a good idea to test the speed of encoding.
Maybe different code for 32-bit and 64-bit architectures
is over-optimization.
More information about the flac-dev
mailing list