August 2014 12:54 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Int64 or floating point faster?
That's curious. Who are they ? It doesn't sound like any floating point
implementation I ever came across in Delphi (or anywhere else, for that
matter). O.o
On 17 August 2014 12
:* Sunday, 17 August 2014 12:54 p.m.
*To:* NZ Borland Developers Group - Delphi List
*Subject:* Re: [DUG] Int64 or floating point faster?
That's curious. Who are they ? It doesn't sound like any floating
point implementation I ever came across in Delphi (or anywhere else, for
that matter
Just one suggestion, why not look at assembler code in delphi to count the
lines and add up the operands to get the cpu cycle total number? :-)
My 2 nz cents
Leigh
___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@listserver.123.net.nz
List
*Subject:* Re: [DUG] Int64 or floating point faster?
That's curious. Who are they ? It doesn't sound like any floating
point implementation I ever came across in Delphi (or anywhere else, for
that matter). O.o
On 17 August 2014 12:28, Pieter De Wit pie...@insync.za.net wrote:
Hi
Leigh, I'm not sure that this would be a reliable indicator of performance.
Surely some opcodes are more expensive than others ? The relationship
between opcodes and CPU cycles is not 1:1 afaik.
On 18 August 2014 08:51, Leigh Wanstead leigh.wanst...@gmail.com wrote:
Just one suggestion, why
Hi Jolyon,
Sorry for the confusion.
I mean add each operand of the assembler code corresponding to certain
value of cpu cycles together to get a rough idea.
Div is far more dear than plus for sure :-)
Of course take care of condition jump/jump as this will multiple the
figures depends on how
you describe this otherwise?
*From:* delphi-boun...@listserver.123.net.nz [mailto:
delphi-boun...@listserver.123.net.nz] *On Behalf Of *Jolyon Smith
*Sent:* Sunday, 17 August 2014 12:54 p.m.
*To:* NZ Borland Developers Group - Delphi List
*Subject:* Re: [DUG] Int64 or floating point faster
to determine the
float value.
From: delphi-boun...@listserver.123.net.nz
[mailto:delphi-boun...@listserver.123.net.nz] On Behalf Of Jolyon Smith
Sent: Monday, 18 August 2014 11:26 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Int64 or floating point faster?
That would be odd
That's curious. Who are they ? It doesn't sound like any floating point
implementation I ever came across in Delphi (or anywhere else, for that
matter). O.o
On 17 August 2014 12:28, Pieter De Wit pie...@insync.za.net wrote:
Hi Jolyon,
From memory, they used 2 int32's to make a float -
- Delphi List
Subject: Re: [DUG] Int64 or floating point faster?
I think there are too many variables involved to give an answer to this
question without some of those variables being reduced to known values.
e.g. what hardware ? what version of Delphi ? x64 target or x86 ? what
precision
Would I be correct that int64 multiplications would be faster than floating
point in Delphi? My app needs to do several million.
___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@listserver.123.net.nz
Admin:
11 matches
Mail list logo