Re: hard-reg constraints: Question about materialization

2025-07-21 Thread Stefan Schulze Frielinghaus via Gcc
On Mon, Jul 21, 2025 at 03:30:08PM +0200, Georg-Johann Lay wrote: > The recently pushed hreg-constraints (HRCs) feature has this in > the docs: > > > register asm may not only be clobbered by function calls but also by inline > asm in conjunction with hard register constraints. For example, in th

hard-reg constraints: Question about materialization

2025-07-21 Thread Georg-Johann Lay via Gcc
The recently pushed hreg-constraints (HRCs) feature has this in the docs: register asm may not only be clobbered by function calls but also by inline asm in conjunction with hard register constraints. For example, in the following register int x asm ("r5") = 42; int y; asm ("" : "={r5}" (y))

Re: Could we enhance the ifcombine pass?

2025-07-21 Thread Richard Biener via Gcc
On Sat, 19 Jul 2025, Andrew Pinski wrote: > On Sat, Jul 19, 2025 at 8:41 PM ywgrit via Gcc wrote: > > > > I've tested merging for nested branches on icc, and it seems that icc does > > a branch merge for code that might trap, making a more aggressive > > optimization. > > So it is not exactly it