Browse Source

Specify instruction width explicitly.

master
Bruno Haible 17 years ago
parent
commit
949a405a53
  1. 4
      src/base/digitseq/cl_asm_i386_.cc

4
src/base/digitseq/cl_asm_i386_.cc

@ -536,7 +536,7 @@ C(compare_loop_up:)
movl 4(%esp),%esi // %esi = xptr movl 4(%esp),%esi // %esi = xptr
movl 8(%esp),%edi // %edi = yptr movl 8(%esp),%edi // %edi = yptr
movl 12(%esp),%ecx // %ecx = count movl 12(%esp),%ecx // %ecx = count
cmp %ecx,%ecx // initialize flags for the case %ecx is 0
cmpl %ecx,%ecx // initialize flags for the case %ecx is 0
dir0start dir0start
repz // Falls %ecx > 0: repz // Falls %ecx > 0:
cmpsl // %ecx mal aufwärts (%edi) und (%esi) vergleichen cmpsl // %ecx mal aufwärts (%edi) und (%esi) vergleichen
@ -1378,7 +1378,7 @@ C(compare_loop_down:)
movl 12(%esp),%ecx // %ecx = count movl 12(%esp),%ecx // %ecx = count
leal -4(%esi),%esi leal -4(%esi),%esi
leal -4(%edi),%edi leal -4(%edi),%edi
cmp %ecx,%ecx // initialize flags for the case %ecx is 0
cmpl %ecx,%ecx // initialize flags for the case %ecx is 0
dir1start dir1start
repz // Falls %ecx > 0: repz // Falls %ecx > 0:
cmpsl // %ecx mal aufwärts (%edi) und (%esi) vergleichen cmpsl // %ecx mal aufwärts (%edi) und (%esi) vergleichen

Loading…
Cancel
Save