libFLAC/cpu.c: Eliminate a branch in cpu_info_x86
authorJulian Calaby <julian.calaby@gmail.com>
Mon, 27 Jun 2016 12:37:45 +0000 (22:37 +1000)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Tue, 28 Jun 2016 08:08:12 +0000 (18:08 +1000)
commit79ca23ece346e80e3f188e6192b8393d693fe31b
tree24cf695594354bcf956d5f2a4a5ffea0f6ce6e7b
parente58a6e75495a4d74c0f504066390aaa42b418682
libFLAC/cpu.c: Eliminate a branch in cpu_info_x86

Inverting all the if statements allows us to move the common code of
setting all the registers to zero outside the #if statement.
src/libFLAC/cpu.c