raaz-0.2.0: The raaz cryptographic library.

Safe HaskellNone
LanguageHaskell2010

Raaz.Core.CpuSupports

Description

This module gives functions that check at runtime whether the underlying cpu supports given features. CPU features are architecture specific. However, functions from this module are guaranteed to be defined always -- they return False for incompatible architecture. For example, the flag avx2 is relevant only for a an X86 architecture. So it is defined false, for say the ARM architecture.

Synopsis

Documentation

sse :: Bool Source #

Check whether the cpu supports sse extension.

sse2 :: Bool Source #

Check whether the cpu supports sse2 extension.

sse3 :: Bool Source #

Check whether the cpu supports sse3 extension.

sse4_1 :: Bool Source #

Check whether the cpu supports sse4_1 extension.

sse4_2 :: Bool Source #

Check whether the cpu supports sse-4.2 extension.

avx :: Bool Source #

Check whether the cpu supports avx extension.

avx2 :: Bool Source #

Check whether the cpu supports avx2 extension.