//This function using FPU to perform fast rounding operationfunction FastRound(const Value : Double): Integer; assembler; register; constc : Int64 = $18000000000000; // 2^52 + 2^51varx: Double; i: Integer absolute x;asmfild c fadd Value fstp x mov eax, iend;
Collection of fast assembler routine for daily hardcore programming use in Delphi (BASM). They are all lightning fast. Every byte of code is optimized into most efficient machine instructions. They can improve performance of your application in doing large repetitive task such millions records data processing, complex math operations, graphics manipulation, etc.
2010/10/16
Subscribe to:
Post Comments (Atom)
fadd: E2116 Invalid combination of opcode and operands.
ReplyDelete