Getting gcc to use cmovs rather than branches in alg_quant()
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Sat, 6 Aug 2016 04:06:48 +0000 (00:06 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Sat, 6 Aug 2016 04:06:48 +0000 (00:06 -0400)
commit09b53529280fd132438d24d39dd0f1614318abfd
tree92c661ba007d6f647ddcfa8fba096790b59b2f27
parent416611cfa127df360d6902794b36e426477061a0
Getting gcc to use cmovs rather than branches in alg_quant()

Speeds up CELT encoding by around 5% on x86
celt/vq.c