[libc-commits] [PATCH] D149317: [libc] Support the `abs` functions in the GPU libc.

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Apr 27 18:32:21 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf7d5e9bc4ce5: [libc] Support the `abs` functions in the GPU libc. (authored by jhuber6).

Changed prior to commit:
  https://reviews.llvm.org/D149317?vs=517568&id=517767#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149317/new/

https://reviews.llvm.org/D149317

Files:
  libc/config/gpu/entrypoints.txt
  libc/docs/gpu/support.rst


Index: libc/docs/gpu/support.rst
===================================================================
--- libc/docs/gpu/support.rst
+++ libc/docs/gpu/support.rst
@@ -84,11 +84,13 @@
 =============  =========  ============
 Function Name  Available  RPC Required
 =============  =========  ============
+abs            |check|
 atoi           |check|
 atof           |check|
 atol           |check|
 atoll          |check|
-atexit         |check|
+labs           |check|
+llabs          |check|
 strtod         |check|
 strtof         |check|
 strtol         |check|
Index: libc/config/gpu/entrypoints.txt
===================================================================
--- libc/config/gpu/entrypoints.txt
+++ libc/config/gpu/entrypoints.txt
@@ -55,10 +55,13 @@
     libc.src.string.strtok_r
 
     # stdlib.h entrypoints
+    libc.src.stdlib.abs
     libc.src.stdlib.atoi
     libc.src.stdlib.atof
     libc.src.stdlib.atol
     libc.src.stdlib.atoll
+    libc.src.stdlib.labs
+    libc.src.stdlib.llabs
     libc.src.stdlib.atexit
     libc.src.stdlib.strtod
     libc.src.stdlib.strtof


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149317.517767.patch
Type: text/x-patch
Size: 1091 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230428/8c0a8dfc/attachment-0001.bin>


More information about the libc-commits mailing list