From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 70199] clang+llvm from svn crashes when generating opencl code for 64 bit types
Date: Sun, 13 Oct 2013 01:52:06 +0000 [thread overview]
Message-ID: <bug-70199-502-It3vb46y3X@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-70199-502@http.bugs.freedesktop.org/>
[-- Attachment #1.1: Type: text/plain, Size: 990 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=70199
--- Comment #5 from klondike <klondike@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.
[-- Attachment #1.2: Type: text/html, Size: 2087 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2013-10-13 1:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-06 16:40 [Bug 70199] New: clang+llvm from svn crashes when generating opencl code for 64 bit types bugzilla-daemon
2013-10-06 16:40 ` [Bug 70199] " bugzilla-daemon
2013-10-06 16:41 ` bugzilla-daemon
2013-10-12 21:57 ` bugzilla-daemon
2013-10-12 22:03 ` bugzilla-daemon
2013-10-13 1:52 ` bugzilla-daemon [this message]
2013-10-13 3:29 ` bugzilla-daemon
2013-10-13 9:15 ` bugzilla-daemon
2013-10-13 12:41 ` bugzilla-daemon
2014-02-08 21:04 ` bugzilla-daemon
2015-12-21 12:53 ` bugzilla-daemon
2015-12-21 16:06 ` bugzilla-daemon
2017-03-22 15:35 ` bugzilla-daemon
2017-03-22 20:34 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-70199-502-It3vb46y3X@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).