public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* why are multiply-accumulate insns not used when -mfp32 on mips
@ 2010-07-21  6:10 Amker.Cheng
  0 siblings, 0 replies; only message in thread
From: Amker.Cheng @ 2010-07-21  6:10 UTC (permalink / raw)
  To: gcc

HI:
   found mult-acc insns like madd.s/d are only used when -mfp64 is specified,
as to codes, there macros defined as:

#define ISA_HAS_FP4		((ISA_MIPS4				\
				  || (ISA_MIPS32R2 && TARGET_FLOAT64)   \    <------only float 64
				  || ISA_MIPS64				\
				  || ISA_MIPS64R2)			\
				 && !TARGET_MIPS16)

#define ISA_HAS_FP_MADD4_MSUB4  ISA_HAS_FP4

why not use madd when fp32? Is there anything special with fp32?

any clarification? Thanks very much

-- 
Best Regards.

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

only message in thread, other threads:[~2010-07-21  6:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-21  6:10 why are multiply-accumulate insns not used when -mfp32 on mips Amker.Cheng

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).