🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52426

More help needed on gcc

#52426
From: Michael Gersten
Date: Fri, 18 Sep 1992 23:08
25 lines
1374 bytes
No answers yet, but I'm plugging along.

For named pattern generation, how do I specify a constraint  
corresponding to an rtx of (mem (plus (reg X) (const_int Y)))?

I can handle constraints of just (reg X) ('r'), and I can handle  
it on non-named patterns (where I can force the match to be

(mem (plus (match_operand 'r') (match_operand('i))))

but that won't work with the named patterns because it wants to  
supply the two parts as a single operand.

Ideas? Do I just use the less efficient (reg only) method for  
the named patterns?

		Michael

(Still trying to figure out how to handle things like  
'everything but this one addressing mode (mem(plus(reg)(reg)))'  
constraints)
--
		Michael Gersten		michael@stb.info.com
HELLO! I'm a signature virus! Join in the fun and copy me into yours!
ex:.-1,. w $HOME/.signature
Technical Details
Message-ID: <m0mVrQb-0005OXC@stb.info.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!stb.INfo.COM!michael

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,8188b93e5305e74b,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-09-18 11:00:06 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!stb.INfo.COM!michael
From: michael@stb.INfo.COM (Michael Gersten)
Subject: More help needed on gcc
Message-ID: <m0mVrQb-0005OXC@stb.info.com>
Sender: daemon@cis.ohio-state.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 18 Sep 1992 23:08:00 GMT
Lines: 25