From: Dmitriy Vyukov Date: Thu, 5 Apr 2012 14:59:50 +0000 (+0400) Subject: runtime: replace XOR AX, AX with MOV $0, AX X-Git-Tag: go1.1rc2~3435 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=fd04f05f2f5225f9a17a34a21535fd79cceb687d;p=gostls13.git runtime: replace XOR AX, AX with MOV $0, AX R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5985048 --- diff --git a/src/pkg/runtime/asm_386.s b/src/pkg/runtime/asm_386.s index 124fd2766b..3ab34d34cb 100644 --- a/src/pkg/runtime/asm_386.s +++ b/src/pkg/runtime/asm_386.s @@ -323,7 +323,7 @@ TEXT runtime·cas64(SB), 7, $0 cas64_fail: MOVL AX, 0(SI) MOVL DX, 4(SI) - XORL AX, AX + MOVL $0, AX RET // bool casp(void **p, void *old, void *new)