Re: [DUG] Int64 or floating point faster?

2014-08-17 Thread Cameron Hart
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

Re: [DUG] Int64 or floating point faster?

2014-08-17 Thread Jolyon Smith
:* 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

Re: [DUG] Int64 or floating point faster?

2014-08-17 Thread Leigh Wanstead
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

Re: [DUG] Int64 or floating point faster?

2014-08-17 Thread Jolyon Smith
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

Re: [DUG] Int64 or floating point faster?

2014-08-17 Thread Jolyon Smith
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

Re: [DUG] Int64 or floating point faster?

2014-08-17 Thread Leigh Wanstead
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

Re: [DUG] Int64 or floating point faster?

2014-08-17 Thread Jolyon Smith
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

Re: [DUG] Int64 or floating point faster?

2014-08-17 Thread Cameron Hart
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

Re: [DUG] Int64 or floating point faster?

2014-08-16 Thread Jolyon Smith
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 -

Re: [DUG] Int64 or floating point faster?

2014-08-16 Thread Ross Levis
- 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

[DUG] Int64 or floating point faster?

2014-08-15 Thread Ross Levis
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: