git: i386: Add CPU_HAS_SSE2 and CPU_HAS_FXSR options

看板DFBSD_commit作者時間15年前 (2011/01/28 17:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1DGeqMlK (DFBSD_commit)