[svn] / ecrypt / trunk / submissions / salsa20 / full / x86-xmm / salsa20.s  

svn: ecrypt/trunk/submissions/salsa20/full/x86-xmm/salsa20.s

Diff for /ecrypt/trunk/submissions/salsa20/full/x86-xmm/salsa20.s between version 210 and 211

version 210, Thu Feb 14 05:23:22 2008 UTC version 211, Thu Feb 14 05:39:03 2008 UTC
Line 221 
Line 221 
 rep stosb  rep stosb
   
 # qhasm: out -= bytes  # qhasm: out -= bytes
 # asm 1: sub  <bytes=int32#4,<out=int32#6  # asm 1: subl <bytes=int32#4,<out=int32#6
 # asm 2: sub  <bytes=%ebx,<out=%edi  # asm 2: subl <bytes=%ebx,<out=%edi
 sub  %ebx,%edi  subl %ebx,%edi
 # comment:fp stack unchanged by jump  # comment:fp stack unchanged by jump
   
 # qhasm: goto start  # qhasm: goto start
Line 449 
Line 449 
 pxor   %xmm5,%xmm5  pxor   %xmm5,%xmm5
   
 # qhasm: i = 20  # qhasm: i = 20
 # asm 1: mov  $20,>i=int32#2  # asm 1: mov  $20,>i=int32#1
 # asm 2: mov  $20,>i=%ecx  # asm 2: mov  $20,>i=%eax
 mov  $20,%ecx  mov  $20,%eax
   
 # qhasm: mainloop:  # qhasm: mainloop:
 ._mainloop:  ._mainloop:
Line 1112 
Line 1112 
 pxor  %xmm5,%xmm3  pxor  %xmm5,%xmm3
   
 # qhasm:                 unsigned>? i -= 4  # qhasm:                 unsigned>? i -= 4
 # asm 1: sub  $4,<i=int32#2  # asm 1: sub  $4,<i=int32#1
 # asm 2: sub  $4,<i=%ecx  # asm 2: sub  $4,<i=%eax
 sub  $4,%ecx  sub  $4,%eax
   
 # qhasm: uint32323232                                                   a7 += diag3  # qhasm: uint32323232                                                   a7 += diag3
 # asm 1: paddd <diag3=int6464#4,<a7=int6464#7  # asm 1: paddd <diag3=int6464#4,<a7=int6464#7
Line 1500 
Line 1500 
 # asm 2: movl 52(<x=%edx),>in9=%ecx  # asm 2: movl 52(<x=%edx),>in9=%ecx
 movl 52(%edx),%ecx  movl 52(%edx),%ecx
   
 # qhasm:   in8 += 1  # qhasm:   carry? in8 += 1
 # asm 1: add  $1,<in8=int32#1  # asm 1: add  $1,<in8=int32#1
 # asm 2: add  $1,<in8=%eax  # asm 2: add  $1,<in8=%eax
 add  $1,%eax  add  $1,%eax


Generate output suitable for use with a patch program
Legend:
Removed from v.210  
changed lines
  Added in v.211

eSTREAM Project

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help