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))