Commit 96cc06af by Kazu Hirata Committed by Kazu Hirata

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

From-SVN: r59690
parent c9f8536c
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.
......
......@@ -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" "")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment