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
* Mainline merge as of 2006-02-16 (@111136).
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
simd-5.c
blob
016cccd1e9faee96150d40855ca4aee190145c24
1
#define vector64 __attribute__((vector_size(8)))
2
3
main
(){
4
5
vector64
int
c
;
6
vector64
int
a
= {
1
, -
1
};
7
vector64
int
b
= {
2
, -
2
};
8
c
= -
a
+
b
*
b
*(-
1LL
);
9
/* c is now {5, 3} */
10
11
printf
(
"result is %llx
\n
"
, (
long long
)
c
);
12
}