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: 29 Nov 2001 17:46:02 +0000
- Subject: Re: d10v: don't silently turn @-r# into @-sp
- References: <orwv09tsjv.fsf@free.redhat.lsd.ic.unicamp.br>
Hi Alexandre,
> Index: include/opcode/ChangeLog
> from Alexandre Oliva <aoliva@redhat.com>
>
> * d10v.h (OPERAND_SP): New macro.
> Index: opcodes/ChangeLog
> from Alexandre Oliva <aoliva@redhat.com>
>
> * d10v-opc.c (d10v_predefined_registers): Mark `sp' as OPERAND_SP.
> (RSRC_SP): New macro.
> (d10v_operands): Add it.
> (d10v_opcodes): Adjust "st" and "st2w" to use RSRC_SP.
>
> Index: gas/ChangeLog
> from Alexandre Oliva <aoliva@redhat.com>
>
> * config/tc-d10v.c (find_opcode): Reject non-SP operand if
> flags requires SP.
>
Approved - please apply.
Cheers
Nick