Better HN
topnewbestaskshowjobs
Log inSign up

jj10

7 karma · joined Apr 15, 2015 (11y ago) · 2 submissions

Submissions

comment 11y ago · link · parent

Actually, 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],xmm0

This is in VS 2013, compiled with DEBUG off, prefer x86 off, and 'any cpu' as the target.

comment 11y ago · link · parent

WinRM (AKA PowerShell Remoting) uses HTTP.sys and is on by default on server SKUs.