Hacker News new | past | comments | ask | show | jobs | submit login
Making OCaml native code 0.5% shorter on Mac OS X (frama-c.com)
24 points by pascal_cuoq on Jan 7, 2012 | hide | past | favorite | 4 comments



    testl	%eax, %eax
    jne	L6
    testl	%ebx, %ebx
    jne	.L7
When will eax, ebx not be equal to themselves? I'm sure there's a reason, but I don't know why.


It checks if they are equal to zero. (test is "and")

http://stackoverflow.com/questions/147173/x86-assembly-testl...


Oh true, I was thinking it was `cmp`. Thanks


Yeah that would make sense wouldn't it? ;)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: