Changeset d68253a4 in mainline for kernel/arch/amd64/include/memstr.h


Ignore:
Timestamp:
2008-06-02T12:47:33Z (17 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0f44f04
Parents:
d2bdd245
Message:

Fix register-constraint typo in amd64 memstr.h and add two '&'s for symmetry's sake. (None were really causing trouble)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/include/memstr.h

    rd2bdd245 rd68253a4  
    8989                "addq $1, %0\n\t"
    9090                "1:\n"
    91                 : "=a" (ret), "=%S" (d0), "=&D" (d1), "=&c" (d2)
     91                : "=a" (ret), "=&S" (d0), "=&D" (d1), "=&c" (d2)
    9292                : "0" (0), "1" (src), "2" (dst), "3" ((unative_t)cnt)
    9393        );
     
    111111        asm volatile (
    112112                "rep stosw\n\t"
    113                 : "=&D" (d0), "=&c" (d1), "=a" (x)
     113                : "=&D" (d0), "=&c" (d1), "=&a" (x)
    114114                : "0" (dst), "1" ((unative_t)cnt), "2" (x)
    115115                : "memory"
     
    133133        asm volatile (
    134134                "rep stosb\n\t"
    135                 : "=&D" (d0), "=&c" (d1), "=a" (x)
     135                : "=&D" (d0), "=&c" (d1), "=&a" (x)
    136136                : "0" (dst), "1" ((unative_t)cnt), "2" (x)
    137137                : "memory"
Note: See TracChangeset for help on using the changeset viewer.