Browse Source

- Disable asm str_int again now that testsuites have run.

git-svn-id: trunk@9665 -
daniel 17 years ago
parent
commit
2ce992b4ae
1 changed files with 3 additions and 2 deletions
  1. 3 2
      rtl/i386/i386.inc

+ 3 - 2
rtl/i386/i386.inc

@@ -1095,7 +1095,7 @@ end;
 {****************************************************************************
                                  Str()
 ****************************************************************************}
-{ $ifdef disabled}
+{$ifdef disabled}
 {$define FPC_SYSTEM_HAS_INT_STR_LONGWORD}
 {$define FPC_SYSTEM_HAS_INT_STR_LONGINT}
 
@@ -1132,6 +1132,7 @@ asm
   negl %edx
 str_int_shortcut:
   {Calculate amount of digits in ecx.}
+  xorl %ecx,%ecx
   bsrl %eax,%ecx
   incl %ecx
   imul $1233,%ecx
@@ -1170,7 +1171,7 @@ str_int_shortcut:
   popl %ebx
   popl %edi
 end;
-{ $endif}
+{$endif}
 {****************************************************************************
                                Bounds Check
 ****************************************************************************}