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-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
sh
/
mfmovd.c
blob
3fb1e8ee8c776b78ef8925367ad90b715bd5e8b9
1
/* Verify that we generate fmov.d instructions to move doubles when -mfmovd
2
option is enabled. */
3
/* { dg-do compile { target { double_fpu } } } */
4
/* { dg-options "-mfmovd" } */
5
/* { dg-final { scan-assembler "fmov.d" } } */
6
7
extern
double
g
;
8
9
void
10
f
(
double
d
)
11
{
12
g
=
d
;
13
}
14
15
extern
float
h
;
16
17
void
f2
()
18
{
19
h
=
g
;
20
}