The Extension is found in the PowerPC 750CL, modified variants of it are
used in the Nintendo GameCube (Gekko), the Nintendo Wii (Broadway) and
the Nintendo Wii U (Espresso)
It's been going pretty well so far, however the biggest hurdle I have
encountered was that the testsuite is failing because the instruction
space for Paired Singles has been reused for ISA 3.1 and VMX.
Is there a way to disembiguate them further? You can see my current
patch at https://reviews.llvm.org/D85137 and it already prevents you
from enabling Altivec and Paired Singles at the same time.
_______________________________________________
LLVM Developers mailing list
llvm...@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
You can set a different decoding namespace for the new instructions. We
have this for SPE instructions, and this is what we did for QPX
instructions when those were supported.
In TableGen, you surround the instructions with something like:
let DecoderNamespace = "PairedSingles" in {
and then in Disassembler/PPCDisassembler.cpp, you'll have something like:
if (STI.getFeatureBits()[PPC::FeaturePairedSingles]) {
DecodeStatus result =
decodeInstruction(DecoderTablePairedSingles32, MI, Inst, Address,
this, STI);
if (result != MCDisassembler::Fail)
return result;
} else if (STI.getFeatureBits()[PPC::FeatureSPE]) {
-Hal
--
Hal Finkel
Lead, Compiler Technology and Programming Languages
Leadership Computing Facility
Argonne National Laboratory
Hi Hal,
Didn't know about that, it seems to work. thank you for your quick response.