Forum > General

Int64/QWord no longer passed into EAX:EDX?

(1/1)

CuriousKit:
I've noticed, since FPC 3.0.0, that (non-exported) functions compiled under x86 no longer pass 64-bit integer types into EAX:EDX, but pass it on the stack.  Not that it's a game breaker, just a minor efficiency loss, but is there any reason why this was changed?

CuriousKit:
Apologies.  It was ALWAYS passed on the stack.  Somehow I wrote buggy code that worked with the wrong assumption (probably because EAX and EDX were used by the compiler to set up the stack prior to calling said procedure).  Sorry to confuse people.

Navigation

[0] Message Index

Go to full version