This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug hsa/86948] Internal compiler error compiling brig.dg/test/gimple/mulhi.hsail
- From: "amonakov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 14 Aug 2018 14:37:47 +0000
- Subject: [Bug hsa/86948] Internal compiler error compiling brig.dg/test/gimple/mulhi.hsail
- Auto-submitted: auto-generated
- References: <bug-86948-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86948
--- Comment #3 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Created attachment 44537
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44537&action=edit
expose mult-highpart via GIMPLE FE
Attaching a patch that allows creating MULT_HIGHPART_EXPR via GIMPLE FE, which
allows testing with
__GIMPLE
unsigned f(unsigned x, unsigned y)
{
unsigned r;
r = x h* y;
return r;
}
(though the patch is not too sophisticated, it accepts "h<whitespace>*")