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
Turn HARD_REGNO_NREGS into a target hook
[official-gcc.git]
/
libgcc
/
config
/
msp430
/
cmpd.c
blob
c65c466c7ba6c45c81dc94a8df69224f6b6e70bc
1
/* Public domain. */
2
3
int
__mspabi_cmpf
(
float
,
float
);
4
5
int
6
__mspabi_cmpf
(
float
x
,
float
y
)
7
{
8
if
(
x
<
y
)
9
return
-
1
;
10
if
(
x
>
y
)
11
return
1
;
12
return
0
;
13
}
14
15
int
__mspabi_cmpd
(
double
,
double
);
16
17
int
18
__mspabi_cmpd
(
double
x
,
double
y
)
19
{
20
if
(
x
<
y
)
21
return
-
1
;
22
if
(
x
>
y
)
23
return
1
;
24
return
0
;
25
}