swr/rast: Replace VPSRL with LSHR
authorTim Rowley <timothy.o.rowley@intel.com>
Tue, 12 Dec 2017 20:23:50 +0000 (14:23 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Fri, 15 Dec 2017 16:56:54 +0000 (10:56 -0600)
commitc68b2d5c79239e721d8825e373a02fc843d15f6a
treed3b41c37f3226644487960b99c4b4ebc2ce69f69
parent20f9006603139a479b756c593c04a540041e3471
swr/rast: Replace VPSRL with LSHR

Replace use of x86 intrinsic with general llvm IR instruction.

Generates the same final assembly.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py
src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp
src/gallium/drivers/swr/rasterizer/jitter/builder_misc.h
src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp