public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "frederic.recoules@univ-grenoble-alpes.fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug inline-asm/94095] New: Modifier 'a' do not work as described Date: Mon, 09 Mar 2020 10:02:02 +0000 [thread overview] Message-ID: <bug-94095-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94095 Bug ID: 94095 Summary: Modifier 'a' do not work as described Product: gcc Version: unknown Status: UNCONFIRMED Keywords: documentation Severity: normal Priority: P3 Component: inline-asm Assignee: unassigned at gcc dot gnu.org Reporter: frederic.recoules@univ-grenoble-alpes.fr Target Milestone: --- In https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html 6.47.2.8, it is said that 'a' "Print an absolute memory reference" (aka *%eax for 'att') but experiments shows that it actually print '(%eax)'. But yet, what is the intended behavior? Is it actually valid to use 'a' modifier with 'p' constraint in void *x = NULL; __asm__ ("leal %a1, %0" : "=r" (x) : "p" (&x)); ?
next reply other threads:[~2020-03-09 10:02 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-03-09 10:02 frederic.recoules@univ-grenoble-alpes.fr [this message] 2020-03-09 16:26 ` [Bug target/94095] " pinskia at gcc dot gnu.org 2020-03-09 17:00 ` pinskia at gcc dot gnu.org 2020-03-11 12:06 ` marxin at gcc dot gnu.org 2020-03-11 15:35 ` pinskia at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-94095-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).