File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ extern "C" {
21
21
/// The immediate byte is used for determining which halves of `a` and `b`
22
22
/// should be used. Immediate bits other than 0 and 4 are ignored.
23
23
#[ inline]
24
- #[ target_feature( enable = "pclmul " ) ]
24
+ #[ target_feature( enable = "pclmulqdq " ) ]
25
25
#[ cfg_attr( test, assert_instr( pclmulqdq, imm8 = 0 ) ) ]
26
26
pub unsafe fn _mm_clmulepi64_si128 ( a : __m128i , b : __m128i , imm8 : u8 ) -> __m128i {
27
27
macro_rules! call {
@@ -42,7 +42,7 @@ mod tests {
42
42
43
43
use x86:: * ;
44
44
45
- #[ simd_test = "pclmul " ]
45
+ #[ simd_test = "pclmulqdq " ]
46
46
unsafe fn test_mm_clmulepi64_si128 ( ) {
47
47
// Constants taken from https://software.intel.com/sites/default/files/managed/72/cc/clmul-wp-rev-2.02-2014-04-20.pdf
48
48
let a = _mm_set_epi64x ( 0x7b5b546573745665 , 0x63746f725d53475d ) ;
Original file line number Diff line number Diff line change 3
3
mod aes;
4
4
pub use self :: aes:: * ;
5
5
6
- mod clmul;
7
- pub use self :: clmul:: * ;
8
-
9
6
mod mmx;
10
7
pub use self :: mmx:: * ;
11
8
9
+ mod pclmulqdq;
10
+ pub use self :: pclmulqdq:: * ;
11
+
12
12
mod sse;
13
13
pub use self :: sse:: * ;
14
14
You can’t perform that action at this time.
0 commit comments