[PATCH] [mips] Add new format for dmtc2/dmfc2 for Octeon CPUs.
Daniel Sanders
daniel.sanders at imgtec.com
Thu May 28 03:19:10 PDT 2015
I think I see what's happening in my build. It seems tablegen only complains about decoder conflicts when the mask of literal bits and the values of those masked bits are exactly the same. In the case of DMFC2 vs DMFC2_OCTEON we have:
DMFC2 01001000001_____ _____00000000___
DMFC2_OCTEON 01001000001_____ ________________
So instead of reporting decoder conflicts as an error it quietly prefers DMFC2 when bits 10 down to 3 are 0, and therefore disassembles incorrectly for the CnMips case.
http://reviews.llvm.org/D10083
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list