jj10·11 वर्ष पहले·discussActually, I just tried it: float[] floats = new float[1000]; float factor = 1.01f; int index = 0; while (index < 1000) { floats[index++] *= factor; } ...becomes...00007ff8`80a804a9 488d549010 lea rdx,[rax+rdx*4+10h]00007ff8`80a804ae c4e17a1002 vmovss xmm0,dword ptr [rdx]00007ff8`80a804b3 c4e17a590524000000 vmulss xmm0,xmm0,dword ptr [00007ff8`80a804e0]00007ff8`80a804bc c4e17a1102 vmovss dword ptr [rdx],xmm0This is in VS 2013, compiled with DEBUG off, prefer x86 off, and 'any cpu' as the target.
jj10·11 वर्ष पहले·discussWinRM (AKA PowerShell Remoting) uses HTTP.sys and is on by default on server SKUs.
...becomes...
00007ff8`80a804a9 488d549010 lea rdx,[rax+rdx*4+10h]
00007ff8`80a804ae c4e17a1002 vmovss xmm0,dword ptr [rdx]
00007ff8`80a804b3 c4e17a590524000000 vmulss xmm0,xmm0,dword ptr [00007ff8`80a804e0]
00007ff8`80a804bc c4e17a1102 vmovss dword ptr [rdx],xmm0
This is in VS 2013, compiled with DEBUG off, prefer x86 off, and 'any cpu' as the target.