Florian Weimer a écrit :
It's at the end of the URL you quoted, but it's incomplete, and the
general approach is wrong. Now, I would byte-code the affected
instructions in the macro and use it in all macro expansions.
like this ?
* Michel Quercia:
like this ?
--
# corps de boucle à dérouler. taille du code = 24 octets
# entrer avec eax = edx = 1er chiffre de a, CF = 0
#undef BODY
#define BODY(x,y,z) \
adcl
Florian Weimer a écrit :
It's a release-critical bug which needs to be fixed. I would like to
use the patch you described above, applied to 0.21. Do you think this
is feasible?
I don't know how to make a patch. Is this ok ?
[EMAIL PROTECTED]:~/src/caml/numerix/numerix-0.21$ diff -b -C 2
* Michel Quercia:
I don't know how to make a patch. Is this ok ?
It is.
--- 985,991
#define BODY(x,y,z) \
adcl x(%ebx,%ecx,4), %eax; \
!/* movl y(%esi,%ecx,4), %edx */ .byte 0x8B, 0x54, 0x8E, y; \
movl %eax, x(%edi,%ecx,4); \
!/* adcl
Florian Weimer a écrit :
You must also byte-code the final movl instruction, I'm afraid:
Sorry. Attached is the new diff file (with respect to the original 0.21
source).
--
Michel Quercia
23 rue de Montchapet, 21000 Dijon
http://michel.quercia.free.fr (maths)
tag 335881 patch
thanks
* Michel Quercia:
Florian Weimer a écrit :
You must also byte-code the final movl instruction, I'm afraid:
Sorry. Attached is the new diff file (with respect to the original 0.21
source).
Thanks a lot. I can confirm that this patch applies to the Debian
package
Package: numerix
Severity: serious
Version: 0.21-1
From my build log:
...
exemples/c/\pi-g -test \
for i in pi shanks simple; do for j in c d s; do \
exemples/c/$i-$j -test; \
done; done
exemples/c/pi-g test ok
exemples/c/pi-c test ok
exemples/c/pi-d test ok
7 matches
Mail list logo