The CMOV family of instructions do not work across all cpu families. In
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 5 Oct 2003 23:06:45 +0000 (23:06 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 5 Oct 2003 23:06:45 +0000 (23:06 +0000)
commit8ec5368180744e24054f3f8ed07dca99a397c9d3
tree185e6f66ff24e979c168f0e7925affed2706d5de
parentfa9f7acd96051c366ab98b4be6034706e7553220
The CMOV family of instructions do not work across all cpu families.  In
particular they do not work on some of the oldest pentiums or 486's, and
probably do not work on some non-intel cpus either.

Replace the cmovcl in the preload code's inline assembly with a jnc/movl
combination.

Located by the persistence of:  Galen Sampson <galen_sampson@yahoo.com>
libexec/rtld-elf/i386/rtld_machdep.h