+2004-10-13 David Edelsohn <edelsohn@gnu.org>
+
+ * config/rs6000/rs6000.md (andsi3): Add attribute "compare" for
+ andi./andis.
+ (anddi3): Same.
+
2004-10-12 Tom Tromey <tromey@redhat.com>
* doc/md.texi (Insn Canonicalizations): Removed extraneous quote.
and %0,%1,%2
{rlinm|rlwinm} %0,%1,0,%m2,%M2
{andil.|andi.} %0,%1,%b2
- {andiu.|andis.} %0,%1,%u2")
+ {andiu.|andis.} %0,%1,%u2"
+ [(set_attr "type" "*,*,compare,compare")])
;; Note to set cr's other than cr0 we do the and immediate and then
;; the test again -- this avoids a mfcr which on the higher end
andi. %0,%1,%b2
andis. %0,%1,%u2
#"
- [(set_attr "length" "4,4,4,4,8")])
+ [(set_attr "type" "*,*,compare,compare,*")
+ (set_attr "length" "4,4,4,4,8")])
(define_split
[(set (match_operand:DI 0 "gpc_reg_operand" "")