Summary: | [llvmpipe] piglit copyteximage 2D regression | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Other | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | jfonseca, sroland, zackr |
Version: | git | Keywords: | regression |
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | use i8 ptr instead of i32 ptr for load/store of mxcsr |
Description
Vinson Lee
2013-12-12 00:46:10 UTC
Hmm works for me, with llvm 3.1 Though looking at the intrinsics code I believe the pointer should be i8 type, not i32. Hence should probably allocate i32 var then cast the pointer to i8* type for stmxcsr/ldmxcsr. I suspect newer llvm versions are more strict with using right pointer type. Created attachment 90688 [details] [review] use i8 ptr instead of i32 ptr for load/store of mxcsr Could you try this patch? Still works with llvm 3.1 with this, and I don't know what llvm versions are affected. The bug can be reproduced with llvm 3.2 and newer. commit 27d47bd42f417db96842c9453092acf68944a4c8 Author: Roland Scheidegger <sroland@vmware.com> Date: Fri Dec 13 21:20:05 2013 +0100 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> |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.