c9cbbb7a3565b68b809e9579781bf95c35fc1499
3 (eval-when (:load-toplevel
)
4 (let ((res (sb-sys:%primitive sb-vm
::%detect-simd
/x86
)))
5 ;; (format t "res is ~A~%" res)
6 (if (/= (logand res
#b001
) 0) (pushnew :sse sb-vm
::*backend-subfeatures
*))
7 (if (/= (logand res
#b010
) 0) (pushnew :sse2 sb-vm
::*backend-subfeatures
*))
8 (if (/= (logand res
#b100
) 0) (pushnew :sse3 sb-vm
::*backend-subfeatures
*))))