Newsgroups: comp.sys.mips Path: utzoo!utgpu!watserv1!vlsi!peregier From: peregier@vlsi.waterloo.edu (Phil Regier) Subject: mips2 option for the compiler Message-ID: <1991Feb12.205718.22168@vlsi.waterloo.edu> Organization: University of Waterloo Date: Tue, 12 Feb 1991 20:57:18 GMT Lines: 14 In the man page for cc and f77, there are two options '-mips1' and '-mips2' mentioned. The first generates code using the instruction set of the R2000/R3000 RISC architecture. It is the default for all MIPS systems. The second generates code for the R6000 architecture. It appears that the different libraries that are used are libm, libm43 and libfastm. The other libraries are the same. In the assembly code I've looked at from some test files, the only difference appears to be the lack of some '.align 0' instructions when using '-mips2'. But I can't find any more information than this. Can somebody tell me what advantage there is to using the -mips2 option? Is there a significant performance improvement if one is actually running on an R6000 machine?