Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -121,7 +121,7 @@ static void draw_edges_mmx(uint8_t *buf, int wrap, int width, int height, · 120 unmodified lines | |||
| 121 | "movq %%mm1, (%0, %2) \n\t" | 121 | "movq %%mm1, (%0, %2) \n\t" |
| 122 | "add %1, %0 \n\t" | 122 | "add %1, %0 \n\t" |
| 123 | "cmp %3, %0 \n\t" | 123 | "cmp %3, %0 \n\t" |
| 124 | "jb 1b \n\t" | 124 | "jnz 1b \n\t" |
| 125 | : "+r" (ptr) | 125 | : "+r" (ptr) |
| 126 | : "r" ((x86_reg) wrap), "r" ((x86_reg) width), | 126 | : "r" ((x86_reg) wrap), "r" ((x86_reg) width), |
| 127 | "r" (ptr + wrap * height)); | 127 | "r" (ptr + wrap * height)); |
| @@ -142,7 +142,7 @@ static void draw_edges_mmx(uint8_t *buf, int wrap, int width, int height, · 14 unmodified lines | |||
| 142 | "movq %%mm1, 8(%0, %2) \n\t" | 142 | "movq %%mm1, 8(%0, %2) \n\t" |
| 143 | "add %1, %0 \n\t" | 143 | "add %1, %0 \n\t" |
| 144 | "cmp %3, %0 \n\t" | 144 | "cmp %3, %0 \n\t" |
| 145 | "jb 1b \n\t" | 145 | "jnz 1b \n\t" |
| 146 | : "+r"(ptr) | 146 | : "+r"(ptr) |
| 147 | : "r"((x86_reg)wrap), "r"((x86_reg)width), "r"(ptr + wrap * height) | 147 | : "r"((x86_reg)wrap), "r"((x86_reg)width), "r"(ptr + wrap * height) |
| 148 | ); | 148 | ); |
| @@ -161,7 +161,7 @@ static void draw_edges_mmx(uint8_t *buf, int wrap, int width, int height, · 12 unmodified lines | |||
| 161 | "movd %%mm1, (%0, %2) \n\t" | 161 | "movd %%mm1, (%0, %2) \n\t" |
| 162 | "add %1, %0 \n\t" | 162 | "add %1, %0 \n\t" |
| 163 | "cmp %3, %0 \n\t" | 163 | "cmp %3, %0 \n\t" |
| 164 | "jb 1b \n\t" | 164 | "jnz 1b \n\t" |
| 165 | : "+r" (ptr) | 165 | : "+r" (ptr) |
| 166 | : "r" ((x86_reg) wrap), "r" ((x86_reg) width), | 166 | : "r" ((x86_reg) wrap), "r" ((x86_reg) width), |
| 167 | "r" (ptr + wrap * height)); | 167 | "r" (ptr + wrap * height)); |