linux-mips
[Top] [All Lists]

"Setting flush to zero for ..." - what is the warning?

To: linux-mips@oss.sgi.com
Subject: "Setting flush to zero for ..." - what is the warning?
From: Jun Sun <jsun@mvista.com>
Date: Wed, 01 Nov 2000 10:58:13 -0800
Sender: owner-linux-mips@oss.sgi.com
I ran some stress tests and start to get this warning.  It appears to be
generated in do_fpe() routine.  See below.  I wonder why this is
happening.  Can someone explain what is going on?  Thanks.


Jun


void do_fpe(struct pt_regs *regs, unsigned long fcr31)
{
        ....
        if (fcr31 & 0x20000) {
                /* Retry instruction with flush to zero ...  */
                if (!(fcr31 & (1<<24))) {
                        printk("Setting flush to zero for %s.\n",
                               current->comm);
                        fcr31 &= ~0x20000;
                        fcr31 |= (1<<24);
                        __asm__ __volatile__(
                                "ctc1\t%0,$31"
                                : /* No outputs */
                                : "r" (fcr31));
                        return;
                }

<Prev in Thread] Current Thread [Next in Thread>