This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Porting GCC
- From: Gyle Yearsley <gyearsley at zilog dot com>
- To: 'Richard Sandiford' <rsandifo at redhat dot com>
- Cc: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Date: Fri, 4 Jun 2004 08:24:23 -0700
- Subject: RE: Porting GCC
Thanks Richard,
I will check that.
Gyle
-----Original Message-----
From: Richard Sandiford [mailto:rsandifo@redhat.com]
Sent: Thursday, June 03, 2004 9:38 AM
To: Gyle Yearsley
Cc: 'gcc@gcc.gnu.org'
Subject: Re: Porting GCC
Gyle Yearsley <gyearsley@zilog.com> writes:
>> (insn 15 13 16 (nil) (set (mem/f:SI (pre_dec:SI (reg/f:SI 16 sp)) [0 S4
>> A8])
>> (mem/f:SI (plus:SI (reg/f:SI 18 virtual-stack-vars)
>> (const_int -20 [0xffffffec])) [0 e+0 S4 A32])) -1 (nil)
>> (nil))
>>
>>
>> (define_insn "pushsi"
>> [(set:SI (mem:SI (pre_dec:SI (reg:SI 16)))
>> (match_operand:SI 0 "general_operand" "r,m"))]
>> ""
>> "@
>> push.q %0
>> push.q %0"
>> )
One thing to check is that GO_IF_LEGITIMATE_ADDRESS accepts:
(plus:SI (reg/f:SI 18 virtual-stack-vars)
(const_int -20 [0xffffffec]))
as a valid address for SImode.
Richard