[Bug 70199] clang+llvm from svn crashes when generating opencl code for 64 bit types
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Oct 13 03:52:06 CEST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=70199
--- Comment #5 from klondike <klondike at klondike.es> ---
Created attachment 87543
--> https://bugs.freedesktop.org/attachment.cgi?id=87543&action=edit
Expand most of the 64 bit operations into 32 bit ones
Well I have been messing a little bit with the TargetLowering. I have managed
to get some operations to work (ANDs, ORs, XORs, UMULs, ADDS and SUBS amongst
others) by forcing llvm to expand them.
DIVs are a completely different world since they require more advanced
algorithms which I'm not familiar with or support for calls (plus porting gcc's
functions). The first one I don't have time to do (for now) the second one is
waaaaay out of my league.
The attached patch expands some of the 64 bit integer operations (but is still
a WIP since likely most if not all (exceptions being loads and stores) need to
be expanded and I haven't covered them all.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20131013/337d8703/attachment.html>
More information about the dri-devel
mailing list