Skip to content

Instantly share code, notes, and snippets.

@lichenbo
Created July 10, 2013 12:14
Show Gist options
  • Select an option

  • Save lichenbo/5965813 to your computer and use it in GitHub Desktop.

Select an option

Save lichenbo/5965813 to your computer and use it in GitHub Desktop.
_Copy_conjoint_jints_atomic:
_Copy_arrayof_conjoint_jints:
pushl %esi
movl 4+12(%esp),%ecx # count
pushl %edi
movl 8+ 4(%esp),%esi # from
movl 8+ 8(%esp),%edi # to
cmpl %esi,%edi
leal -4(%esi,%ecx,4),%eax # from + count*4 - 4
jbe ci_CopyRight
cmpl %eax,%edi
jbe ci_CopyLeft
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment