Port-sgimips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CPUFLAGS for IP32



martin%duskware.de@localhost wrote:

> Hmm - the pkgsrc/devel/cpuflags pkg suggests
> 
>   -mtune=r5000 -mips2
> 
> for the R5K - should this be changed too?

Maybe. I also used -mips2 (an old style of -march=mips2)
because -mips3 implied -mabi=64 and I didn't know -mabi=NN option.

> What would be the right values for R10K?

According to gcc(1) man page no ISA name for R10K is ready, so
-march=mips4 -mabi=32 ?

Anyway I guess there are few differences between mips3 and mips4,
and probably -march=mips2 is enough for performance.
(i.e. some pains for mips1 compatibility on mips3 cpus)
---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index