PandA-2024.02
Functions | Variables
softfloat.c File Reference
#include "milieu.h"
#include "softfloat.h"
#include "softfloat-macros"
#include "softfloat-specialize"
Include dependency graph for softfloat.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

INLINE bits64 extractFloat64Frac (float64 a)
 
INLINE int16 extractFloat64Exp (float64 a)
 
INLINE flag extractFloat64Sign (float64 a)
 
INLINE float64 packFloat64 (flag zSign, int16 zExp, bits64 zSig)
 
static float64 roundAndPackFloat64 (flag zSign, int16 zExp, bits64 zSig)
 
static float64 normalizeRoundAndPackFloat64 (flag zSign, int16 zExp, bits64 zSig)
 
static float64 addFloat64Sigs (float64 a, float64 b, flag zSign)
 
static float64 subFloat64Sigs (float64 a, float64 b, flag zSign)
 
float64 __attribute__ ((noinline))
 

Variables

int8 float_rounding_mode = float_round_nearest_even
 
int8 float_exception_flags = 0
 

Function Documentation

◆ __attribute__()

float64 __attribute__ ( (noinline)  )

Definition at line 406 of file softfloat.c.

References addFloat64Sigs(), extractFloat64Sign(), and subFloat64Sigs().

Here is the call graph for this function:

◆ addFloat64Sigs()

static float64 addFloat64Sigs ( float64  a,
float64  b,
flag  zSign 
)
static

Definition at line 244 of file softfloat.c.

References extractFloat64Exp(), extractFloat64Frac(), LIT64, packFloat64(), and roundAndPackFloat64().

Referenced by __attribute__().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ extractFloat64Exp()

INLINE int16 extractFloat64Exp ( float64  a)

Definition at line 94 of file softfloat.c.

References INLINE.

◆ extractFloat64Frac()

INLINE bits64 extractFloat64Frac ( float64  a)

Definition at line 82 of file softfloat.c.

References INLINE, and LIT64.

◆ extractFloat64Sign()

INLINE flag extractFloat64Sign ( float64  a)

Definition at line 106 of file softfloat.c.

References INLINE.

◆ normalizeRoundAndPackFloat64()

static float64 normalizeRoundAndPackFloat64 ( flag  zSign,
int16  zExp,
bits64  zSig 
)
static

Definition at line 226 of file softfloat.c.

References roundAndPackFloat64().

Referenced by subFloat64Sigs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ packFloat64()

INLINE float64 packFloat64 ( flag  zSign,
int16  zExp,
bits64  zSig 
)

Definition at line 125 of file softfloat.c.

◆ roundAndPackFloat64()

static float64 roundAndPackFloat64 ( flag  zSign,
int16  zExp,
bits64  zSig 
)
static

◆ subFloat64Sigs()

static float64 subFloat64Sigs ( float64  a,
float64  b,
flag  zSign 
)
static

Definition at line 325 of file softfloat.c.

References extractFloat64Exp(), extractFloat64Frac(), float_flag_invalid, float_round_down, float_rounding_mode, LIT64, normalizeRoundAndPackFloat64(), and packFloat64().

Referenced by __attribute__().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ float_exception_flags

int8 float_exception_flags = 0

Definition at line 58 of file softfloat.c.

◆ float_rounding_mode

int8 float_rounding_mode = float_round_nearest_even

Definition at line 57 of file softfloat.c.


Generated on Mon Feb 12 2024 13:03:02 for PandA-2024.02 by doxygen 1.8.13