1.0.4.39: get rid of hardcoded mutex and spinlock slot indexes
[sbcl.git] / src / compiler / x86-64 / cell.lisp
index d9e8368..929e74f 100644 (file)
       (pseudo-atomic
        (emit-label get-tls-index-lock)
        (inst mov temp 1)
-       (inst xor rax rax)
+       (zeroize rax)
        (inst lock)
        (inst cmpxchg (make-ea-for-symbol-value *tls-index-lock*) temp)
        (inst jmp :ne get-tls-index-lock)