diff options
author | Jim Wilson <jim.wilson@linaro.org> | 2016-02-04 09:50:12 +0000 |
---|---|---|
committer | Kyrylo Tkachov <ktkachov@gcc.gnu.org> | 2016-02-04 09:50:12 +0000 |
commit | 8644f49f755c3403ab24d5cf505206fc1e8e097d (patch) | |
tree | 18d9d064b09f39ab84fd507e5f5ce25a6a9a3c82 /gcc | |
parent | e8449decaf6daefc5f5afd3c37aaa66bbd41d322 (diff) | |
download | gcc-8644f49f755c3403ab24d5cf505206fc1e8e097d.zip gcc-8644f49f755c3403ab24d5cf505206fc1e8e097d.tar.gz gcc-8644f49f755c3403ab24d5cf505206fc1e8e097d.tar.bz2 |
[ARM] PR target/65932: stop changing signedness in PROMOTE_MODE
2016-02-04 Jim Wilson <jim.wilson@linaro.org>
PR target/65932
PR target/67714
* config/arm/arm.h (PROMOTE_MODE): Don't set UNSIGNEDP for QImode and
HImode.
From-SVN: r233130
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/arm/arm.h | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 390c0bf..4146241 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2016-02-04 Jim Wilson <jim.wilson@linaro.org> + + PR target/65932 + PR target/67714 + * config/arm/arm.h (PROMOTE_MODE): Don't set UNSIGNEDP for QImode and + HImode. + 2016-02-04 Christian Bruel <christian.bruel@st.com> * config/arm/arm-c.c (arm_reset_previous_fndecl): Style fix and typo. diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index a32ae4c..d755b72 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -540,16 +540,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; \ } |