[Bug target/15533] Missed move to partial register

2021-10-11 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15533 --- Comment #6 from Uroš Bizjak --- (In reply to Cesar Eduardo Barros from comment #0) > When compiling: > #include > #define regparm __attribute__((regparm(3))) > uint8_t a; > uint16_t regparm fn(uint16_t b) > { return (b & ~0xFF) | a; } This

[Bug target/15533] Missed move to partial register

2021-08-22 Thread peter at cordes dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15533 Peter Cordes changed: What|Removed |Added CC||peter at cordes dot ca --- Comment #5

[Bug target/15533] Missed move to partial register

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15533 --- Comment #4 from Andrew Pinski --- This looks improved in GCC 4.4.7 and above: fn(unsigned short): movzbl a, %edx xorb%al, %al orl %edx, %eax ret

[Bug target/15533] Missed move to partial register

2012-01-08 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15533 --- Comment #3 from Uros Bizjak ubizjak at gmail dot com 2012-01-08 19:55:00 UTC --- We do in fact have comment in i386.md: ;; Logical inclusive and exclusive OR instructions ;; %%% This used to optimize known byte-wide and operations to

[Bug target/15533] Missed move to partial register

2012-01-05 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15533 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Component|rtl-optimization|target ---