This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[RFA] Improve neon_select_shape a little
- From: Jie Zhang <jie at codesourcery dot com>
- To: binutils at sourceware dot org
- Date: Fri, 26 Feb 2010 18:18:22 +0800
- Subject: [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;