This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: d10v: don't silently turn @-r# into @-sp
- From: Nick Clifton <nickc at cambridge dot redhat dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: 03 Dec 2001 10:06:31 +0000
- Subject: Re: d10v: don't silently turn @-r# into @-sp
- References: <orwv09tsjv.fsf@free.redhat.lsd.ic.unicamp.br><m3vgftzd0l.fsf@north-pole.nickc.cambridge.redhat.com><orpu5xj04z.fsf@free.redhat.lsd.ic.unicamp.br>
Hi Alexandre,
> Oops. Unfortunately, this broke disassembly of sp. It would come
> out as r262159, because we wouldn't find sp and num would then be
> printed with the OPERAND_GPR bit set. Perhaps num should be masked
> with the REGISTER_MASK before being printed?
This would probably be a good idea.
> from Alexandre Oliva <aoliva@redhat.com>
>
> * d10v-dis.c (print_operand): Disregard OPERAND_SP in register
> predefined value.
Approved.
Cheers
Nick