[Patch] amdgcn: Replace asm("s8") by __builtin_gcn_kernarg_ptr if existing

Tobias Burnus tobias@codesourcery.com
Fri Nov 18 08:50:20 GMT 2022


This avoids a hard-coded assembler value by replacing it by a call
to a builtin (if available). This builtin is provided by GCC mainline (GCC 13).

Thanks,

Tobias
-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newlib-kernarg-ptr.diff
Type: text/x-patch
Size: 2848 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20221118/6648fcc4/attachment.bin>


More information about the Newlib mailing list