[flac-dev] IA32 and NASM

Erik de Castro Lopo mle+la at mega-nerd.com
Fri Jan 31 14:10:38 PST 2014


lvqcl wrote:

> Is Nasm always available when the target architecture is IA-32?

Not it is not always available. On most Linux systems it is an optional
install.

> For example, FLAC has FLAC__lpc_compute_autocorrelation_asm_ia32_sse_lag_NN() functions
> that require NASM presence, and FLAC__lpc_compute_autocorrelation_intrin_sse_lag_NN()
> functions that require x86 intrinsics support.
> 
> FLAC makes use of the former (if NASM is available) but doesn't try to use
> the latter when NASM is not found.
> 
> 
> Or does it make sence to add the following code:

Yes it does.

Cheers,
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the flac-dev mailing list