Re: [sqlite] Add better support to 64-bit Windows

2009-12-02 Thread Fiacca . m
In x86 the specification of "=A" is EDX:EAX, however in x86-64 is RAX. And, rdtsc always store EDX:EAX. In a word, the code of sqlite3Hwtime is opposite. diff -u sqlite-source-3_6_20/hwtime.h sqlite-source-3_6_20.1/hwtime.h --- sqlite-source-3_6_20/hwtime.h Wed Nov 4 08:54:16 2009 +++ sqlite-sou

[sqlite] Add better support to 64-bit Windows

2009-12-01 Thread fiacca.m
isNT() 64-bit Windows is NT only sqlite3Hwtime() Inline assembler cannot be used for Visual C++ of the x64 target. Compiler intrinsics __rdtsc() function. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listin