ps2-clang-patches
ps2-clang-patches copied to clipboard
A port of LLVM to the PS2. Early stages; help appreciated.
The EE Core has multiple pipelines (it's 2-way superscalar), but it requires the programmer to manually emit (INSN)1 opcodes to harness the otherwise dormant second pipeline. Perhaps a routine for...
Although it has 64-bit addition/subtraction, it doesn't have a 64-bit multiply/divide unit, which is frustrating.
I don't know how much effort it will be to ensure Clang doesn't emit these instructions for atomic locking on a single core CPU.
The EE Core has a SIMD-ish extension called Multimedia Instructions. It is quite an eclectic mix, and I would have to go through it in more detail to see what...
The EE can use VU0 through the coprocessor 2 interface to give it upper or lower instructions. This isn't quite as efficient as using VU0 in micro mode, but it's...
The PS2's FPU behaves in a distinctly non-IEEE 754 fashion; there are no traps (this can be fixed by checking flags, perhaps), a fixed rounding mode (truncation), no NaNs or...