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
[ARM] Fix test armv8_2-fp16-move-1.c
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
mla-1.c
blob
aca009f47b3ff71fa9fb31876209403f81b66d2b
1
/* { dg-do compile } */
2
/* { dg-skip-if "" { arm_thumb1 } } */
3
/* { dg-options "-O2" } */
4
5
6
int
7
foo
(
int
*
p
,
int
*
q
)
8
{
9
int
i
;
10
int
accum
=
0
;
11
12
for
(
i
=
0
;
i
<
1024
;
i
++)
13
{
14
accum
+= ((*
p
--) * (*
q
++));
15
accum
+=
4096
;
16
accum
>>=
13
;
17
}
18
19
return
accum
;
20
}
21
22
/* { dg-final { scan-assembler "mla\\t" } } */