Some instructions are VERY SLOW!!!!!
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
Te execution of instructions "int", "frac", "round" and "trunc" is MUCH to low. An equivalent implementation in ASM would be MUCH FASTER. On a P4c 3.2 Ghz (instruction - approx. cycles - instruc./second)
round - 40 - 80 000 000
trunc - 360 - 8 900 000
int - 870 - 3 700 000
frac - 870 - 3 700 000
For comparation, a "sqrt" instruction takes 40 cycles (like a "round") and an "inc" instruction takes just 2 cycles.
Additional information:
Reporter: Hlihor Sergiu
EMail: SergiuHlihor at netscape dot net
Mantis conversion info:
- Mantis ID: 5345
- OS: GO32V2
- Version: 1.0.10