Browse Source

* src/base/digitseq/cl_asm_i386_.cc (compare_loop_up,

compare_loop_down): Fix empty ranges.
master
Richard Kreckel 17 years ago
parent
commit
88ed5f76b2
  1. 5
      ChangeLog
  2. 2
      src/base/digitseq/cl_asm_i386_.cc

5
ChangeLog

@ -1,3 +1,8 @@
2007-11-03 Richard B. Kreckel <kreckel@ginac.de>
* src/base/digitseq/cl_asm_i386_.cc (compare_loop_up,
compare_loop_down): Fix empty ranges.
2007-10-12 Richard B. Kreckel <kreckel@ginac.de> 2007-10-12 Richard B. Kreckel <kreckel@ginac.de>
Fix compilation on CYGWIN: Fix compilation on CYGWIN:

2
src/base/digitseq/cl_asm_i386_.cc

@ -536,6 +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
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
@ -1377,6 +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
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