Gate the remaining non-PS2 changes on the PS2 CPUs #14
Loading…
Reference in a new issue
No description provided.
Delete branch "ps2-gate-cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #13: a file-by-file review of
r5900-eeagainst upstream (fa360c3) found four changes that reached other MIPS CPUs or other libc++ targets.[Mips] Accept rfe only on the R3000A:rfewas enabled for every MIPS I/II CPU. It now needs-mcpu=r3000ain both the assembler and the disassembler, and its tests move from the generic mips1 files tor3000a-rfe.s/r3000a-rfe.txt. IOP builds already pass-mcpu=r3000a.[Mips] Parse VU0 register names only when VU0 is present:$vfN,$viN,$ACC,$Qand$Iwere parsed as registers on every MIPS CPU. New testr5900-vu0-regs-invalid.s.libcxx/src/regex.cpp: thectype_basemask cast is now under__ps2sdk__, so other targets compile the upstream initialisers. The four-line comment is now one line.MipsSubtarget.h: theenableMachineSchedulercomment now names the R3000A too.Left as is: the
bc2f/bc2terrors on mips32r6/mips64r6 now say "requires a CPU feature" because the VU0 mnemonics exist. That's how the assembler reports any feature-gated mnemonic.Testing:
llvm-litovertest/MC/Mips,test/MC/Disassembler/Mipsandtest/CodeGen/Mips, 1674 tests, all pass. The regex change was not compiled as part of a libc++ build.🤖 Generated with Claude Code