mmx: convert while (w) to if (w) when possible
authorMatt Turner <mattst88@gmail.com>
Fri, 23 Sep 2011 18:10:52 +0000 (14:10 -0400)
committerMatt Turner <mattst88@gmail.com>
Mon, 26 Sep 2011 15:30:05 +0000 (11:30 -0400)
commit57fd8c37aa3148b1d70bad65e1a49721e9a47d7e
tree9afbbaef8e25a1be9f606e72fdf911c83bd65ecd
parent38a7aae1d9c8e1e41de22f9c3846dfc975af6838
mmx: convert while (w) to if (w) when possible

gcc isn't able to see that w is no greater than 1, so it generates
unnecessary loop instructions with while (w).

Signed-off-by: Matt Turner <mattst88@gmail.com>
pixman/pixman-mmx.c