[Bug c/90181] Feature request: provide a way to explicitly select specific named registers in constraints

2022-04-23 Thread ehem+gccbugs at m5p dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90181 --- Comment #13 from Elliott M --- (In reply to Andrew Pinski from comment #12) > Actually this is NOT a gross mischaracterization of GCC's x86 inline-asm and Making the 6 registers most likely to be needed on x86 available as machine-specific

[Bug c/90181] Feature request: provide a way to explicitly select specific named registers in constraints

2022-04-22 Thread ehem+gccbugs at m5p dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90181 --- Comment #11 from Elliott M --- (In reply to Andreas Schwab from comment #1) > x86 doesn't support this either. It just happens to have a few register > classes that consist of a single register, but only because of ISA > constraints. That

[Bug c/105046] [enhancement] Allow inline-assembly clobbers to overlap inputs

2022-03-25 Thread ehem+gccbugs at m5p dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105046 --- Comment #7 from Elliott M --- Guess I have to go for the visible use: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/x86/include/asm/xen/hypercall.h Substantial amounts of the _hypercall#() macro definitions

[Bug c/90181] Feature request: provide a way to explicitly select specific named registers in constraints

2022-03-24 Thread ehem+gccbugs at m5p dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90181 --- Comment #10 from Elliott M --- Eyes must have glazed over when trying to find other reports. 105048 is indeed a duplicate. Another option might be "R" for architectures which haven't already grabbed "R" for something else. I notice Clang

[Bug c/105046] [enhancement] Allow inline-assembly clobbers to overlap inputs

2022-03-24 Thread ehem+gccbugs at m5p dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105046 Elliott M changed: What|Removed |Added Component|middle-end |c --- Comment #6 from Elliott M --- That

[Bug c/105048] [enhancement] Allow specific register constraints

2022-03-24 Thread ehem+gccbugs at m5p dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105048 --- Comment #1 from Elliott M --- Created attachment 52684 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52684=edit Sample of with and without this feature Hmm, Bugzilla attachment during initial submission failed.

[Bug c/105048] New: [enhancement] Allow specific register constraints

2022-03-24 Thread ehem+gccbugs at m5p dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105048 Bug ID: 105048 Summary: [enhancement] Allow specific register constraints Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: inline-asm Severity: normal

[Bug c/105046] [enhancement] Allow inline-assembly clobbers to overlap inputs

2022-03-24 Thread ehem+gccbugs at m5p dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105046 Elliott M changed: What|Removed |Added Component|middle-end |c --- Comment #4 from Elliott M --- I had

[Bug c/105046] New: [enhancement] Allow inline-assembly clobbers to overlap inputs

2022-03-24 Thread ehem+gccbugs at m5p dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105046 Bug ID: 105046 Summary: [enhancement] Allow inline-assembly clobbers to overlap inputs Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: inline-asm