This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, i386]: Fix the mode of incdec_operand check in *addqi_4
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 4 Jun 2010 11:48:28 +0200
- Subject: [PATCH, i386]: Fix the mode of incdec_operand check in *addqi_4
Hello!
Just a small fix.
2010-06-04 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (*addqi_4): Check for incdec_operand in QImode.
Tested on x86_64-pc-linux-gnu, committed to all open branches.
Uros.
Index: i386.md
===================================================================
--- i386.md (revision 160255)
+++ i386.md (working copy)
@@ -7325,7 +7325,7 @@
}
}
[(set (attr "type")
- (if_then_else (match_operand:HI 2 "incdec_operand" "")
+ (if_then_else (match_operand:QI 2 "incdec_operand" "")
(const_string "incdec")
(const_string "alu")))
(set_attr "mode" "QI")])