by ajdlinux · 10y ago · 0 comments
Its crazy how terse PPC's instructions are, the PPC ISA book felt like reading PHD paper where as ARM's ISA manuals felt like a gentle novel.
Here's a wonderful excerpt from the latest 2.07 ISA:
"The following notation is used in the definitions below. When MMCR0_PMCC = 11, “PMCs” refers to PMCs 1 - 4 and “PMCj” or PMCjCE refers to “PMCj or PMCjCE, respectively, where j = 2 - 4; otherwise, “PMCs” refers to PMCs 1 - 6 and “PMCj” or PMCjCE refers to “PMCj or PMCjCE, respectively, where j = 2 - 6."
Get all of that? Good, now go write code to make use of it.