|
Nugget
Bare-metal libraries and examples for the original PlayStation
|
#include "common/hardware/counters.h"#include "common/hardware/pcsxhw.h"#include "common/syscalls/syscalls.h"#include "psyqo/gte-kernels.hh"#include "psyqo/gte-registers.hh"#include "psyqo/matrix.hh"#include "psyqo/soft-math.hh"#include "psyqo/vector.hh"
Classes | |
| struct | Arm |
Macros | |
| #define | TIME_START() uint16_t _t_before = COUNTERS[2].value |
| #define | TIME_END() ((uint32_t)(uint16_t)(COUNTERS[2].value - _t_before)) |
| #define | REP4(x) x x x x |
| #define | REP16(x) REP4(x) REP4(x) REP4(x) REP4(x) |
| #define | REP256(x) |
Typedefs | |
| typedef uint32_t(* | bench_fn) (unsigned n) |
Functions | |
| int | main () |
| #define REP256 | ( | x | ) |
| #define REP4 | ( | x | ) | x x x x |
| typedef uint32_t(* bench_fn) (unsigned n) |