[Bug rtl-optimization/85941] Zero extend from QI->SI lost if QI is referred to via subreg:HI

2018-05-27 Thread jozef.l at mittosystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85941 Jozef Lawrynowicz changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/85941] Zero extend from QI->SI lost if QI is referred to via subreg:HI

2018-05-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85941 --- Comment #3 from Andrew Pinski --- But this pattern: (define_insn "zero_extendqisi2" [(set (match_operand:SI 0 "nonimmediate_operand" "=r") (zero_extend:SI (subreg:HI (match_operand:QI 1 "nonimmediate_operand" "rm") 0)))] Is

[Bug rtl-optimization/85941] Zero extend from QI->SI lost if QI is referred to via subreg:HI

2018-05-27 Thread jozef.l at mittosystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85941 --- Comment #2 from Jozef Lawrynowicz --- Created attachment 44192 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44192=edit correct assembly output

[Bug rtl-optimization/85941] Zero extend from QI->SI lost if QI is referred to via subreg:HI

2018-05-27 Thread jozef.l at mittosystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85941 --- Comment #1 from Jozef Lawrynowicz --- Created attachment 44191 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44191=edit incorrect assembly output