[PATCH] D39249: Add support for e500mc extpid instructions

vit9696 via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 11:05:40 PDT 2017


vit9696 created this revision.
Herald added subscribers: kbarton, nemanjai.

This change allows one to assemble (and disassemble) PPC32 external pid instructions specific to e500mc CPUs.
The list and details are available in https://www.nxp.com/docs/en/reference-manual/E500MCRM.pdf (3.4.11.2).
The encoding is defined in http://cache.freescale.com/files/32bit/doc/ref_manual/EREF_RM.pdf (6.4).

This was additionally tested against gcc except dcbzlep instruction which gcc does not support.


https://reviews.llvm.org/D39249

Files:
  lib/Target/PowerPC/PPCInstrInfo.td
  test/MC/PowerPC/ppc32-extpid-e500.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39249.120100.patch
Type: text/x-patch
Size: 5775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171024/91b4d1f7/attachment.bin>


More information about the llvm-commits mailing list