This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Porting GCC
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: Gyle Yearsley <gyearsley at zilog dot com>
- Cc: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Date: Thu, 03 Jun 2004 16:38:20 +0100
- Subject: Re: Porting GCC
- References: <2D76CE3268EAD511A75300B0D049B840C56DF7@zmail.zilog.com>
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