[fpc-pascal]Fwd: Inline assembler FPU bug

Vit Kavan vtech-fpc at seznam.cz
Wed May 29 10:58:09 CEST 2002


Intel

IT> On Tue, 28 May 2002, Vit Kavan wrote:

IT> }I've just encountered a problem with FPU code in BASM:
IT> }
IT> }source line:
IT> }
IT> }fsub st(1),st(0)
IT> }
IT> }delphi compiles:
IT> }
IT> }fsub st(1),st(0)      opcode: DC E9
IT> }
IT> }fpc compiles:
IT> }
IT> }fsubr st(1),st(0)     opcode: DC E1
IT> }
IT> }
IT> }I'm quite sure that the fpc way is wrong. (version 1.0.6)
IT> }

IT> Which assembler style did you use, Intel or ATT?

IT> Ingmar

IT> ------

IT> "Salamanders can survive up to six hours outside a fire if regularly fed
IT> pepper" (Scamander 1927).


IT> _______________________________________________
IT> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
IT> http://lists.freepascal.org/mailman/listinfo/fpc-pascal





More information about the fpc-pascal mailing list