git: i386: Add CPU_HAS_SSE2 and CPU_HAS_FXSR options

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Fri Jan 28 01:15:02 PST 2011


commit cbc5d70e1921ff29ab602206116e61d6c73d9665
Author: Sepherosa Ziehau <sephe at 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





More information about the Commits mailing list