[Bug rtl-optimization/98425] Superfluous sign-extend for constrained integer

2020-12-23 Thread koenigni at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98425 --- Comment #5 from Nicolas Koenig --- The advantage of using mov over movs for known-positive integers would be that 32bit moves are also move-eliminated, while movs always has to be executed.

[Bug rtl-optimization/98425] Superfluous sign-extend for constrained integer

2020-12-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98425 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug rtl-optimization/98425] Superfluous sign-extend for constrained integer

2020-12-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98425 --- Comment #3 from Jakub Jelinek --- Yes, it has been reported to LLVM years ago that they violate the psABI, but they refused to fix that.

[Bug rtl-optimization/98425] Superfluous sign-extend for constrained integer

2020-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98425 --- Comment #2 from Andrew Pinski --- Note your optimum code is wrong. movl %esi, %eax Is a zero extend.

[Bug rtl-optimization/98425] Superfluous sign-extend for constrained integer

2020-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98425 Andrew Pinski changed: What|Removed |Added Keywords||ABI --- Comment #1 from Andrew Pinski -