[Bug target/93588] Vectorized load followed by FMA pessimizes on Haswell from version 8.1

2020-02-05 Thread alex.reinking at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93588 --- Comment #4 from Alex Reinking --- (In reply to Andrew Pinski from comment #1) > >The intrinsics are supposed to map to the corresponding assembly > >instructions, no? > NO, it is an interface to what the assembly instructions do; not always

[Bug tree-optimization/93588] New: Vectorized load followed by FMA pessimizes on Haswell from version 8.1

2020-02-04 Thread alex.reinking at gmail dot com
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: alex.reinking at gmail dot com Target Milestone: --- Using vector intrinsics (via immintrin.h) on GCC 7.3 with -O3 -march=haswell performs the following compilation

[Bug inline-asm/67944] GCC emits unnecessary push/pop for callee-save reads.

2019-04-19 Thread alex.reinking at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67944 Alex Reinking changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/90178] New: Missed optimization: duplicated terminal basic block

2019-04-19 Thread alex.reinking at gmail dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alex.reinking at gmail dot com Target Milestone: --- The following short C program, int* find_ptr(int* mem, int sz, int val) { for (int i = 0; i < sz; i++) { if (mem[i] == val) { return

[Bug inline-asm/67944] New: GCC emits unnecessary push/pop for callee-save reads.

2015-10-12 Thread alex.reinking at gmail dot com
Component: inline-asm Assignee: unassigned at gcc dot gnu.org Reporter: alex.reinking at gmail dot com Target Milestone: --- When trying to return the current value of a register in a function via a local register variable, the compiler will emit a useless push/pop instruction

[Bug inline-asm/67944] GCC emits unnecessary push/pop for callee-save reads.

2015-10-12 Thread alex.reinking at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67944 --- Comment #2 from Alex Reinking --- I expect it to return whatever is currently stored in ebx. Which it does, but suboptimally. In my particular case, ebx is populated by a system call. I wanted to put the inline assembly for retrieving that