ps2-clang-patches icon indicating copy to clipboard operation
ps2-clang-patches copied to clipboard

A port of LLVM to the PS2. Early stages; help appreciated.

Results 6 ps2-clang-patches issues
Sort by recently updated
recently updated
newest added

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...

optimisation

Although it has 64-bit addition/subtraction, it doesn't have a 64-bit multiply/divide unit, which is frustrating.

noncompliance

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.

noncompliance

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...

optimisation

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...

optimisation

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...

noncompliance