Erik de Castro Lopo wrote:
> has no performance impact on x86_64 linux, *may* not be the same with
> other compilers.

The approach we used in Opus was to use unsigned shifts:

https://git.xiph.org/?p=opus.git;a=commitdiff;h=1ee139bca076

That relies on implementation-defined behavior, but not undefined behavior.
_______________________________________________
flac-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to