]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Use "+a" instead of "=&a" for several constraints. This should fix
authorjhb <jhb@FreeBSD.org>
Tue, 16 Jan 2001 03:45:54 +0000 (03:45 +0000)
committerjhb <jhb@FreeBSD.org>
Tue, 16 Jan 2001 03:45:54 +0000 (03:45 +0000)
commit307cdc0f641093a527dcf279ebbf3ac48bd02776
tree71cae30b12b03d5e38036ca977df14f0819cde5c
parent1bf5aadfd534846987ee16ab412a842e41affaae
- Use "+a" instead of "=&a" for several constraints.  This should fix
  compiling errors where gcc would run out of registers.
- Add "cc" to the list of clobbers for micro-ops where we perform
  instructions that alter %eflags.
- Use xchgl instead of cmpxchgl to release a spin lock.  This could allow
  for more efficient register allocation as we no longer mandate that %eax
  be used.
- Reenable the optimized mutex micro-ops in the non-i386 case.
sys/amd64/include/mutex.h
sys/i386/include/mutex.h