[Bug jit/87291] Add support for inline asm to libgccjit
dmalcolm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 8 14:11:41 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87291
David Malcolm <dmalcolm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2020-06-08
Ever confirmed|0 |1
Status|UNCONFIRMED |ASSIGNED
--- Comment #30 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
(In reply to Antoni from comment #29)
> asm(
> "add:\n"
> "movq %rdi, %rax\n"
> "add %rsi, %rax\n"
> "ret\n");
Thanks; I've updated the testcases and examples to use this. I needed to
slightly tweak this to allow the dynamic linker to find it, to allow
gcc_jit_result_get_code to work.
More information about the Gcc-bugs
mailing list