[Bug java/83647] add x86_64 Windows support to GCJ

2018-01-01 Thread yzhang1985 at gmail dot com
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

[Bug java/83647] New: add x86_64 Windows support to GCJ

2018-01-01 Thread yzhang1985 at gmail dot com
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'

[Bug tree-optimization/80647] vectorized loop crashes from wrongly assuming 16 byte alignment

2017-05-08 Thread yzhang1985 at gmail dot com
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

[Bug tree-optimization/80647] New: vectorized loop crashes from wrongly assuming 16 byte alignment

2017-05-05 Thread yzhang1985 at gmail dot com
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 -

[Bug target/77756] __get_cpuid() returns wrong values for level 7 (extended features)

2016-09-30 Thread yzhang1985 at gmail dot com
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().

[Bug target/77756] __get_cpuid() returns wrong values for level 7 (extended features)

2016-09-28 Thread yzhang1985 at gmail dot com
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

[Bug middle-end/77769] function generated for OpenMP region uses wrong instruction set

2016-09-28 Thread yzhang1985 at gmail dot com
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

[Bug other/77769] New: function generated for OpenMP region uses wrong instruction set

2016-09-27 Thread yzhang1985 at gmail dot com
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

[Bug inline-asm/77756] New: cpuid

2016-09-27 Thread yzhang1985 at gmail dot com
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

[Bug other/61417] New: can't use intrinsic function as argument to function template

2014-06-04 Thread yzhang1985 at gmail dot com
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

[Bug tree-optimization/57642] vectorizer not working with function templates

2013-06-18 Thread yzhang1985 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57642 Yale Zhang changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/57642] vectorizer not working with function templates

2013-06-18 Thread yzhang1985 at gmail dot com
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.

[Bug tree-optimization/57642] New: vectorizer not working with function templates

2013-06-18 Thread yzhang1985 at gmail dot com
: 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