Re: [PATCH] gcc 3.4 drops "accum" clobber, replace with "hi" in time.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2004-04-12 at 17:53, Bradley D. LaRonde wrote:
> Uh oh, with this patch:
> 
> ...
> time.c: In function `fixed_rate_gettimeoffset':
> time.c:242: error: can't find a register in class `HI_REG' while reloading
> `asm'
> ...

> >
> >         /*
> >          * Due to possible jiffies inconsistencies, we need to check
> > @@ -339,7 +339,7 @@
> >                                 : "r" (timerhi), "m" (timerlo),
> >                                   "r" (tmp), "r" (USECS_PER_JIFFY),
> >                                   "r" (USECS_PER_JIFFY_FRAC)
> > -                               : "hi", "lo", "accum");
> > +                               : "hi", "lo", "hi");
> >                         cached_quotient = quotient;


Maybe this hunk where you use "hi" twice for the same asm statement?

-eric

-- 
Eric Christopher <echristo@redhat.com>



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux