aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2010-04-11 16:26:27 +0200
committerUros Bizjak <uros@gcc.gnu.org>2010-04-11 16:26:27 +0200
commit59caab22b5f31eef1b5b89a0caf2fc1c155585bd (patch)
tree3e4a073465185c0cf90bee29a169a458d7162cdf /gcc
parent9200ac720c5fe547870939a0a1ec5c8d72ad7aff (diff)
downloadgcc-59caab22b5f31eef1b5b89a0caf2fc1c155585bd.zip
gcc-59caab22b5f31eef1b5b89a0caf2fc1c155585bd.tar.gz
gcc-59caab22b5f31eef1b5b89a0caf2fc1c155585bd.tar.bz2
i386.md (*ashr<mode>3_cconly): Fix wrong mode of scratch register.
* config/i386/i386.md (*ashr<mode>3_cconly): Fix wrong mode of scratch register. (*lshr<mode>3_cconly): Ditto. From-SVN: r158204
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog12
-rw-r--r--gcc/config/i386/i386.md4
2 files changed, 11 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f718ae0..6e467e5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2010-04-11 Uros Bizjak <ubizjak@gmail.com>
+ * config/i386/i386.md (*ashr<mode>3_cconly): Fix wrong mode of
+ scratch register.
+ (*lshr<mode>3_cconly): Ditto.
+
+2010-04-11 Uros Bizjak <ubizjak@gmail.com>
+
* config/i386/i386.md (lshr<mode>3): Macroize expander from
lshr{qi,hi,si,di,ti}3_1 using SDWIM mode iterator.
(*lshr<mode>3_doubleword): New insn_and_split_pattern. Macroize
@@ -46,7 +52,7 @@
*ashrdi3_one_bit_cconly_rex64. Macroize insn from
*ashr{qi,hi,si}3_cconly and *ashrdi3_cconly_rex64 using
SWI mode iterator.
- (sign_extend splitters): Update for renamed ashr{di,si}3_31 patterns.
+ (sign_extend splitters): Update for renamed ashr{di,si}3_cvt patterns.
* config/i386/i386.c (ix86_split_ashr): Update for renamed
x86_shift<mode>_adj_3 expanders.
@@ -221,7 +227,7 @@
* tree-vectorizer.h (struct _stmt_vec_info): Document
that vectype is the type of the LHS.
- (supportable_widening_operation, supportable_narrowing_operation):
+ (supportable_widening_operation, supportable_narrowing_operation):
Get both input and output vector types as arguments.
(vect_is_simple_use_1): Declare.
(get_same_sized_vectype): Likewise.
@@ -474,7 +480,7 @@
inserting GIMPLE_NOPs into the IL.
* tree-ssa-structalias.c (get_constraint_for_component_ref):
Explicitly strip handled components and indirect references.
-
+
* fold-const.c (fold_unary_loc): Do not strip qualifiers when
folding address expressions.
* gimple.c (gimple_ior_addresses_taken_1): Use get_base_address.
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 03e4f38..8ff8643 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -10505,7 +10505,7 @@
(ashiftrt:SWI (match_operand:SWI 1 "nonimmediate_operand" "0")
(match_operand:QI 2 "<shift_immediate_operand>" "<S>"))
(const_int 0)))
- (clobber (match_scratch:DI 0 "=<r>"))]
+ (clobber (match_scratch:SWI 0 "=<r>"))]
"(optimize_function_for_size_p (cfun)
|| !TARGET_PARTIAL_FLAG_REG_STALL
|| (operands[2] == const1_rtx
@@ -10719,7 +10719,7 @@
(lshiftrt:SWI (match_operand:SWI 1 "nonimmediate_operand" "0")
(match_operand:QI 2 "<shift_immediate_operand>" "<S>"))
(const_int 0)))
- (clobber (match_scratch:DI 0 "=<r>"))]
+ (clobber (match_scratch:SWI 0 "=<r>"))]
"(optimize_function_for_size_p (cfun)
|| !TARGET_PARTIAL_FLAG_REG_STALL
|| (operands[2] == const1_rtx