1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
use std::option::Option;

use super::Token;

pub struct SSE2(Token);

impl SSE2 {
  pub fn detect() -> Option<SSE2> {
    Option::Some(SSE2(Token::Token))
  }
}

pub struct SSSE3(Token);

impl SSSE3 {
  pub fn detect() -> Option<SSSE3> {
    Option::Some(SSSE3(Token::Token))
  }
}

#[cfg(feature = "sse2")]
pub mod sse2;

#[cfg(feature = "ssse3")]
pub mod ssse3;