DragonFly commits List (threaded) for 2011-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: i386: Add CPU_HAS_SSE2 and CPU_HAS_FXSR options
commit cbc5d70e1921ff29ab602206116e61d6c73d9665
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date: Fri Jan 28 17:07:51 2011 +0800
i386: Add CPU_HAS_SSE2 and CPU_HAS_FXSR options
Currently:
CPU_HAS_SSE2 enables the use of lfence and mfence
CPU_HAS_FXSR enables the use of sfence
They should be better than the locked instruction.
Summary of changes:
sys/cpu/i386/include/cpufunc.h | 14 ++++++++++++++
sys/platform/pc32/conf/options | 2 ++
sys/platform/pc32/i386/identcpu.c | 16 ++++++++++++++++
3 files changed, 32 insertions(+), 0 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cbc5d70e1921ff29ab602206116e61d6c73d9665
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]