[Bug jit/87291] Add support for inline asm to libgccjit
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 3 22:05:06 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87291
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to bouanto from comment #4)
> So, an example like this:
>
> ```c
> bool old;
> __asm__ ("btsl %2,%1\n\t" // Turn on zero-based bit #Offset in Base.
> "sbb %0,%0" // Use the CF to calculate old.
> : "=r" (old), "+rm" (*Base)
> : "Ir" (Offset)
> : "cc");
Could we instead try to get this produced from normal gimple/C code?
More information about the Gcc-bugs
mailing list