public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug jit/87291] Add support for inline asm to libgccjit
Date: Sat, 06 Jun 2020 17:34:29 +0000	[thread overview]
Message-ID: <bug-87291-4-uD9ShI16z9@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-87291-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87291

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #48684|0                           |1
        is obsolete|                            |

--- Comment #27 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Created attachment 48694
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48694&action=edit
v3 of the work-in-progress patch

Here's an updated version of the patch; also uploaded to:
https://dmalcolm.fedorapeople.org/gcc/2020-06-06/0001-FIXME-WIP-on-extended-asm-support-v3.patch

In particular, this adds a new:
  gcc_jit_context_add_top_level_asm
entrypoint.  On implementing this, it hooks into the symbol table like the C
frontend does, so it looks like it will respect ordering as much as the C
frontend does.

How does this look?  The top-level asm code is barely tested though; I'd
appreciate a way to verify it from the automated test case.

Changes in v3:
* added gcc_jit_context_add_top_level_asm
* drop redundant gcc_jit_extended_asm_add_goto_label
* added gcc_jit_extended_asm_as_object
* started adding documentation
* added comments to libgccjit.h
* consolidated test-asm.c, grouping create/verify pairs
* add test coverage for "volatile"
* initial implementation of make_debug_string
* added some error-checking

  parent reply	other threads:[~2020-06-06 17:34 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-87291-4@http.gcc.gnu.org/bugzilla/>
2020-06-03 12:54 ` bouanto at zoho dot com
2020-06-03 13:48 ` dmalcolm at gcc dot gnu.org
2020-06-03 21:53 ` bouanto at zoho dot com
2020-06-03 22:05 ` pinskia at gcc dot gnu.org
2020-06-03 22:09 ` bouanto at zoho dot com
2020-06-03 22:44 ` dmalcolm at gcc dot gnu.org
2020-06-03 22:55 ` dmalcolm at gcc dot gnu.org
2020-06-03 23:11 ` bouanto at zoho dot com
2020-06-04  1:05 ` programmerjake at gmail dot com
2020-06-04  1:08 ` programmerjake at gmail dot com
2020-06-04  1:42 ` bouanto at zoho dot com
2020-06-04 14:18 ` dmalcolm at gcc dot gnu.org
2020-06-04 14:21 ` dmalcolm at gcc dot gnu.org
2020-06-04 14:24 ` bouanto at zoho dot com
2020-06-04 21:01 ` dmalcolm at gcc dot gnu.org
2020-06-04 21:03 ` dmalcolm at gcc dot gnu.org
2020-06-05  0:09 ` bouanto at zoho dot com
2020-06-05 15:32 ` dmalcolm at gcc dot gnu.org
2020-06-05 15:37 ` bouanto at zoho dot com
2020-06-05 16:24 ` dmalcolm at gcc dot gnu.org
2020-06-05 16:32 ` dmalcolm at gcc dot gnu.org
2020-06-06  1:04 ` bouanto at zoho dot com
2020-06-06  8:56 ` dmalcolm at gcc dot gnu.org
2020-06-06 11:19 ` bouanto at zoho dot com
2020-06-06 16:37 ` dmalcolm at gcc dot gnu.org
2020-06-06 17:34 ` dmalcolm at gcc dot gnu.org [this message]
2020-06-06 17:41 ` dmalcolm at gcc dot gnu.org
2020-06-06 22:59 ` bouanto at zoho dot com
2020-06-08 14:11 ` dmalcolm at gcc dot gnu.org
2020-06-08 14:12 ` dmalcolm at gcc dot gnu.org
2020-06-08 14:56 ` bouanto at zoho dot com
2020-11-12 22:42 ` dmalcolm 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-87291-4-uD9ShI16z9@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: link
Be 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).