* config/h8300/h8300.md: Add comments for define_peephole2.

From-SVN: r59690
This commit is contained in:
Kazu Hirata 2002-12-01 18:04:06 +00:00 committed by Kazu Hirata
parent c9f8536c5d
commit 96cc06af6f
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2002-12-01 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md: Add comments for define_peephole2.
2002-12-01 Mark Mitchell <mark@codesourcery.com>
* builtin-types.def (BT_SIZE): Use size_type_node.

View File

@ -2353,6 +2353,8 @@
;; PEEPHOLE PATTERNS
;; -----------------------------------------------------------------
;; Convert (A >> B) & C to (A & 255) >> B if C == 255 >> B.
(define_peephole2
[(parallel
[(set (match_operand:HI 0 "register_operand" "")
@ -2373,6 +2375,8 @@
(clobber (match_dup 2))])]
"")
;; Convert (A << B) & C to (A & 255) << B if C == 255 << B.
(define_peephole2
[(parallel
[(set (match_operand:HI 0 "register_operand" "")
@ -2393,6 +2397,8 @@
(clobber (match_dup 2))])]
"")
;; Convert (A >> B) & C to (A & 255) >> B if C == 255 >> B.
(define_peephole2
[(parallel
[(set (match_operand:SI 0 "register_operand" "")
@ -2413,6 +2419,8 @@
(clobber (match_dup 2))])]
"")
;; Convert (A << B) & C to (A & 255) << B if C == 255 << B.
(define_peephole2
[(parallel
[(set (match_operand:SI 0 "register_operand" "")
@ -2433,6 +2441,8 @@
(clobber (match_dup 2))])]
"")
;; Convert (A >> B) & C to (A & 65535) >> B if C == 65535 >> B.
(define_peephole2
[(parallel
[(set (match_operand:SI 0 "register_operand" "")
@ -2453,6 +2463,8 @@
(clobber (match_dup 2))])]
"")
;; Convert (A << B) & C to (A & 65535) << B if C == 65535 << B.
(define_peephole2
[(parallel
[(set (match_operand:SI 0 "register_operand" "")