Re: [PATCH v2 10/10] nanoMIPS: unnecessary AND following an EXT

2025-07-23 Thread Aleksandar Rakic
...@gmail.com; ja...@redhat.com; dragan.mladjenovic; Faraz Shahbazker; Aleksandar Rakic Subject: [PATCH v2 10/10] nanoMIPS: unnecessary AND following an EXT From: "dragan.mladjenovic" The fwprop1 introduces a new use of Y by replacing the (subreg:QI (reg:SI X)) with (reg:QI Y) prev

[PATCH v2 10/10] nanoMIPS: unnecessary AND following an EXT

2025-03-17 Thread Aleksandar Rakic
From: "dragan.mladjenovic" The fwprop1 introduces a new use of Y by replacing the (subreg:QI (reg:SI X)) with (reg:QI Y) preventing the optimization of zero_extend later during the combine. This patch prevents this replacement in two new cases. A: (set (subreg:SI (reg:QI Y)) (z