diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2015-05-13 21:14:07 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2015-05-13 21:14:07 +0200 |
commit | 7893307bb20d7e1a6bd2de2fb8b5e779d376439f (patch) | |
tree | 1f844ee434c12f6162eaf679db00b07836aafef7 /gcc/config | |
parent | 1c08a6770c2bcd42657f537594116797d0d2daa7 (diff) | |
download | gcc-7893307bb20d7e1a6bd2de2fb8b5e779d376439f.zip gcc-7893307bb20d7e1a6bd2de2fb8b5e779d376439f.tar.gz gcc-7893307bb20d7e1a6bd2de2fb8b5e779d376439f.tar.bz2 |
re PR rtl-optimization/30967 (Extra sign/zero extend with word comparison result)
PR rtl-optimization/30967
* config/rs6000/rs6000.c (rs6000_rtx_costs): Don't consider
destination mode for the cost of scc patterns.
From-SVN: r223174
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index ec7332c..50d6391 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -30640,7 +30640,7 @@ rs6000_rtx_costs (rtx x, int code, int outer_code, int opno ATTRIBUTE_UNUSED, *total = COSTS_N_INSNS (2); return true; } - else if (mode == Pmode) + else { *total = COSTS_N_INSNS (3); return false; |