fxlibc/include
Lephenixnoir 591e453717
sh-generic: add CPU capabilities for optimized SH4 code
On sh-generic targets, the headers <bits/cpucap.h> (in C) and
<bits/asm/cpucap.h> (in assembler) provide definitions to acces the
__cpucap symbol which provides information on the CPU.

Currently, a single capability __CPUCAP_SH4ALDSP is defined; it
represents the SH4 extended instructions together with the integrated
DSP instructions. The main uses of this capability are [movua.l]
(unaligned reads) and [ldrc] (built-in tight loops).

Capabilities are initialized to 0 (their safest default) and the runtime
can enable them based on what hardware is running.
2021-05-23 15:31:01 +02:00
..
sys update header guard convention 2021-05-09 23:00:11 +02:00
target sh-generic: add CPU capabilities for optimized SH4 code 2021-05-23 15:31:01 +02:00
assert.h assert: add a partial assert implementation (LDEPS) 2021-05-16 18:12:45 +02:00
complex.h math, fenv, complex: use OpenLibm unconditionally 2021-05-20 23:19:40 +02:00
ctype.h ctype: test and fix character conversion functions (DONE) 2021-05-18 11:52:17 +02:00
errno.h errno: add the errno variable and base macros 2021-05-16 18:12:46 +02:00
fcntl.h update header guard convention 2021-05-09 23:00:11 +02:00
fenv.h math, fenv, complex: use OpenLibm unconditionally 2021-05-20 23:19:40 +02:00
inttypes.h inttypes: add strtoimax and strtoumax 2021-05-20 16:05:20 +02:00
locale.h locale: add a stub that supports only the "C" locale (TEST) 2021-05-16 18:12:45 +02:00
math.h math, fenv, complex: use OpenLibm unconditionally 2021-05-20 23:19:40 +02:00
setjmp.h setjmp: make setjmp a macro 2021-05-16 18:12:42 +02:00
signal.h update header guard convention 2021-05-09 23:00:11 +02:00
stdio.h stdio: declare stdin, stdout and stderr on all targets 2021-05-16 18:12:45 +02:00
stdlib.h stdlib: add and test strtod, strtof and atof (DONE) 2021-05-21 23:56:35 +02:00
string.h string: fill all prototypes in <string.h> 2021-05-23 15:29:37 +02:00
syscall.h update include hierarchy 2021-05-09 17:59:07 +02:00
threads.h update header guard convention 2021-05-09 23:00:11 +02:00
unistd.h update header guard convention 2021-05-09 23:00:11 +02:00