Micro-optimize machine code for some register tests on x86[-64].
[sbcl.git] / src / assembly / x86-64 / alloc.lisp
index 35af80a..e40d380 100644 (file)
                ;; Now with the lock held, see if the symbol's tls index has been
                ;; set in the meantime.
                (loadw target other symbol-tls-index-slot other-pointer-lowtag)
-               (inst or target target)
+               (inst test target target)
                (inst jmp :ne release-tls-index-lock)
                ;; Allocate a new tls-index.
                (load-symbol-value target *free-tls-index*)