看板 DFBSD_commit 關於我們 聯絡資訊
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