lkml.org 
[lkml]   [2013]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] ARC: Fix __udelay parentheses
From
Date
On Thu, 2013-08-29 at 05:55 +0000, Vineet Gupta wrote:

> The intent of writing orig code was to generate only 1 MPYHU insn (32*32 =
> high-part-64) for the whole math, at any optimization level whatsoever. If the
> first MPY is overflowing, u r likely spinning for > 10,000 usec (10ms) which is 1
> scheduling tick on ARC - not good - presumably for hardware debug. It would be
> better to use a tight loop there and throw it out later.

It's a delay loop. Does it matter whether
or not a multiply or division is used?




\
 
 \ /
  Last update: 2013-08-29 08:21    [W:0.049 / U:0.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site