This is the mail archive of the binutils@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]

[RFA] Improve neon_select_shape a little


When debugging an ARM assembler bug, I found this. The ChangeLog entry explains the patch clearly. Tested on arm-none-eabi. Is it OK?


Jie
2010-02-26  Jie Zhang  <jie@codesourcery.com>

	* config/tc-arm.c (neon_select_shape): No need to match
	the remaining operands in the shape when one operand does
	not match.

Index: config/tc-arm.c
===================================================================
--- config/tc-arm.c	(revision 276631)
+++ config/tc-arm.c	(working copy)
@@ -11730,6 +11730,8 @@ neon_select_shape (enum neon_shape shape
             case SE_L:
               break;
             }
+	  if (!matches)
+	    break;
         }
       if (matches)
         break;

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