repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
pr34435.C
blob
5352a40eb691243bd87d043a9dbd5be669c5bee8
1
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2
/* { dg-options "-msse2 -Wno-abi" } */
3
4
#include <emmintrin.h>
5
6
class Vec {
7
__m128i vec;
8
public:
9
Vec(int mm) {
10
vec = _mm_set1_epi16(mm);
11
}
12
operator __m128i() const {
13
return vec;
14
}
15
};
16
17
int main() {
18
_mm_shuffle_epi32(Vec(5), _MM_SHUFFLE(3,3,3,3));
19
}