From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m64F8bpn029318 for ; Fri, 4 Jul 2008 11:08:37 -0400 Received: from frosty.hhs.nl (frosty.hhs.nl [145.52.2.15]) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id m64F8OO3012344 for ; Fri, 4 Jul 2008 11:08:24 -0400 Received: from exim (helo=frosty) by frosty.hhs.nl with local-smtp (Exim 4.62) (envelope-from ) id 1KEmtc-0006K3-69 for video4linux-list@redhat.com; Fri, 04 Jul 2008 17:08:24 +0200 Message-ID: <486E3CC4.6090609@hhs.nl> Date: Fri, 04 Jul 2008 17:07:48 +0200 From: Hans de Goede MIME-Version: 1.0 To: Gregor Jasny References: <20080704144036.GJ18818@vidsoft.de> In-Reply-To: <20080704144036.GJ18818@vidsoft.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: video4linux-list@redhat.com, v4l2-library@linuxtv.org Subject: Re: PATCH: libv4l-fix-idct-inline-assembly.diff List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: video4linux-list-bounces@redhat.com Errors-To: video4linux-list-bounces@redhat.com List-ID: Hi, I was just about to send the same patch :) Note that this is already incorperated into the libv4l-0.3.2 tarbal release which I'm about to announce. Regards, Hans Gregor Jasny wrote: > Hi, > > This patch fixes the input constraint for the sar instruction. It allows only an > immediate or cl as shift width. > > Thanks, > Gregor > > Signed-off-by: Gregor Jasny > > diff -r 61deeffda900 v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c > --- a/v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c Fri Jul 04 07:21:55 2008 +0200 > +++ b/v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c Fri Jul 04 16:24:33 2008 +0200 > @@ -92,7 +92,7 @@ static inline unsigned char descale_and_ > "\tcmpl %4,%1\n" > "\tcmovg %4,%1\n" > : "=r"(x) > - : "0"(x), "Ir"(shift), "ir"(1UL<<(shift-1)), "r" (0xff), "r" (0) > + : "0"(x), "Ic"((unsigned char)shift), "ir"(1UL<<(shift-1)), "r" (0xff), "r" (0) > ); > return x; > } > -- video4linux-list mailing list Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list