@@ -12,7 +12,7 @@ use std::arch::x86_64::*; |
|
|
12 |
12 |
#[cfg(target_arch = "x86_64")] |
13 |
13 |
#[target_feature(enable = "avx")] |
14 |
14 |
fn with_avx(x: __m256) -> __m256 { |
15 |
|
-// CHECK: fadd |
|
15 |
+// CHECK: fadd <8 x float> |
16 |
16 |
let add = { |
17 |
17 |
#[inline(always)] |
18 |
18 |
|x, y |
@@ -24,14 +24,10 @@ fn with_avx(x: __m256) -> __m256 { |
|
|
24 |
24 |
#[no_mangle] |
25 |
25 |
#[cfg(target_arch = "x86_64")] |
26 |
26 |
unsafe fn without_avx(x: __m256) -> __m256 { |
27 |
|
-// CHECK-NOT: fadd |
|
27 |
+// CHECK-NOT: fadd <8 x float> |
28 |
28 |
let add = { |
29 |
29 |
#[inline(always)] |
30 |
30 |
|x, y |
31 |
31 |
}; |
32 |
32 |
add(x, x) |
33 |
33 |
} |
34 |
|
- |
35 |
|
-// Don't allow the above CHECK-NOT to accidentally match a commit hash in the |
36 |
|
-// compiler version. |
37 |
|
-// CHECK-LABEL: rustc version |