Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sfp-util.h File Reference
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <asm/byteorder.h>
#include <asm/fpu.h>

Go to the source code of this file.

Macros

#define add_ssaaaa(sh, sl, ah, al, bh, bl)   ((sl) = (al) + (bl), (sh) = (ah) + (bh) + ((sl) < (al)))
 
#define sub_ddmmss(sh, sl, ah, al, bh, bl)   ((sl) = (al) - (bl), (sh) = (ah) - (bh) - ((al) < (bl)))
 
#define umul_ppmm(wh, wl, u, v)
 
#define udiv_qrnnd(q, r, n1, n0, d)
 
#define UDIV_NEEDS_NORMALIZATION   1
 
#define abort()   goto bad_insn
 
#define __LITTLE_ENDIAN   -1
 
#define __BYTE_ORDER   __LITTLE_ENDIAN
 

Functions

unsigned long __udiv_qrnnd (unsigned long *, unsigned long, unsigned long, unsigned long)
 

Macro Definition Documentation

#define __BYTE_ORDER   __LITTLE_ENDIAN

Definition at line 35 of file sfp-util.h.

#define __LITTLE_ENDIAN   -1

Definition at line 33 of file sfp-util.h.

endif endif endm macro abort rept rept notcond elseif else error Unsupported inc macro argument endif pushsection a align abort popsection endr endm macro abort endm macro abort (   void)    goto bad_insn

Definition at line 30 of file sfp-util.h.

#define add_ssaaaa (   sh,
  sl,
  ah,
  al,
  bh,
  bl 
)    ((sl) = (al) + (bl), (sh) = (ah) + (bh) + ((sl) < (al)))

Definition at line 7 of file sfp-util.h.

#define sub_ddmmss (   sh,
  sl,
  ah,
  al,
  bh,
  bl 
)    ((sl) = (al) - (bl), (sh) = (ah) - (bh) - ((al) < (bl)))

Definition at line 10 of file sfp-util.h.

#define UDIV_NEEDS_NORMALIZATION   1

Definition at line 28 of file sfp-util.h.

#define udiv_qrnnd (   q,
  r,
  n1,
  n0,
  d 
)
Value:
do { unsigned long __r; \
(q) = __udiv_qrnnd (&__r, (n1), (n0), (d)); \
(r) = __r; \
} while (0)

Definition at line 20 of file sfp-util.h.

#define umul_ppmm (   wh,
  wl,
  u,
  v 
)
Value:
__asm__ ("mulq %2,%3,%1; umulh %2,%3,%0" \
: "=r" ((UDItype)(wh)), \
"=&r" ((UDItype)(wl)) \
: "r" ((UDItype)(u)), \
"r" ((UDItype)(v)))

Definition at line 13 of file sfp-util.h.

Function Documentation

unsigned long __udiv_qrnnd ( unsigned long ,
unsigned  long,
unsigned  long,
unsigned  long 
)