Marcel Martin wrote:
Hello,

I saw in the file fpc/rtl/i386/int64p.inc that the function
fpc_mod_qword was disabled with the comment "This does not work correctly".


The problem is a bad instruction (presumably a typo):

.Lqwordmodr_big_divisior:
|
| shrdl %cl,%edx,%eax
shrl %cl,%edx
rorl $1,%edi <-- should be a "roll"
divl %ebx
movl z,%ebx
|
|



Fixed, thx.

_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to