Click here to Skip to main content
15,860,861 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Rounding double to a provided decimal place Pin
T210218-Jan-11 23:41
T210218-Jan-11 23:41 
AnswerRe: Rounding double to a provided decimal place Pin
_AnsHUMAN_ 18-Jan-11 23:42
_AnsHUMAN_ 18-Jan-11 23:42 
GeneralRe: Rounding double to a provided decimal place Pin
PankajB18-Jan-11 23:49
PankajB18-Jan-11 23:49 
GeneralRe: Rounding double to a provided decimal place Pin
Cedric Moonen19-Jan-11 0:07
Cedric Moonen19-Jan-11 0:07 
AnswerRe: Rounding double to a provided decimal place Pin
User 742933819-Jan-11 0:00
professionalUser 742933819-Jan-11 0:00 
AnswerRe: Rounding double to a provided decimal place Pin
Cedric Moonen19-Jan-11 0:01
Cedric Moonen19-Jan-11 0:01 
AnswerRe: Rounding double to a provided decimal place Pin
Richard MacCutchan19-Jan-11 3:11
mveRichard MacCutchan19-Jan-11 3:11 
Questionx86 and x64 code performance in 64 bit w7 Pin
Chesnokov Yuriy18-Jan-11 22:24
professionalChesnokov Yuriy18-Jan-11 22:24 
I used convolution operation to measure performance of the 2 configurations on 64 bit OS.
Inner Product Experiment: CPU, FPU vs. SSE*[^]

                                 x64    x86
chars       processing time: 10 ms  20 ms
shorts      processing time: 12 ms  23 ms
shorts sse2     processing time:  6 ms   6 ms
ints        processing time: 14 ms  20 ms
floats      processing time: 18 ms  50 ms
sse2 set    processing time: 14 ms  15 ms
sse2 intrin     processing time: 12 ms  12 ms
sse3 assembly   processing time: N/A    13 ms
doubles     processing time: 26 ms  25 ms
doubles sse2    processing time: 25 ms  24 ms


As can be seen there is no difference in SSE optimization but chars, shorts, ints and floats runs faster.
Especially floats runs as fast or SSE optimization.
But doubles do not show any difference.

Why there is no difference in SSE and double operations?
Чесноков

AnswerRe: x86 and x64 code performance in 64 bit w7 Pin
Emilio Garavaglia18-Jan-11 22:47
Emilio Garavaglia18-Jan-11 22:47 
GeneralRe: x86 and x64 code performance in 64 bit w7 Pin
Chesnokov Yuriy18-Jan-11 23:57
professionalChesnokov Yuriy18-Jan-11 23:57 
GeneralRe: x86 and x64 code performance in 64 bit w7 Pin
Emilio Garavaglia19-Jan-11 2:48
Emilio Garavaglia19-Jan-11 2:48 
GeneralRe: x86 and x64 code performance in 64 bit w7 Pin
Chesnokov Yuriy19-Jan-11 3:04
professionalChesnokov Yuriy19-Jan-11 3:04 
AnswerRe: x86 and x64 code performance in 64 bit w7 Pin
Andrew Brock18-Jan-11 23:16
Andrew Brock18-Jan-11 23:16 
GeneralRe: x86 and x64 code performance in 64 bit w7 Pin
Chesnokov Yuriy19-Jan-11 0:01
professionalChesnokov Yuriy19-Jan-11 0:01 
QuestionRe: x86 and x64 code performance in 64 bit w7 Pin
CPallini18-Jan-11 23:43
mveCPallini18-Jan-11 23:43 
AnswerRe: x86 and x64 code performance in 64 bit w7 Pin
Chesnokov Yuriy19-Jan-11 0:04
professionalChesnokov Yuriy19-Jan-11 0:04 
GeneralRe: x86 and x64 code performance in 64 bit w7 Pin
CPallini19-Jan-11 0:15
mveCPallini19-Jan-11 0:15 
Questionthe procedure entry point getsystemtimes could not be located in the dynamic link library kernel32.dll Pin
Le@rner18-Jan-11 20:45
Le@rner18-Jan-11 20:45 
AnswerRe: the procedure entry point getsystemtimes could not be located in the dynamic link library kernel32.dll Pin
Cool_Dev18-Jan-11 20:52
Cool_Dev18-Jan-11 20:52 
GeneralRe: the procedure entry point getsystemtimes could not be located in the dynamic link library kernel32.dll Pin
Le@rner18-Jan-11 20:56
Le@rner18-Jan-11 20:56 
GeneralRe: the procedure entry point getsystemtimes could not be located in the dynamic link library kernel32.dll Pin
Adam Roderick J18-Jan-11 21:02
Adam Roderick J18-Jan-11 21:02 
GeneralRe: the procedure entry point getsystemtimes could not be located in the dynamic link library kernel32.dll Pin
Cool_Dev18-Jan-11 21:13
Cool_Dev18-Jan-11 21:13 
Questionhow to add a menu in win32 dialog box? Pin
mathivanaan18-Jan-11 18:15
mathivanaan18-Jan-11 18:15 
AnswerRe: how to add a menu in win32 dialog box? Pin
tagopi18-Jan-11 18:36
tagopi18-Jan-11 18:36 
GeneralRe: how to add a menu in win32 dialog box? Pin
mathivanaan18-Jan-11 19:16
mathivanaan18-Jan-11 19:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.