From 140ae7a51397c4b25e8d7b69349c95970e86241a Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 10 Apr 2022 08:57:09 -0400 Subject: [PATCH] Clarify template parameters. --- InstructionSets/PowerPC/Instruction.hpp | 38 ++++++++++++++----------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/InstructionSets/PowerPC/Instruction.hpp b/InstructionSets/PowerPC/Instruction.hpp index 0ffa9f534..a12d1aa19 100644 --- a/InstructionSets/PowerPC/Instruction.hpp +++ b/InstructionSets/PowerPC/Instruction.hpp @@ -132,7 +132,8 @@ enum class Operation: uint8_t { /// Rotate left then mask insert. /// rlmi rlmi. - /// rA(), rS(), rB(), mb(), me() [rc()] + /// rA(), rS(), rB(), mb(), me() [rc()] + /// Cf. rotate_mask() rlmix, /// Rotate right and insert bit. @@ -152,12 +153,12 @@ enum class Operation: uint8_t { /// Shift left immediate with MQ. /// sliq sliq. - /// rA(), rS(), sh() [rc()] + /// rA(), rS(), sh() [rc()] sliqx, /// Shift left long immediate with MQ. /// slliq slliq. - /// rA(), rS(), sh() [rc()] + /// rA(), rS(), sh() [rc()] slliqx, /// Shift left long with MQ. @@ -172,7 +173,7 @@ enum class Operation: uint8_t { /// Shift right algebraic immediate with MQ. /// sraiq sraiq. - /// rA(), rS(), sh() [rc()] + /// rA(), rS(), sh() [rc()] sraiqx, /// Shift right algebraic with MQ. @@ -197,12 +198,12 @@ enum class Operation: uint8_t { /// Shift right immediate with MQ. /// sriq sriq. - /// rA(), rS(), sh() [rc()] + /// rA(), rS(), sh() [rc()] sriqx, /// Shift right long immediate with MQ. /// srliq srliq. - /// rA(), rS(), sh() [rc()] + /// rA(), rS(), sh() [rc()] srliqx, /// Shift right long with MQ. @@ -866,17 +867,20 @@ enum class Operation: uint8_t { /// Rotate left word immediate then mask insert. /// rlwimi rlwimi. - /// rA(), rS(), sh(), mb(), me() [rc()] + /// rA(), rS(), sh(), mb(), me() [rc()] + /// Cf. rotate_mask() rlwimix, /// Rotate left word immediate then AND with mask. /// rlwinm rlwinm. - /// rA(), rS(), sh(), mb(), me() [rc()] + /// rA(), rS(), sh(), mb(), me() [rc()] + /// Cf. rotate_mask() rlwinmx, /// Rotate left word then AND with mask /// rlwimi rlwimi. - /// rA(), rB(), rS(), mb(), me() [rc()] + /// rA(), rB(), rS(), mb(), me() [rc()] + /// Cf. rotate_mask() rlwnmx, /// System call. @@ -895,7 +899,7 @@ enum class Operation: uint8_t { /// Shift right algebraic word immediate. /// srawi srawi. - /// rA(), rS(), sh() [rc()] + /// rA(), rS(), sh() [rc()] srawix, /// Shift right word. @@ -1253,32 +1257,32 @@ enum class Operation: uint8_t { /// Rotate left double word then clear left. /// rldcl rldcl. - /// rA(), rS(), rB(), mb() [rc()] + /// rA(), rS(), rB(), mb() [rc()] rldclx, /// Rotate left double word then clear right. /// rldcr rldcr. - /// rA(), rS(), rB(), mb() [rc()] + /// rA(), rS(), rB(), mb() [rc()] rldcrx, /// Rotate left double word then clear. /// rldic rldic. - /// rA(), rS(), rB(), sh(), mb() [rc()] + /// rA(), rS(), rB(), sh(), mb() [rc()] rldicx, /// Rotate left double word then clear left. /// rldicl rldicl. - /// rA(), rS(), rB(), sh(), mb() [rc()] + /// rA(), rS(), rB(), sh(), mb() [rc()] rldiclx, /// Rotate left double word then clear right. /// rldicr rldicr. - /// rA(), rS(), rB(), sh(), me() [rc()] + /// rA(), rS(), rB(), sh(), me() [rc()] rldicrx, /// Rotate left double word immediate then mask insert. /// rldiml rldimi. - /// rA(), rS(), rB(), sh(), mb() [rc()] + /// rA(), rS(), rB(), sh(), mb() [rc()] rldimix, /// Segment lookaside buffer ('SLB') invalidate all. @@ -1302,7 +1306,7 @@ enum class Operation: uint8_t { /// Shift right algebraic double word immediate. /// sradi sradi. - /// rA(), rS(),sh() [rc()] + /// rA(), rS(),sh() [rc()] sradix, /// Shift right double word.