[Bug middle-end/68000] Suboptimal ternary operator codegen

2021-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68000 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug middle-end/68000] Suboptimal ternary operator codegen

2015-10-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68000 --- Comment #4 from Andrew Pinski --- Note I was looking at the code generation of AARCH64 which does not have addition in QI Mode and does those adds in SImode and RTL CSE (or RTL GCSE, I did not look into which one) could remove the extra addit

[Bug middle-end/68000] Suboptimal ternary operator codegen

2015-10-18 Thread thaines.astro at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68000 --- Comment #3 from Tim Haines --- (In reply to Andrew Pinski from comment #1) > Note I think the trunk already has improved code generation. Here is the codegen from the latest trunk build using the same options as before. foo_manual_hoist:

[Bug middle-end/68000] Suboptimal ternary operator codegen

2015-10-17 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68000 --- Comment #2 from Marc Glisse --- Independently of hoisting, mov eax, edx add edx, 1 add eax, 1 apparently we fail to CSE this because at the time of CSE, one addition is done in mode QI and the other in SI, and it is only i

[Bug middle-end/68000] Suboptimal ternary operator codegen

2015-10-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68000 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Component|c