[fpc-pascal]Fwd: Inline assembler FPU bug

Vit Kavan vtech-fpc at seznam.cz
Tue May 28 20:40:52 CEST 2002


I've sent this message before, but noone reacted, so here it is again:

I've just encountered a problem with FPU code in BASM:

source line:

fsub st(1),st(0)

delphi compiles:

fsub st(1),st(0)      opcode: DC E9

fpc compiles:

fsubr st(1),st(0)     opcode: DC E1

I'm quite sure that the fpc way is wrong. (version 1.0.6)


More information about the fpc-pascal mailing list