llvmpipe: add cc clobber to inline asm
authorGrazvydas Ignotas <notasas@gmail.com>
Wed, 25 Jul 2018 17:27:48 +0000 (20:27 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Wed, 22 Aug 2018 21:34:32 +0000 (00:34 +0300)
commit2edf47edf08c63eb2b8f809a5be387d00da193e5
tree4a7839b21588f0de921d54b87b9ec0476f99ec1c
parent6d80b0b4bae53efbfa4b654a44c6279f5cc9402c
llvmpipe: add cc clobber to inline asm

The bsr instruction modifies flags, so that needs to be indicated to the
compiler. No effect on generated code, but still needed for correctness.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/llvmpipe/lp_setup_tri.c