]> Git Repo - binutils.git/blame - sim/common/cgen-fpu.c
Automatic date update in version.in
[binutils.git] / sim / common / cgen-fpu.c
CommitLineData
3535ad49
JM
1/* CGEN fpu support
2 Copyright (C) 1999 Cygnus Solutions. */
3
6df01ab8
MF
4/* This must come before any other includes. */
5#include "defs.h"
6
3535ad49
JM
7#include "sim-main.h"
8#include "sim-fpu.h"
9
10/* Return boolean indicating if X is an snan. */
11
12BI
13cgen_sf_snan_p (CGEN_FPU* fpu, SF x)
14{
15 sim_fpu op1;
16
17 sim_fpu_32to (&op1, x);
18 return sim_fpu_is_nan (&op1);
19}
20
21BI
22cgen_df_snan_p (CGEN_FPU* fpu, DF x)
23{
24 sim_fpu op1;
25
26 sim_fpu_64to (&op1, x);
27 return sim_fpu_is_nan (&op1);
28}
29
30/* No-op fpu error handler. */
31
32void
33cgen_fpu_ignore_errors (CGEN_FPU* fpu, int status)
34{
35}
This page took 2.127522 seconds and 5 git commands to generate.