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
[13/n] PR85694: Try to avoid vectorising casts of invariants
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
vect
/
vect-widen-mult-extern-1.c
blob
2ac3be0c242832f78e11da504c0537100d3460a9
1
/* { dg-do compile } */
2
3
#define N 1024
4
5
void
6
f
(
unsigned int
*
x1
,
unsigned int
*
x2
,
unsigned short
*
y
,
unsigned char
z
)
7
{
8
unsigned short
zu
=
z
;
9
for
(
int
i
=
0
;
i
<
N
; ++
i
)
10
{
11
unsigned short
yi
=
y
[
i
];
12
x1
[
i
] =
x1
[
i
] >
10
?
yi
*
zu
:
x1
[
i
] +
1
;
13
x2
[
i
] +=
1
;
14
}
15
}