Unified · Split
| @@ -121,7 +121,7 @@ static void draw_edges_mmx(uint8_t *buf, int wrap, int width, int height, · 120 unmodified lines | ||
| 121 | 121 | "movq %%mm1, (%0, %2) \n\t" |
| 122 | 122 | "add %1, %0 \n\t" |
| 123 | 123 | "cmp %3, %0 \n\t" |
| 124 | − "jb 1b \n\t" | |
| 124 | + "jnz 1b \n\t" | |
| 125 | 125 | : "+r" (ptr) |
| 126 | 126 | : "r" ((x86_reg) wrap), "r" ((x86_reg) width), |
| 127 | 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 | 142 | "movq %%mm1, 8(%0, %2) \n\t" |
| 143 | 143 | "add %1, %0 \n\t" |
| 144 | 144 | "cmp %3, %0 \n\t" |
| 145 | − "jb 1b \n\t" | |
| 145 | + "jnz 1b \n\t" | |
| 146 | 146 | : "+r"(ptr) |
| 147 | 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 | 161 | "movd %%mm1, (%0, %2) \n\t" |
| 162 | 162 | "add %1, %0 \n\t" |
| 163 | 163 | "cmp %3, %0 \n\t" |
| 164 | − "jb 1b \n\t" | |
| 164 | + "jnz 1b \n\t" | |
| 165 | 165 | : "+r" (ptr) |
| 166 | 166 | : "r" ((x86_reg) wrap), "r" ((x86_reg) width), |
| 167 | 167 | "r" (ptr + wrap * height)); |