This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Fw: Some porting help
- From: Anders Ådland <adland at stud dot ntnu dot no>
- To: kiran <kkksurya at yahoo dot com>
- Cc: gcc at gnu dot org
- Date: 14 May 2003 21:21:52 +0200
- Subject: Re: Fw: Some porting help
- References: <003301c31a4b$19af3cd0$b3ad010a@kirankumar>
Thanks for anwering! The problem is that I'm already using
"register_operand" and "r" when using (pre_dec ...) but still
(pre_dec:SI (mem:SI ...))
is used in the internals of GCC and makes a segmentation fault.
Any suggestions?
Anders
On Wed, 2003-05-14 at 21:00, kiran wrote:
>
>
>
> >
> > http://gcc.gnu.org/ml/gcc/2003-05/msg01403.html
> >
>
> you should fix the corresponding predicate and/or constraint for 'x' in (pre_dec:m x) to not allow memory.
>
> something on the following lines...
>
> (pre_dec:SI "register_operand" "r")
>
> if the register class which can be used for predecrement operation is different from the general register class you need to define a new constraint letter.
>
> best regards,
> kiran.
>
>