: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: yzhang1985 at gmail dot com
Hi, the following simple loop doesn't vectorize in GCC 4.8.1, but does with
4.3.2. It does vectorize if I make DoIt a regular function instead of a
templated function.
#in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57642
--- Comment #1 from Yale Zhang ---
I would like to know if there's an easy work around for this.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57642
Yale Zhang changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83647
--- Comment #2 from Yale Zhang ---
(In reply to Andrew Pinski from comment #1)
> GCC 6 is in regression only fixes due to it being a release branch.
>
> Won't fix as Java was removed from GCC 7. There are other open source Java
> implementation
Assignee: unassigned at gcc dot gnu.org
Reporter: yzhang1985 at gmail dot com
Target Milestone: ---
Created attachment 43002
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43002&action=edit
The changes to natVMConsole.cc are only for MingW. Probably these changes don'
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: yzhang1985 at gmail dot com
Target Milestone: ---
Created attachment 41328
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41328&action=edit
compiling with -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80647
--- Comment #2 from Yale Zhang ---
Very interesting case. First, I didn't know unaligned loads were undefined
behavior on x86.
ICC 17 doesn't vectorize the loop probably because the destination and source
of the memmove() alias.
But apparently
at gcc dot gnu.org
Reporter: yzhang1985 at gmail dot com
Target Milestone: ---
Created attachment 39696
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39696&action=edit
should print 99 when run on an AVX2 capable processor
I've found a bug in __get_cpuid() in the compi
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: yzhang1985 at gmail dot com
Target Milestone: ---
Created attachment 39707
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39707&action=edit
compilation will fail with
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77769
--- Comment #3 from Yale Zhang ---
(In reply to Richard Biener from comment #2)
> The testcase you attached can't work because we can't inline an avx2
> function into a function not having avx2 enabled.
Right, but main() and the OpenMP function
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77756
--- Comment #2 from Yale Zhang ---
(In reply to Uroš Bizjak from comment #1)
> Created attachment 39711 [details]
> Patch that fixes __get_cpuid
>
> Can you please check if the attached patch fixes your problem?
Great, your patch works. Thanks
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77756
--- Comment #12 from Yale Zhang ---
What's the purpose of subleaf? Is it to distinguish the capabilities of
different cores in a heterogeneous chip (e.g. ARM big-little)?
Then I would be fine with making this an extra parameter to __get_cpuid().
ormal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: yzhang1985 at gmail dot com
This program isn't compiling. It works in GCC 4.3, 4.8, and in the Intel
compiler. The problem is that GCC fails to inline the _mm_cmpgt_epi8 function
13 matches
Mail list logo