From 3fde54a228eaf5288bc42ea24b29c0e35b6f4984 Mon Sep 17 00:00:00 2001 From: Jie Zhang Date: Fri, 26 Feb 2010 15:52:41 +0000 Subject: [PATCH] * config/tc-arm.c (neon_select_shape): No need to match the remaining operands in the shape when one operand does not match. --- gas/ChangeLog | 6 ++++++ gas/config/tc-arm.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index e9cf498f2d..5e49710e95 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2010-02-26 Jie Zhang + + * config/tc-arm.c (neon_select_shape): No need to match + the remaining operands in the shape when one operand does + not match. + 2010-02-26 Jie Zhang * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index d17204228d..69057b7202 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -11790,6 +11790,8 @@ neon_select_shape (enum neon_shape shape, ...) case SE_L: break; } + if (!matches) + break; } if (matches) break; -- 2.34.1