]>
Commit | Line | Data |
---|---|---|
4396b561 JB |
1 | --- gimp-2.2.10/app/composite/gimp-composite-x86.h.orig 2005-01-08 00:58:33.000000000 +0100 |
2 | +++ gimp-2.2.10/app/composite/gimp-composite-x86.h 2005-12-31 01:55:07.543302360 +0100 | |
3 | @@ -85,7 +85,7 @@ | |
4 | * (high-order bit of each word is left alone) | |
5 | * clobber list must include: "%eax", "%ecx", "%edx", divisor quotient | |
6 | */ | |
7 | -#define pdivwqX(dividend,divisor,quotient) "movd %%" #dividend ",%%eax; " \ | |
8 | +#define pdivwqX(dividend,divisor,quotient) "pushl %%ecx ; movd %%" #dividend ",%%eax; " \ | |
9 | "movd %%" #divisor ",%%ecx; " \ | |
10 | "xorl %%edx,%%edx; " \ | |
11 | "divw %%cx; " \ | |
12 | @@ -108,8 +108,8 @@ | |
13 | "roll $16, %%eax; " \ | |
14 | "movd %%eax,%%" #divisor ";" \ | |
15 | "psllq $32,%%" #divisor ";" \ | |
16 | - "por %%" #divisor ",%%" #quotient ";" | |
17 | -#define pdivwqX_clobber "%eax", "%ecx", "%edx", "%cc" | |
18 | + "por %%" #divisor ",%%" #quotient "; popl %%ecx" | |
19 | +#define pdivwqX_clobber "%eax", "%edx", "cc" | |
20 | ||
21 | /* | |
22 | * Quadword divide. Adjusted for subsequent unsigned packing |