Article View: gnu.gcc.help
Article #53465help with port.
From: Marc M. Hoffman
Date: Tue, 19 Nov 1991 21:53
Date: Tue, 19 Nov 1991 21:53
42 lines
1179 bytes
1179 bytes
I need to know how difficult it is to recognize a loop for purposes of
loop folding similar to a DBRA in the m68k.md. I need to know before any
of the code for the body of the loop is to generated.
pseudo 68k:
l:
...
DBRA xxyyzz l: I think....
where:
(define_insn ""
[(set (pc)
(if_then_else
(ne (compare (plus:HI (match_operand:HI 0 "general_operand" "g")
(const_int -1))
(const_int -1))
(const_int 0))
(label_ref (match_operand 1 "" ""))
(pc)))
(set (match_dup 0)
(plus:HI (match_dup 0)
(const_int -1)))]
...)
we need this:
do l until lce
...
l:
Any suggestions?
--
-----------------------
marc.hoffman@analog.com
Technical Details
Message-ID:
<1991Nov19.215349.6105@analog.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!analogdv!mmhShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,4f10f1d8ee2afd6b,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1991-11-20 00:02:33 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!analogdv!mmh From: mmh@analog.com (Marc M. Hoffman) Newsgroups: gnu.gcc.help Subject: help with port. Message-ID: <1991Nov19.215349.6105@analog.com> Date: 19 Nov 91 21:53:49 GMT Organization: Analog Devices, Inc. Lines: 42