public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] C++: Introduce the extended attribute for asm declarations
@ 2023-11-17  3:23 Julian Waters
  0 siblings, 0 replies; only message in thread
From: Julian Waters @ 2023-11-17  3:23 UTC (permalink / raw)
  To: gcc-patches; +Cc: gcc

[-- Attachment #1: Type: text/plain, Size: 671 bytes --]

Hi all,

This is the beginning of a patch to introduce the extended attribute
for asm declarations proposed in
https://gcc.gnu.org/pipermail/gcc-patches/2023-November/636563.html. I
will need some reviewer help in implementing this patch, as I am not
very familiar with gcc's internals.

The attribute in question looks as such (Example):

[[gnu::extended([output] "=r" (output) [otheroutput] "=r" (otheroutput),
                          [input] "r" (input) [otherinput] "r" (otherinput),
                          "%rcx" "%rdx", label, volatile stack)]]
asm ("");

I would really appreciate any reviews, as well as help in implementing
this patch

best regards,
Julian

[-- Attachment #2: 0001-Introduce-the-extended-attribute-for-asm-declaration.patch --]
[-- Type: application/x-patch, Size: 3488 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-17  3:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-17  3:23 [PATCH] C++: Introduce the extended attribute for asm declarations Julian Waters

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).