Search

January 25, 2016
General »
...variables
  // code

  // cleanup/return
  mov sp, bp
  ret
[/code]

 Technically alloca simply returns the current...
January 22, 2016
Learn »
...the prelude and the prologue:

int pmovmskb2(byte16 v)
{
    asm
    {
        naked;
        pmovmskb EAX, XMM0;
        ret;
    }
}
January 22, 2016
Learn »
...EAX, XMM0;
                    mov RSP, RBP;
                    pop RBP;
                    ret;
                }

Looks like the SIMD param is passed...
January 22, 2016
Learn »
...movdqa XMM0, dword ptr[RBP-0x10];
        pmovmskb EAX, XMM0;
        mov RSP, RBP;
        pop RBP;
        ret;
    }
}
January 22, 2016
Learn »
...EAX, XMM0;
        mov RSP, RBP;
        pop RBP;
        ret;
    }
}

Note that there is maybe a DMD...
January 22, 2016
Learn »
...sometimes a few other register restores */
leave;
ret;


`leave` btw is the same as `mov...
January 22, 2016
Learn »
...things, but it seems to be the `ret;`.

This doesn't segfault:
----
int pmovmskb(byte16...
January 22, 2016
Learn »
...asm
    {
        movdqa XMM0, v;
        pmovmskb EAX, XMM0;
        ret;
    }
}
void main()
{
    byte16 a = [-1, 0, -1...
January 11, 2016
Learn »
...it is like a hack (&ret[0, 0, 0])[0 .. ret.elementsCount]).

Have you made...
December 28, 2015
Learn »
...mov rsp, rbp
000000000044C957h  pop rbp
000000000044C958h  ret
;-------------------------------------

;------- SUB 000000000044C960h -------
; NAMED: tupNo
000000000044C960h  sub rsp...
53 54 55 56 57 58 59 60 61 62 63 64
Next ›   Last »