Re: [PATCH v2] i386: Verify that argument registers are spilled properly

2025-03-10 Thread Uros Bizjak
On Sun, Mar 9, 2025 at 11:34 PM H.J. Lu wrote: > > While working on a local x86 patch, which passed the GCC testsuite, I got > a compiler error: > > In function ‘paravirt_read_msr’, > inlined from ‘perf_ibs_handle_irq’ at arch/x86/events/amd/ibs.c:1055:2: > ./arch/x86/include/asm/paravirt_type

[PATCH v2] i386: Verify that argument registers are spilled properly

2025-03-09 Thread H.J. Lu
While working on a local x86 patch, which passed the GCC testsuite, I got a compiler error: In function ‘paravirt_read_msr’, inlined from ‘perf_ibs_handle_irq’ at arch/x86/events/amd/ibs.c:1055:2: ./arch/x86/include/asm/paravirt_types.h:397:17: error: ‘asm’ operand has impossible constraints