OLD | NEW |
1 /* { dg-do compile } */ | 1 /* { dg-do compile } */ |
2 /* This test checks for absolute memory operands. */ | 2 /* This test checks for absolute memory operands. */ |
3 /* { dg-require-effective-target nonpic } */ | 3 /* { dg-require-effective-target nonpic } */ |
| 4 /* { dg-require-effective-target sse2 } */ |
4 /* { dg-options "-O2 -msse2 -march=k8" } */ | 5 /* { dg-options "-O2 -msse2 -march=k8" } */ |
5 /* { dg-final { scan-assembler "andpd\[^\\n\]*magic" } } */ | 6 /* { dg-final { scan-assembler "andpd\[^\\n\]*magic" } } */ |
6 /* { dg-final { scan-assembler "andnpd\[^\\n\]*magic" } } */ | 7 /* { dg-final { scan-assembler "andnpd\[^\\n\]*magic" } } */ |
7 /* { dg-final { scan-assembler "xorpd\[^\\n\]*magic" } } */ | 8 /* { dg-final { scan-assembler "xorpd\[^\\n\]*magic" } } */ |
8 /* { dg-final { scan-assembler "orpd\[^\\n\]*magic" } } */ | 9 /* { dg-final { scan-assembler "orpd\[^\\n\]*magic" } } */ |
9 /* { dg-final { scan-assembler-not "movdqa" } } */ | 10 /* { dg-final { scan-assembler-not "movdqa" } } */ |
10 /* { dg-final { scan-assembler "movapd\[^\\n\]*magic" } } */ | 11 /* { dg-final { scan-assembler "movapd\[^\\n\]*magic" } } */ |
11 | 12 |
12 /* Verify that we generate proper instruction with memory operand. */ | 13 /* Verify that we generate proper instruction with memory operand. */ |
13 | 14 |
(...skipping 14 matching lines...) Expand all Loading... |
28 __m128d | 29 __m128d |
29 t3(void) | 30 t3(void) |
30 { | 31 { |
31 return _mm_or_pd (magic_a,magic_b); | 32 return _mm_or_pd (magic_a,magic_b); |
32 } | 33 } |
33 __m128d | 34 __m128d |
34 t4(void) | 35 t4(void) |
35 { | 36 { |
36 return _mm_xor_pd (magic_a,magic_b); | 37 return _mm_xor_pd (magic_a,magic_b); |
37 } | 38 } |
OLD | NEW |