------- Comment #5 from ramana at gcc dot gnu dot org  2009-12-22 16:35 -------
Testing this patch. Thumb2 can't have signed numbers in the tbh instruction.

Index: arm.h
===================================================================
--- arm.h       (revision 155371)
+++ arm.h       (working copy)
@@ -2122,7 +2122,7 @@ typedef struct
                                     && (optimize_size || flag_pic)))

 #define CASE_VECTOR_SHORTEN_MODE(min, max, body)                       \
-  (TARGET_THUMB                                                               
\
+  (TARGET_THUMB1                                                       \
    ? (min >= 0 && max < 512                                            \
       ? (ADDR_DIFF_VEC_FLAGS (body).offset_unsigned = 1, QImode)       \
       : min >= -256 && max < 256                                       \


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42093

Reply via email to