[Bug target/90073] Very slow code for AVX2

2019-04-12 Thread rcc.dark at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90073 --- Comment #4 from Rodrigo --- (In reply to H.J. Lu from comment #3) > Fixed on > > https://gitlab.com/x86-gcc/wip/tree/usr/hjl/pr89226/master > > which will be submitted for GCC 10. > > *** This bug has been marked as a duplicate of bug

[Bug target/90073] Very slow code for AVX2

2019-04-12 Thread rcc.dark at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90073 --- Comment #2 from Rodrigo --- (In reply to H.J. Lu from comment #1) > The problem is with the default -mtune=generic. > > [hjl@gnu-cfl-1 gcc]$ cat /tmp/foo.cc > #include > > using data = long long __attribute__((vector_size(64))); > void

[Bug target/90073] New: Very slow code for AVX2

2019-04-12 Thread rcc.dark at gmail dot com
: unassigned at gcc dot gnu.org Reporter: rcc.dark at gmail dot com Target Milestone: --- Created attachment 46155 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46155=edit Source code and assembly output Hi all, the following code generates very poor assembly code for A

[Bug c++/89643] New: constexpr capture not working inside expression

2019-03-09 Thread rcc.dark at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: rcc.dark at gmail dot com Target Milestone: --- Created attachment 45928 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45928=edit Source code that triggers the bug Hi all, this code does not compile ("

[Bug tree-optimization/70970] Misaligned SSE with auto-vectorization

2016-05-06 Thread rcc.dark at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70970 --- Comment #4 from Rodrigo --- Well, without auto-vectorization the code should work (x86 allows non-SSE misaligned reads and writes). But I think understand your rationale. Thanks.

[Bug tree-optimization/70970] Misaligned SSE with auto-vectorization

2016-05-05 Thread rcc.dark at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70970 --- Comment #2 from Rodrigo --- Just noticed a dumb mistake in the parameter order of memalign (_aligned_malloc is (size, alignment); memalign is (alignment, size)) but the problem persists. Also forgot that I had to use -march=native under

[Bug tree-optimization/70970] Misaligned SSE with auto-vectorization

2016-05-05 Thread rcc.dark at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70970 Rodrigo changed: What|Removed |Added Attachment #38424|0 |1 is obsolete|

[Bug tree-optimization/70970] New: Misaligned SSE with auto-vectorization

2016-05-05 Thread rcc.dark at gmail dot com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rcc.dark at gmail dot com Target Milestone: --- Created attachment 38424 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38424=edit the code Sorry if this has been reported before. I have tested it under:

[Bug libstdc++/70564] New: Problem with std::experimental::not_fn

2016-04-06 Thread rcc.dark at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: rcc.dark at gmail dot com Target Milestone: --- Hi all. The following code does not compile under MinGW-64 GCC 5.2.0 / Linux-64 GCC 5.3.1: #include #include int main( ) { auto lambda = [](auto i) { return i == 5