mli.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <math.h>

Include dependency graph for libsim/mli.c:


Defines

#define BITOP(NAME, OP)

Functions

void _mlimul (int *pl, int *pr, int nb)
void _mlidiv (int *pl, int *pr, int nb)
void _mlimod (int *pl, int *pr, int nb)
void _mliplus (unsigned int *pl, unsigned int *pr, int nb)
void _mlimin (unsigned int *pl, unsigned int *pr, int nb)
void _mlishleft (int *pl, int *pr, int nb)
void _mlishright (int *pl, int *pr, int nb)
void _mliumin (unsigned int *pl, int nb)
void _mlinot (int *pl, int nb)
 BITOP (_mliand,&=)
 BITOP (_mlior,|=)
 BITOP (_mlixor,^=)
float _mli2float (int *pl, int nb)

Define Documentation

#define BITOP NAME,
OP   ) 
 

Value:

void NAME(int *pl, int *pr, int nb) {\
  int i; \
 \
  for (i=0; i<nb; i+=32) { \
    *pl OP *pr; \
    pl++; \
    pr++; \
  } \
}


Function Documentation

void _mlimul int *  pl,
int *  pr,
int  nb
 

void _mlidiv int *  pl,
int *  pr,
int  nb
 

void _mlimod int *  pl,
int *  pr,
int  nb
 

void _mliplus unsigned int *  pl,
unsigned int *  pr,
int  nb
 

void _mlimin unsigned int *  pl,
unsigned int *  pr,
int  nb
 

void _mlishleft int *  pl,
int *  pr,
int  nb
 

void _mlishright int *  pl,
int *  pr,
int  nb
 

void _mliumin unsigned int *  pl,
int  nb
 

void _mlinot int *  pl,
int  nb
 

BITOP _mliand  ,
 

BITOP _mlior  ,
 

BITOP _mlixor  ,
 

float _mli2float int *  pl,
int  nb
 


Generated on Wed Apr 5 21:00:50 2006 for Sesame by  doxygen 1.4.6