osprey/kgccfe/gnu/f/intdoc.c File Reference

#include "hconfig.h"
#include "system.h"
#include "assert.h"
#include "intrin.h"
#include "intrin.def"
#include "intdoc.h0"

Include dependency graph for intdoc.c:

Go to the source code of this file.

Data Types

type  _ffeintrin_name_
type  _ffeintrin_gen_
type  _ffeintrin_spec_
type  _ffeintrin_imp_
type  cc_pair

Defines

#define FFEINTRIN_DOC   1
#define DEFNAME(UPPER, LOWER, MIXED, GEN, SPEC)   { UPPER, LOWER, MIXED, FFEINTRIN_ ## GEN, FFEINTRIN_ ## SPEC },
#define DEFGEN(CODE, NAME, SPEC1, SPEC2)
#define DEFSPEC(CODE, NAME, CALLABLE, FAMILY, IMP)
#define DEFIMP(CODE, NAME, GFRTDIRECT, GFRTF2C, GFRTGNU, CONTROL)
#define DEFIMPY(CODE, NAME, GFRTDIRECT, GFRTF2C, GFRTGNU, CONTROL, Y2KBAD)
#define DEFNAME(UPPER, LOWER, MIXED, GEN, SPEC)
#define DEFGEN(CODE, NAME, SPEC1, SPEC2)   { NAME, { SPEC1, SPEC2, }, },
#define DEFSPEC(CODE, NAME, CALLABLE, FAMILY, IMP)
#define DEFIMP(CODE, NAME, GFRTDIRECT, GFRTF2C, GFRTGNU, CONTROL)
#define DEFIMPY(CODE, NAME, GFRTDIRECT, GFRTF2C, GFRTGNU, CONTROL, Y2KBAD)
#define DEFNAME(UPPER, LOWER, MIXED, GEN, SPEC)
#define DEFGEN(CODE, NAME, SPEC1, SPEC2)
#define DEFSPEC(CODE, NAME, CALLABLE, FAMILY, IMP)
#define DEFIMP(CODE, NAME, GFRTDIRECT, GFRTF2C, GFRTGNU, CONTROL)   { NAME, CONTROL },
#define DEFIMPY(CODE, NAME, GFRTDIRECT, GFRTF2C, GFRTGNU, CONTROL, Y2KBAD)   { NAME, CONTROL },
#define DEFNAME(UPPER, LOWER, MIXED, GEN, SPEC)
#define DEFGEN(CODE, NAME, SPEC1, SPEC2)
#define DEFSPEC(CODE, NAME, CALLABLE, FAMILY, IMP)   { NAME, CALLABLE, FAMILY, IMP, },
#define DEFIMP(CODE, NAME, GFRTDIRECT, GFRTF2C, GFRTGNU, CONTROL)
#define DEFIMPY(CODE, NAME, GFRTDIRECT, GFRTF2C, GFRTGNU, CONTROL, Y2KBAD)
#define DEFDOC(IMP, SUMMARY, DESCRIPTION)   { FFEINTRIN_imp ## IMP, DESCRIPTION },
#define DEFDOC(IMP, SUMMARY, DESCRIPTION)   { FFEINTRIN_imp ## IMP, SUMMARY },
#define INDENT_SUMMARY   24

Functions/Subroutines

const char * family_name (ffeintrinFamily family)
static void dumpif (ffeintrinFamily fam)
static void dumpendif (void)
static void dumpclearif (void)
static void dumpem (void)
static void dumpgen (int menu, const char *name, const char *name_uc, ffeintrinGen gen)
static void dumpspec (int menu, const char *name, const char *name_uc, ffeintrinSpec spec)
static void dumpimp (int menu, const char *name, const char *name_uc, size_t genno, ffeintrinFamily family, ffeintrinImp imp, ffeintrinSpec spec)
static const char * argument_info_ptr (ffeintrinImp imp, int argno)
static const char * argument_info_string (ffeintrinImp imp, int argno)
static const char * argument_name_ptr (ffeintrinImp imp, int argno)
static const char * argument_name_string (ffeintrinImp imp, int argno)
static void print_type_string (const char *c)
int main (int argc, char **argv ATTRIBUTE_UNUSED)

Variables

static struct _ffeintrin_name_ names []
static struct _ffeintrin_gen_ gens []
static struct _ffeintrin_imp_ imps []
static struct _ffeintrin_spec_ specs []
static const char * descriptions [FFEINTRIN_imp] = { 0 }
static struct cc_pair cc_descriptions []
static const char * summaries [FFEINTRIN_imp] = { 0 }
static struct cc_pair cc_summaries []
static int in_ifset = 0
static ffeintrinFamily latest_family = FFEINTRIN_familyNONE


Define Documentation

#define DEFDOC ( IMP,
SUMMARY,
DESCRIPTION   )     { FFEINTRIN_imp ## IMP, SUMMARY },

#define DEFDOC ( IMP,
SUMMARY,
DESCRIPTION   )     { FFEINTRIN_imp ## IMP, DESCRIPTION },

#define DEFGEN ( CODE,
NAME,
SPEC1,
SPEC2   ) 

#define DEFGEN ( CODE,
NAME,
SPEC1,
SPEC2   ) 

#define DEFGEN ( CODE,
NAME,
SPEC1,
SPEC2   )     { NAME, { SPEC1, SPEC2, }, },

#define DEFGEN ( CODE,
NAME,
SPEC1,
SPEC2   ) 

#define DEFIMP ( CODE,
NAME,
GFRTDIRECT,
GFRTF2C,
GFRTGNU,
CONTROL   ) 

#define DEFIMP ( CODE,
NAME,
GFRTDIRECT,
GFRTF2C,
GFRTGNU,
CONTROL   )     { NAME, CONTROL },

#define DEFIMP ( CODE,
NAME,
GFRTDIRECT,
GFRTF2C,
GFRTGNU,
CONTROL   ) 

#define DEFIMP ( CODE,
NAME,
GFRTDIRECT,
GFRTF2C,
GFRTGNU,
CONTROL   ) 

#define DEFIMPY ( CODE,
NAME,
GFRTDIRECT,
GFRTF2C,
GFRTGNU,
CONTROL,
Y2KBAD   ) 

#define DEFIMPY ( CODE,
NAME,
GFRTDIRECT,
GFRTF2C,
GFRTGNU,
CONTROL,
Y2KBAD   )     { NAME, CONTROL },

#define DEFIMPY ( CODE,
NAME,
GFRTDIRECT,
GFRTF2C,
GFRTGNU,
CONTROL,
Y2KBAD   ) 

#define DEFIMPY ( CODE,
NAME,
GFRTDIRECT,
GFRTF2C,
GFRTGNU,
CONTROL,
Y2KBAD   ) 

#define DEFNAME ( UPPER,
LOWER,
MIXED,
GEN,
SPEC   ) 

#define DEFNAME ( UPPER,
LOWER,
MIXED,
GEN,
SPEC   ) 

#define DEFNAME ( UPPER,
LOWER,
MIXED,
GEN,
SPEC   ) 

#define DEFNAME ( UPPER,
LOWER,
MIXED,
GEN,
SPEC   )     { UPPER, LOWER, MIXED, FFEINTRIN_ ## GEN, FFEINTRIN_ ## SPEC },

#define DEFSPEC ( CODE,
NAME,
CALLABLE,
FAMILY,
IMP   )     { NAME, CALLABLE, FAMILY, IMP, },

#define DEFSPEC ( CODE,
NAME,
CALLABLE,
FAMILY,
IMP   ) 

#define DEFSPEC ( CODE,
NAME,
CALLABLE,
FAMILY,
IMP   ) 

#define DEFSPEC ( CODE,
NAME,
CALLABLE,
FAMILY,
IMP   ) 

#define FFEINTRIN_DOC   1

Definition at line 30 of file intdoc.c.

#define INDENT_SUMMARY   24

Referenced by dumpimp().


Function Documentation

static const char * argument_info_ptr ( ffeintrinImp  imp,
int  argno 
) [static]

Definition at line 1046 of file intdoc.c.

References ARRAY_SIZE, assert, c, _ffeintrin_imp_::control, i, and NULL.

Referenced by argument_info_string().

static const char * argument_info_string ( ffeintrinImp  imp,
int  argno 
) [static]

Definition at line 1089 of file intdoc.c.

References argument_info_ptr(), assert, NULL, and p.

Referenced by dumpimp().

static const char * argument_name_ptr ( ffeintrinImp  imp,
int  argno 
) [static]

Definition at line 1099 of file intdoc.c.

References ARRAY_SIZE, assert, c, _ffeintrin_imp_::control, i, and NULL.

Referenced by argument_name_string(), and dumpimp().

static const char * argument_name_string ( ffeintrinImp  imp,
int  argno 
) [static]

Definition at line 1138 of file intdoc.c.

References argument_name_ptr(), assert, NULL, and p.

Referenced by dumpimp().

static void dumpclearif ( void   )  [static]

Definition at line 244 of file intdoc.c.

References FFEINTRIN_familyNONE, in_ifset, latest_family, and printf().

Referenced by dumpem().

static void dumpem ( void   )  [static]

Definition at line 254 of file intdoc.c.

References ARRAY_SIZE, assert, descriptions, dumpclearif(), dumpgen(), dumpspec(), i, cc_pair::imp, NULL, printf(), size_t, specific, and summaries.

Referenced by main().

static void dumpendif ( void   )  [static]

Definition at line 238 of file intdoc.c.

References in_ifset.

Referenced by dumpgen(), and dumpspec().

static void dumpgen ( int  menu,
const char *  name,
const char *  name_uc,
ffeintrinGen  gen 
) [static]

Definition at line 299 of file intdoc.c.

References ARRAY_SIZE, dumpendif(), dumpif(), dumpimp(), i, and printf().

Referenced by dumpem().

static void dumpif ( ffeintrinFamily  fam  )  [static]

Definition at line 223 of file intdoc.c.

References assert, family_name(), FFEINTRIN_familyNONE, in_ifset, latest_family, and printf().

Referenced by dumpgen(), and dumpspec().

static void dumpimp ( int  menu,
const char *  name,
const char *  name_uc,
size_t  genno,
ffeintrinFamily  family,
ffeintrinImp  imp,
ffeintrinSpec  spec 
) [static]

static void dumpspec ( int  menu,
const char *  name,
const char *  name_uc,
ffeintrinSpec  spec 
) [static]

Definition at line 352 of file intdoc.c.

References dumpendif(), dumpif(), and dumpimp().

Referenced by dumpem().

const char * family_name ( ffeintrinFamily  family  ) 

int main ( int argc  ,
char **argv  ATTRIBUTE_UNUSED 
)

Definition at line 56 of file intdoc.c.

References dumpem(), exit(), and fprintf().

static void print_type_string ( const char *  c  )  [static]

Definition at line 1148 of file intdoc.c.

References assert, basic(), NULL, and printf().

Referenced by dumpimp().


Variable Documentation

Initial value:

 {
#define DEFDOC(IMP,SUMMARY,DESCRIPTION) 


}

Definition at line 165 of file intdoc.c.

Initial value:

 {
#define DEFDOC(IMP,SUMMARY,DESCRIPTION) 


}

Definition at line 172 of file intdoc.c.

const char* descriptions[FFEINTRIN_imp] = { 0 } [static]

Definition at line 164 of file intdoc.c.

Referenced by dumpem(), and dumpimp().

Definition at line 117 of file intdoc.c.

Definition at line 132 of file intdoc.c.

int in_ifset = 0 [static]

Definition at line 219 of file intdoc.c.

Referenced by dumpclearif(), dumpendif(), and dumpif().

ffeintrinFamily latest_family = FFEINTRIN_familyNONE [static]

Definition at line 220 of file intdoc.c.

Referenced by dumpclearif(), and dumpif().

Definition at line 148 of file intdoc.c.

const char* summaries[FFEINTRIN_imp] = { 0 } [static]

Definition at line 171 of file intdoc.c.

Referenced by dumpem(), and dumpimp().


Generated on Wed Apr 8 15:49:37 2009 for Open64 by  doxygen 1.5.6