diff options
Diffstat (limited to 'main/gcc/arm-pr65932.patch')
-rw-r--r-- | main/gcc/arm-pr65932.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/main/gcc/arm-pr65932.patch b/main/gcc/arm-pr65932.patch new file mode 100644 index 0000000000..e7287d018e --- /dev/null +++ b/main/gcc/arm-pr65932.patch @@ -0,0 +1,19 @@ +--- gcc/gcc/config/arm/arm.h (revision 224441) ++++ gcc/gcc/config/arm/arm.h (working copy) +@@ -523,16 +523,10 @@ extern int arm_arch_crc; + type, but kept valid in the wider mode. The signedness of the + extension may differ from that of the type. */ + +-/* It is far faster to zero extend chars than to sign extend them */ +- + #define PROMOTE_MODE(MODE, UNSIGNEDP, TYPE) \ + if (GET_MODE_CLASS (MODE) == MODE_INT \ + && GET_MODE_SIZE (MODE) < 4) \ + { \ +- if (MODE == QImode) \ +- UNSIGNEDP = 1; \ +- else if (MODE == HImode) \ +- UNSIGNEDP = 1; \ + (MODE) = SImode; \ + } + |