Patch to add -mfp32 support to MIPS gas

Ian Lance Taylor ian@zembu.com
Tue Jul 31 09:02:00 GMT 2001


Richard Sandiford <r.sandiford@redhat.com> writes:

> But, can anyone explain these entries in mips-opc.c:
> 
> {"move",    "d,s",	0x00000025, 0xfc1f07ff,	WR_d|RD_s,		M1|G6	},/* or */
> {"move",    "d,s",	0x0000002d, 0xfc1f07ff, WR_d|RD_s,		M3	},/* daddu */
> {"move",    "d,s",	0x00000021, 0xfc1f07ff, WR_d|RD_s,		M1	},/* addu */
> {"move",    "d,s",	0x00000025, 0xfc1f07ff,	WR_d|RD_s,		M1	},/* or */
> 
> The archives say that "addu" is preferred to "or" because some processors
> have two addition units but only a single logic unit:
> 
>      < http://sources.redhat.com/ml/binutils/1999-10/msg00132.html >
> 
> But why that last entry?

The last entry is there for the disassembler.

> And why not use "addu" for -mgp32 as well?

I don't know.

Ian



More information about the Binutils mailing list