Re: CPUFLAGS for IP32

Izumi Tsutsui <[email protected]>
Newsgroups gmane.os.netbsd.ports.sgimips
Message-ID <[email protected]>
[email protected] 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.