fxlibc/include/target
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
..
casiowin-cg/bits stdio: declare stdin, stdout and stderr on all targets 2021-05-16 18:12:45 +02:00
casiowin-fx/bits stdio: declare stdin, stdout and stderr on all targets 2021-05-16 18:12:45 +02:00
gint/bits stdio: declare stdin, stdout and stderr on all targets 2021-05-16 18:12:45 +02:00
sh-generic/bits sh-generic: add CPU capabilities for optimized SH4 code 2021-05-23 15:31:01 +02:00
vhex-generic/bits update header guard convention 2021-05-09 23:00:11 +02:00