util: Do not use __builtin_clrsb with Intel C++ Compiler.
authorVinson Lee <vlee@freedesktop.org>
Sat, 31 May 2014 02:40:26 +0000 (19:40 -0700)
committerVinson Lee <vlee@freedesktop.org>
Sat, 31 May 2014 02:47:35 +0000 (19:47 -0700)
commit83bba8f14603022c6c80bef95020e079d7cb73c0
tree6290c660cdb607519460e560cece333707e7fa05
parent90b5747856dd116e1a7e0fd4a93781400f276c3e
util: Do not use __builtin_clrsb with Intel C++ Compiler.

This patch fixes this build error with icc 14.0.2.

In file included from state_tracker/st_glsl_to_tgsi.cpp(63):
../../src/gallium/auxiliary/util/u_math.h(583): error: identifier "__builtin_clrsb" is undefined
     return 31 - __builtin_clrsb(i);
                 ^

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
src/gallium/auxiliary/util/u_math.h