[libc-commits] [libc] cfc5c6c - [libc][docs] Update implementation status table for Date and Time Functions.
Tue Ly via libc-commits
libc-commits at lists.llvm.org
Wed May 31 12:09:49 PDT 2023
Author: Tue Ly
Date: 2023-05-31T15:09:06-04:00
New Revision: cfc5c6cb8d90bbeaa38e25bab7df77bc39257fd6
URL: https://github.com/llvm/llvm-project/commit/cfc5c6cb8d90bbeaa38e25bab7df77bc39257fd6
DIFF: https://github.com/llvm/llvm-project/commit/cfc5c6cb8d90bbeaa38e25bab7df77bc39257fd6.diff
LOG: [libc][docs] Update implementation status table for Date and Time Functions.
Update implementation status table for Date and Time Functions to include different targets.
Reviewed By: jeffbailey
Differential Revision: https://reviews.llvm.org/D151809
Added:
Modified:
libc/docs/date_and_time.rst
Removed:
################################################################################
diff --git a/libc/docs/date_and_time.rst b/libc/docs/date_and_time.rst
index c91bffb32bb3d..8d25ea6e94613 100644
--- a/libc/docs/date_and_time.rst
+++ b/libc/docs/date_and_time.rst
@@ -14,49 +14,96 @@ Source location
Implementation Status
---------------------
-============= =======
-Function_Name C99
-============= =======
-clock
-mktime |check|
-time
-asctime |check|
-ctime
-gmtime |check|
-localtime
-strftime
-============= =======
-
-=================== =======
-Function_Name POSIX
-=================== =======
-asctime |check|
-asctime_r |check|
-clock
-clock_getcpuclockid
-clock_getres
-clock_gettime |check|
-clock_nanosleep
-clock_settime
-ctime
-ctime_r
-
diff time |check|
-getdate
-gettimeofday |check|
-gmtime |check|
-gmtime_r |check|
-localtime
-localtime_r
-mktime |check|
-nanosleep |check|
-strftime
-strptime
-time
-timer_create
-timer_delete
-timer_gettime
-timer_getoverrun
-timer_settime
-tzset
-=================== =======
+* To check date and time functions enabled for Linux:
+ - `linux-x86_64 <https://github.com/llvm/llvm-project/tree/main/libc/config/linux/x86_64/entrypoints.txt>`_
+
+ - `linux-aarch64 <https://github.com/llvm/llvm-project/tree/main/libc/config/linux/aarch64/entrypoints.txt>`_
+
+ - `linux-aarch32 <https://github.com/llvm/llvm-project/tree/main/libc/config/linux/arm/entrypoints.txt>`_
+
+ - `linux-riscv64 <https://github.com/llvm/llvm-project/tree/main/libc/config/linux/riscv64/entrypoints.txt>`_
+
+* To check date and time functions enabled for Windows:
+
+ - `windows-x86_64 <https://github.com/llvm/llvm-project/tree/main/libc/config/windows/entrypoints.txt>`_
+
+ - windows-aarch64 - to be added
+
+* To check date and time functions enabled for macOS:
+
+ - `darwin-x86_64 <https://github.com/llvm/llvm-project/tree/main/libc/config/darwin/x86_64/entrypoints.txt>`_
+
+ - `darwin-aarch64 <https://github.com/llvm/llvm-project/tree/main/libc/config/darwin/arm/entrypoints.txt>`_
+
+* To check date and time functions enabled for GPU:
+
+ - `gpu-entrypoints <https://github.com/llvm/llvm-project/tree/main/libc/config/gpu/entrypoints.txt>`_
+
+* To check date and time functions enabled for embedded system:
+
+ - `barebone-aarch32 <https://github.com/llvm/llvm-project/tree/main/libc/config/baremetal/arm/entrypoints.txt>`_
+
+ - barebone-riscv32 - to be added
+
++---------------------+---------------------------------------+-------------------+-------------------+-------------------+-------------------+
+| <Func> | Linux | Windows | MacOS | Embedded | GPU |
+| +---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| | x86_64 | aarch64 | aarch32 | riscv64 | x86_64 | aarch64 | x86_64 | aarch64 | aarch32 | riscv32 | AMD | nVidia |
++=====================+=========+=========+=========+=========+=========+=========+=========+=========+=========+=========+=========+=========+
+| asctime | |check| | |check| | | |check| | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| asctime_r | |check| | |check| | | |check| | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| clock | |check| | |check| | | |check| | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| clock_getcpuclockid | | | | | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| clock_getres | | | | | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| clock_gettime | |check| | |check| | | |check| | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| clock_nanosleep | | | | | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| clock_settime | | | | | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| ctime | | | | | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| ctime_r | | | | | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+|
diff time | |check| | |check| | | |check| | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| getdate | | | | | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| gettimeofday | |check| | |check| | | |check| | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| gmtime | |check| | |check| | | |check| | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| gmtime_r | |check| | |check| | | |check| | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| localtime | | | | | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| localtime_r | | | | | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| mktime | |check| | |check| | | |check| | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| nanosleep | |check| | |check| | | |check| | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| strftime | | | | | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| strptime | | | | | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| time | |check| | |check| | | |check| | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| timer_create | | | | | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| timer_delete | | | | | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| timer_gettime | | | | | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| timer_getoverrun | | | | | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| timer_settime | | | | | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
+| tzset | | | | | | | | | | | | |
++---------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
More information about the libc-commits
mailing list