gallium: Include intrin.h instead of defining ourselves.
authorJose Fonseca <jfonseca@vmware.com>
Mon, 18 Apr 2016 11:08:35 +0000 (12:08 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Tue, 26 Apr 2016 16:17:00 +0000 (17:17 +0100)
commitdcc3baf7331f7cb920a73e0349a7622bfe46f647
tree5431ad05455a5252f2d37afc014d0c2454f6a9fd
parent9a25c8af1b7fad0e7b3f3f3b4cbf6ae6e32e0e4d
gallium: Include intrin.h instead of defining ourselves.

More portable, particularly when building with Clang, which implements
all MSVC intrisincs in its own intrin.h, but doesn't actually support
`#pragma instrinsic`.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/util/u_math.h
src/gallium/drivers/llvmpipe/lp_test.h
src/gallium/include/pipe/p_compiler.h