~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/longlong2str-x86.s

  • Committer: Monty Taylor
  • Date: 2008-08-05 17:22:51 UTC
  • mto: (266.1.1 codestyle)
  • mto: This revision was merged to the branch mainline in revision 266.
  • Revision ID: monty@inaugust.com-20080805172251-tk91a74duyahmq65
Carried over longlong->int64_t change to assembler file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
# along with this program; if not, write to the Free Software
13
13
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
14
14
 
15
 
# Optimized longlong2str function for Intel 80x86  (gcc/gas syntax) 
 
15
# Optimized int64_t2str function for Intel 80x86  (gcc/gas syntax) 
16
16
# Some set sequences are optimized for pentuimpro II 
17
17
 
18
18
        .file   "longlong2str-x86.s"
21
21
.text
22
22
        .align 4
23
23
 
24
 
.globl  longlong2str_with_dig_vector
25
 
        .type    longlong2str_with_dig_vector,@function
 
24
.globl  int64_t2str_with_dig_vector
 
25
        .type    int64_t2str_with_dig_vector,@function
26
26
        
27
 
longlong2str_with_dig_vector:
 
27
int64_t2str_with_dig_vector:
28
28
        subl  $80,%esp          # Temporary buffer for up to 64 radix-2 digits
29
29
        pushl %ebp
30
30
        pushl %esi
125
125
        jmp .L165
126
126
 
127
127
.Lfe3:
128
 
        .size    longlong2str_with_dig_vector,.Lfe3-longlong2str_with_dig_vector
 
128
        .size    int64_t2str_with_dig_vector,.Lfe3-int64_t2str_with_dig_vector
129
129
 
130
130
#
131
131
# This is almost equal to the above, except that we can do the final
210
210
        movl %edx,%ebx
211
211
        testl %ebx,%ebx
212
212
        jne .L10_40
213
 
        jmp .Lcopy_end          # Shared end with longlong2str
 
213
        jmp .Lcopy_end          # Shared end with int64_t2str
214
214
 
215
215
.L10end:
216
 
        .size    longlong10_to_str,.L10end-longlong10_to_str
 
216
        .size    int64_t10_to_str,.L10end-int64_t10_to_str