[PATCH] [mips] Expansion of ROL and ROR instructions

Daniel Sanders daniel.sanders at imgtec.com
Tue Jun 23 08:30:57 PDT 2015


I believe it's closely related. On MIPS32r2 and later, ror/rol are aliases for rotr and rorv/rolv are aliases for rotrv/rotlv. Prior to MIPS32r2, they are macros that expand to equivalent code as per your patch.

Either way, you need to account for the case when the rotation immediate is zero.


http://reviews.llvm.org/D10611

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list