[Bug 70199] clang+llvm from svn crashes when generating opencl code for 64 bit types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 5 on bug 70199 from
Created attachment 87543 [details] [review]
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:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux