[PATCH] amdgcn: Use __builtin_gcn_ in libc/machine/amdgcn/getreent.c

Tobias Burnus tobias@codesourcery.com
Tue Nov 22 16:59:38 GMT 2022


This patch replaces some more hard-coded register use and
coded internal implementation choices by compiler builtins –
added in this case of GCC 13 (mainline). #if conditions are
used to use the builtins if (and only if) they are available
in the used compiler.

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: 0001-amdgcn-Use-__builtin_gcn_-in-libc-machine-amdgcn-get.patch
Type: text/x-patch
Size: 2773 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20221122/8d724271/attachment.bin>


More information about the Newlib mailing list