This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

mips optimization


i'm using a mips iv chip but the os only supports 32 bit.
 
i usually then back off to -mips2 and -mcpu=5000 or such.
 
i'm trying to generate 32 bit code but allow for instructions
like MADD to be used.
 
i've done this before but now can't seem to get the compiler
to generate the MADD unless i go to mips 4, but then it generates
the 64 bit divide instruction which crashes the target.
 
any ideas?
 
has something changed recently in the compiler in this respect.
 
tia.
 
reed
 

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