# HG changeset patch # User mru # Date 1170109647 0 # Node ID 04b5141fa890fed14404ef03193bfddc18f8d417 # Parent cab2986ffc0bb25af6376f0ab662ebf950d3c4d5 typo fix by Dmitry Antipov dmantipov =a= yandex =d= ru diff -r cab2986ffc0b -r 04b5141fa890 armv4l/mpegvideo_armv5te.c --- a/armv4l/mpegvideo_armv5te.c Mon Jan 29 22:25:54 2007 +0000 +++ b/armv4l/mpegvideo_armv5te.c Mon Jan 29 22:27:27 2007 +0000 @@ -72,7 +72,7 @@ int xqmul = xxqmul, xqadd = xxqadd, xcount = xxcount, xtmp; \ int xdata1, xdata2; \ __asm__ __volatile__( \ - "subs %[count], #2 \n\t" \ + "subs %[count], %[count], #2 \n\t" \ "ble 2f \n\t" \ "ldrd r4, [%[block], #0] \n\t" \ "1: \n\t" \ @@ -128,11 +128,11 @@ "strh r7, [%[block]], #2 \n\t" \ "strh %[data2], [%[block]], #2 \n\t" \ \ - "subs %[count], #8 \n\t" \ + "subs %[count], %[count], #8 \n\t" \ "ldrgtd r4, [%[block], #0] \n\t" /* load data early to avoid load/use pipeline stall */ \ "bgt 1b \n\t" \ \ - "adds %[count], #2 \n\t" \ + "adds %[count], %[count], #2 \n\t" \ "ble 3f \n\t" \ "2: \n\t" \ "ldrsh %[data1], [%[block], #0] \n\t" \