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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
smlaltb-1.c
blob
a27009d2513264b4d92f78e6a74c79c10fc7cf10
1
/* { dg-do compile } */
2
/* { dg-require-effective-target arm_dsp } */
3
/* { dg-options "-O2" } */
4
5
long long int
6
foo
(
long long
x
,
int
in
)
7
{
8
short
a
=
in
&
0xffff
;
9
short
b
= (
in
&
0xffff0000
) >>
16
;
10
11
return
x
+
b
*
a
;
12
}
13
14
/* { dg-final { scan-assembler "smlaltb\\t" { xfail *-*-* } } } */