Back to index

glibc  2.9
Defines
local-soft-fp.h File Reference
#include <stdlib.h>
#include <soft-fp.h>
#include <quad.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define _FP_UNPACK_RAW_2(fs, X, val)
#define _FP_PACK_RAW_2(fs, val, X)
#define FP_DECL_RETURN(X)   long X##l, X##h
#define FP_RETURN(X)

Define Documentation

#define _FP_PACK_RAW_2 (   fs,
  val,
  X 
)
Value:
do {                                                  \
    union _FP_UNION_##fs _flo;                          \
    _flo.bits.frac0 = X##_f0;                           \
    _flo.bits.frac1 = X##_f1;                           \
    _flo.bits.exp   = X##_e;                            \
    _flo.bits.sign  = X##_s;                            \
    val##l = _flo.longs.a;                       \
    val##h = _flo.longs.b;                       \
  } while (0)

Definition at line 21 of file local-soft-fp.h.

#define _FP_UNPACK_RAW_2 (   fs,
  X,
  val 
)
Value:
do {                                                  \
    union _FP_UNION_##fs _flo;                          \
    _flo.longs.a = val##l;                       \
    _flo.longs.b = val##h;                       \
    X##_f0 = _flo.bits.frac0;                           \
    X##_f1 = _flo.bits.frac1;                           \
    X##_e  = _flo.bits.exp;                      \
    X##_s  = _flo.bits.sign;                            \
  } while (0)

Definition at line 9 of file local-soft-fp.h.

#define FP_DECL_RETURN (   X)    long X##l, X##h

Definition at line 32 of file local-soft-fp.h.

#define FP_RETURN (   X)
Value:
do {                                      \
  register long r16 __asm__("16") = X##l; \
  register long r17 __asm__("17") = X##h; \
  asm volatile ("" : : "r"(r16), "r"(r17));      \
} while (0)

Definition at line 39 of file local-soft-fp.h.