public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* MIPS -mmad operation
@ 2001-09-07  8:32 Carl van Schaik
  0 siblings, 0 replies; only message in thread
From: Carl van Schaik @ 2001-09-07  8:32 UTC (permalink / raw)
  To: gcc

Hi,
The gcc MIPS compiler suite / binutils supports
some ISA extensions: "-mmad" for the r4650 cpu

I have an IDT RC64574/RC64575 processor (R5000 based) with
64-bit FPU to which I'm porting linux.

It has the following ISA extensions:

MULT/MULTU	(16/32 bit)	Multiply - Signed/Unsigned
DMULT/DMULTU	(16/32/64 bit)	Double Multiply - Signed/Unsigned
DIV/DIVU	(16/32/64 bit)	Division
MAD/MADU	(16/32 bit)	Multiply and Add
MSUB/MSUBU	(16/32 bit)	Multiply and Subtract
MUL		(16/32 bit)	3 operand Multiply
CLZ/CLO				Count Leading Zeros/Ones

The first major issue is that when I enable the
"-mmad" option, GCC forces the R4650 CPU so
I loose 64-bit object format and more importantly
loose 64-bit FPU operations.

Is it planned to included these instructions for other
processors in the near future?

How difficult is it too add instructions to
binutils (more important) and gcc?

thanks

Carl

-- 

Carl van Schaik, <carl at openfuel dot com>    | Tel +27 21 650-3467
Electrical Engineering                         | Fax +27 21 650-4305
OpenFuel Pty Ltd.	South Africa

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-09-07  8:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-07  8:32 MIPS -mmad operation Carl van Schaik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).