newlib-cygwin/newlib/libc/sys/amdgcn
Tobias Burnus b9898fc993 amdgcn: Replace asm("s8") by __builtin_gcn_kernarg_ptr if existing
Check whether __builtin_gcn_kernarg_ptr is available and, if it is,
call it instead using the hard-coded 'asm("s8")' in:
* newlib/libc/machine/amdgcn/exit-value.h (exit_with_int)
* newlib/libc/machine/amdgcn/mlock.c (sbrk)
* newlib/libc/sys/amdgcn/write.c (write)

 newlib/libc/machine/amdgcn/exit-value.h |  6 ++++++
 newlib/libc/machine/amdgcn/mlock.c      | 10 +++++++---
 newlib/libc/sys/amdgcn/write.c          |  4 ++++
 3 files changed, 17 insertions(+), 3 deletions(-)
2022-11-21 13:10:29 +01:00
..
Makefile.inc newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
close.c AMD GCN Port contributed by Andrew Stubbs <ams@codesourcery.com> 2019-01-15 10:48:08 -05:00
fcntl.c Add gfortran support for AMD GCN 2019-06-07 13:55:43 -04:00
fstat.c Add missing includes. 2019-03-25 16:44:10 +01:00
getpid.c Add gfortran support for AMD GCN 2019-06-07 13:55:43 -04:00
isatty.c AMD GCN Port contributed by Andrew Stubbs <ams@codesourcery.com> 2019-01-15 10:48:08 -05:00
kill.c Add gfortran support for AMD GCN 2019-06-07 13:55:43 -04:00
lseek.c AMD GCN Port contributed by Andrew Stubbs <ams@codesourcery.com> 2019-01-15 10:48:08 -05:00
open.c Add gfortran support for AMD GCN 2019-06-07 13:55:43 -04:00
raise.c Add gfortran support for AMD GCN 2019-06-07 13:55:43 -04:00
read.c AMD GCN Port contributed by Andrew Stubbs <ams@codesourcery.com> 2019-01-15 10:48:08 -05:00
stat.c Add gfortran support for AMD GCN 2019-06-07 13:55:43 -04:00
unlink.c Add gfortran support for AMD GCN 2019-06-07 13:55:43 -04:00
write.c amdgcn: Replace asm("s8") by __builtin_gcn_kernarg_ptr if existing 2022-11-21 13:10:29 +01:00