This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC & patch: Rework MIPS command-line handling


cgd@broadcom.com writes:
> 
> At Mon, 15 Jul 2002 10:40:42 +0000 (UTC), "Mark D. Baushke" wrote:
> > In MIPS I the -mlong64 also implies the use of register pairs right? 
> > Where in MIPS III, the -mlong64 implies the use of a single register.
> 
> yes.
> 
> Several people, myself included, would be ... quite happy if that mode
> went away completely, i.e. -mlong64 were disallowed if GPRs weren't
> also 64-bit.

I am not sure it fully solves your problem. You would still have to deal
with 64-bit 'long long' integers.

We do use long long on 32-bit processors to manipulate 64-bit values.
When operating a mips processor in 32-bit mode you still need to use
register pairs for such values or figure out that the ABI only needs a
single register for a 64-bit value and use that instead. In the end, it
matters how the chip itself is configured to run as to what happens to
the size of the GPRs.
 
> Are you actually using -mlong64 w/ 32-bit GPR systems?

No, but we do use 64-bit integers w/ 32-bit GPR systems.

    -- Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]