This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb/binutils-2_25-branch] Remove unused MTMSRD_L macro and re-add accidentally deleted comment.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=44163a235cd2f717eb8f0e1ad3e1bad1468308b8

commit 44163a235cd2f717eb8f0e1ad3e1bad1468308b8
Author: Peter Bergner <bergner@vnet.ibm.com>
Date:   Fri Jun 12 15:06:07 2015 -0500

    Remove unused MTMSRD_L macro and re-add accidentally deleted comment.
    
    In the commit that added PowerPC Pair Singles, Ben accidentally removed
    a comment and re-added an unused MTMSRD_L macro Alan had recently deleted.
    This was probably just an oversite when he was refreshing his patch to
    trunk.
    
    opcodes/
    	* ppc-opc.c: Add comment accidentally removed by old commit.
    	(MTMSRD_L): Delete.

Diff:
---
 opcodes/ChangeLog | 4 ++++
 opcodes/ppc-opc.c | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 93730c3..da1fdac 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,6 +1,10 @@
 2015-07-10  Alan Modra  <amodra@gmail.com>
 
 	Apply from master
+	2015-06-12  Peter Bergner  <bergner@vnet.ibm.com>
+	* ppc-opc.c: Add comment accidentally removed by old commit.
+	(MTMSRD_L): Delete.
+
 	2015-06-04  Peter Bergner  <bergner@vnet.ibm.com>
 	* ppc-opc.c: (powerpc_opcodes) <hwsync>: New extended mnemonic.
 
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index 5bcaad4..f68d9de 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -747,12 +747,12 @@ const struct powerpc_operand powerpc_operands[] =
 #define PSD PSQM + 1
   {  0xfff, 0, 0, 0,  PPC_OPERAND_PARENS | PPC_OPERAND_SIGNED },
 
+  /* The L field in an mtmsrd or A form instruction or W in an X form.  */
 #define A_L PSD + 1
 #define W A_L
-#define MTMSRD_L W
   { 0x1, 16, NULL, NULL, PPC_OPERAND_OPTIONAL },
 
-#define RMC MTMSRD_L + 1
+#define RMC A_L + 1
   { 0x3, 9, NULL, NULL, 0 },
 
 #define R RMC + 1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]