gallivm: fix pointer type for stmxcsr/ldmxcsr
authorRoland Scheidegger <sroland@vmware.com>
Fri, 13 Dec 2013 20:20:05 +0000 (21:20 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Sat, 14 Dec 2013 16:11:03 +0000 (17:11 +0100)
commit27d47bd42f417db96842c9453092acf68944a4c8
treeeef9ef9d4a523d702479605af6f5b31be3c3f8a0
parent7c027666da1cd3691983bbc238847a2af57f336e
gallivm: fix pointer type for stmxcsr/ldmxcsr

The argument is a i8 pointer not a i32 pointer (even though the value actually
stored/loaded IS i32). Older llvm versions didn't care but 3.2 and newer do
leading to crashes.

Reviewed-by: Zack Rusin <zackr@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_arit.c