[BACK]Return to swab.S CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / arch / x86_64 / string

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/arch/x86_64/string/swab.S between version 1.2 and 1.3

version 1.2, 2003/07/26 19:24:40 version 1.3, 2005/08/02 14:20:49
Line 20  ENTRY(swab)
Line 20  ENTRY(swab)
   
         shrq    $1,%rdx          shrq    $1,%rdx
         testq   $7,%rdx                 # copy first group of 1 to 7 words          testq   $7,%rdx                 # copy first group of 1 to 7 words
         jz      L2                      # while swaping alternate bytes.          jz      L2                      # while swapping alternate bytes.
 L1:     lodsw  L1:     lodsw
         rorw    $8,%ax          rorw    $8,%ax
         stosw          stosw

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVSweb <webmaster@jp.NetBSD.org>