osprey/kg++fe/gnu/config/fp-bit.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Types

type  fp_number_type
union  FLO_union_type

Defines

#define L_pack_df
#define L_unpack_df
#define L_pack_sf
#define L_unpack_sf
#define L_addsub_sf
#define L_addsub_df
#define L_mul_sf
#define L_mul_df
#define L_div_sf
#define L_div_df
#define L_fpcmp_parts_sf
#define L_fpcmp_parts_df
#define L_compare_sf
#define L_compare_df
#define L_eq_sf
#define L_eq_df
#define L_ne_sf
#define L_ne_df
#define L_gt_sf
#define L_gt_df
#define L_ge_sf
#define L_ge_df
#define L_lt_sf
#define L_lt_df
#define L_le_sf
#define L_le_df
#define L_unord_sf
#define L_unord_df
#define L_usi_to_sf
#define L_usi_to_df
#define L_si_to_sf
#define L_si_to_df
#define L_sf_to_si
#define L_df_to_si
#define L_f_to_usi
#define L_df_to_usi
#define L_negate_sf
#define L_negate_df
#define L_make_sf
#define L_make_df
#define L_sf_to_df
#define L_df_to_sf
#define L_thenan_df
#define CMPtype   SItype
#define MAX_USI_INT   (~(USItype)0)
#define MAX_SI_INT   ((SItype) (MAX_USI_INT >> 1))
#define BITS_PER_SI   (4 * BITS_PER_UNIT)
#define PREFIXFPDP   dp
#define PREFIXSFDF   df
#define NGARDS   8L
#define GARDROUND   0x7f
#define GARDMASK   0xff
#define GARDMSB   0x80
#define EXPBITS   11
#define EXPBIAS   1023
#define FRACBITS   52
#define EXPMAX   (0x7ff)
#define QUIET_NAN   0x8000000000000LL
#define FRAC_NBITS   64
#define FRACHIGH   0x8000000000000000LL
#define FRACHIGH2   0xc000000000000000LL
#define pack_d   __pack_d
#define unpack_d   __unpack_d
#define __fpcmp_parts   __fpcmp_parts_d
#define add   __adddf3
#define sub   __subdf3
#define multiply   __muldf3
#define divide   __divdf3
#define compare   __cmpdf2
#define _eq_f2   __eqdf2
#define _ne_f2   __nedf2
#define _gt_f2   __gtdf2
#define _ge_f2   __gedf2
#define _lt_f2   __ltdf2
#define _le_f2   __ledf2
#define _unord_f2   __unorddf2
#define usi_to_float   __floatunsidf
#define si_to_float   __floatsidf
#define float_to_si   __fixdfsi
#define float_to_usi   __fixunsdfsi
#define negate   __negdf2
#define df_to_sf   __truncdfsf2
#define df_to_tf   __extenddftf2
#define INLINE   __inline__
#define LSHIFT(a)   { a = (a & 1) | (a >> 1); }
#define F_D_BITOFF   (52+8-(23+7))
#define NORMAL_EXPMIN   (-(EXPBIAS)+1)
#define IMPLICIT_1   ((fractype)1<<(FRACBITS+NGARDS))
#define IMPLICIT_2   ((fractype)1<<(FRACBITS+1+NGARDS))

Typedefs

typedef float SFtype __attribute__ ((mode(SF)))
typedef UDItype fractype
typedef USItype halffractype
typedef DFtype FLO_type
typedef DItype intfrac

Enumerations

enum  fp_class_type {
  CLASS_SNAN, CLASS_QNAN, CLASS_ZERO, CLASS_NUMBER,
  CLASS_INFINITY, CLASS_SNAN, CLASS_QNAN, CLASS_ZERO,
  CLASS_NUMBER, CLASS_INFINITY, CLASS_SNAN, CLASS_QNAN,
  CLASS_ZERO, CLASS_NUMBER, CLASS_INFINITY, CLASS_SNAN,
  CLASS_QNAN, CLASS_ZERO, CLASS_NUMBER, CLASS_INFINITY
}

Functions/Subroutines

FLO_type pack_d (fp_number_type *)
void unpack_d (FLO_union_type *, fp_number_type *)
FLO_type add (FLO_type, FLO_type)
FLO_type sub (FLO_type, FLO_type)
FLO_type multiply (FLO_type, FLO_type)
FLO_type divide (FLO_type, FLO_type)
int __fpcmp_parts (fp_number_type *, fp_number_type *)
CMPtype compare (FLO_type, FLO_type)
CMPtype _eq_f2 (FLO_type, FLO_type)
CMPtype _ne_f2 (FLO_type, FLO_type)
CMPtype _gt_f2 (FLO_type, FLO_type)
CMPtype _ge_f2 (FLO_type, FLO_type)
CMPtype _lt_f2 (FLO_type, FLO_type)
CMPtype _le_f2 (FLO_type, FLO_type)
CMPtype _unord_f2 (FLO_type, FLO_type)
FLO_type si_to_float (SItype)
SItype float_to_si (FLO_type)
FLO_type usi_to_float (USItype)
FLO_type negate (FLO_type)
SFtype __make_fp (fp_class_type, unsigned int, int, USItype)
DFtype __make_dp (fp_class_type, unsigned int, int, UDItype)
SFtype df_to_sf (DFtype)


Define Documentation

#define __fpcmp_parts   __fpcmp_parts_d

Definition at line 214 of file fp-bit.h.

Referenced by _eq_f2(), _ge_f2(), _gt_f2(), _le_f2(), _lt_f2(), _ne_f2(), and compare().

#define _eq_f2   __eqdf2

Definition at line 300 of file fp-bit.h.

#define _ge_f2   __gedf2

Definition at line 303 of file fp-bit.h.

#define _gt_f2   __gtdf2

Definition at line 302 of file fp-bit.h.

#define _le_f2   __ledf2

Definition at line 305 of file fp-bit.h.

#define _lt_f2   __ltdf2

Definition at line 304 of file fp-bit.h.

#define _ne_f2   __nedf2

Definition at line 301 of file fp-bit.h.

#define _unord_f2   __unorddf2

Definition at line 306 of file fp-bit.h.

#define add   __adddf3

Definition at line 295 of file fp-bit.h.

Referenced by add_tlist(), merge_accept_insn(), merge_tlist(), and merge_trees().

#define BITS_PER_SI   (4 * BITS_PER_UNIT)

Definition at line 121 of file fp-bit.h.

Referenced by __attribute__(), and float_to_si().

#define CMPtype   SItype

Definition at line 109 of file fp-bit.h.

#define compare   __cmpdf2

#define df_to_sf   __truncdfsf2

Definition at line 312 of file fp-bit.h.

#define df_to_tf   __extenddftf2

Definition at line 313 of file fp-bit.h.

#define divide   __divdf3

#define EXPBIAS   1023

Definition at line 205 of file fp-bit.h.

#define EXPBITS   11

Definition at line 204 of file fp-bit.h.

Referenced by pack_d(), and unpack_d().

#define EXPMAX   (0x7ff)

Definition at line 207 of file fp-bit.h.

Referenced by pack_d(), and unpack_d().

#define F_D_BITOFF   (52+8-(23+7))

Definition at line 329 of file fp-bit.h.

Referenced by df_to_sf().

#define float_to_si   __fixdfsi

Definition at line 309 of file fp-bit.h.

#define float_to_usi   __fixunsdfsi

Definition at line 310 of file fp-bit.h.

#define FRAC_NBITS   64

Definition at line 209 of file fp-bit.h.

Referenced by __attribute__(), _fpadd_parts(), pack_d(), and unpack_d().

#define FRACBITS   52

Definition at line 206 of file fp-bit.h.

Referenced by __attribute__(), float_to_si(), pack_d(), si_to_float(), unpack_d(), and usi_to_float().

#define FRACHIGH   0x8000000000000000LL

Definition at line 210 of file fp-bit.h.

Referenced by __attribute__().

#define FRACHIGH2   0xc000000000000000LL

Definition at line 211 of file fp-bit.h.

Referenced by __attribute__().

#define GARDMASK   0xff

Definition at line 202 of file fp-bit.h.

Referenced by __attribute__(), and pack_d().

#define GARDMSB   0x80

Definition at line 203 of file fp-bit.h.

Referenced by __attribute__(), and pack_d().

#define GARDROUND   0x7f

Definition at line 201 of file fp-bit.h.

Referenced by __attribute__(), and pack_d().

#define IMPLICIT_1   ((fractype)1<<(FRACBITS+NGARDS))

Definition at line 338 of file fp-bit.h.

Referenced by __attribute__(), _fpadd_parts(), pack_d(), and unpack_d().

#define IMPLICIT_2   ((fractype)1<<(FRACBITS+1+NGARDS))

Definition at line 339 of file fp-bit.h.

Referenced by __attribute__(), _fpadd_parts(), and pack_d().

#define INLINE   __inline__

Definition at line 318 of file fp-bit.h.

#define L_addsub_df

Definition at line 46 of file fp-bit.h.

#define L_addsub_sf

Definition at line 45 of file fp-bit.h.

#define L_compare_df

Definition at line 54 of file fp-bit.h.

#define L_compare_sf

Definition at line 53 of file fp-bit.h.

#define L_df_to_sf

Definition at line 82 of file fp-bit.h.

#define L_df_to_si

Definition at line 74 of file fp-bit.h.

#define L_df_to_usi

Definition at line 76 of file fp-bit.h.

#define L_div_df

Definition at line 50 of file fp-bit.h.

#define L_div_sf

Definition at line 49 of file fp-bit.h.

#define L_eq_df

Definition at line 56 of file fp-bit.h.

#define L_eq_sf

Definition at line 55 of file fp-bit.h.

#define L_f_to_usi

Definition at line 75 of file fp-bit.h.

#define L_fpcmp_parts_df

Definition at line 52 of file fp-bit.h.

#define L_fpcmp_parts_sf

Definition at line 51 of file fp-bit.h.

#define L_ge_df

Definition at line 62 of file fp-bit.h.

#define L_ge_sf

Definition at line 61 of file fp-bit.h.

#define L_gt_df

Definition at line 60 of file fp-bit.h.

#define L_gt_sf

Definition at line 59 of file fp-bit.h.

#define L_le_df

Definition at line 66 of file fp-bit.h.

#define L_le_sf

Definition at line 65 of file fp-bit.h.

#define L_lt_df

Definition at line 64 of file fp-bit.h.

#define L_lt_sf

Definition at line 63 of file fp-bit.h.

#define L_make_df

Definition at line 80 of file fp-bit.h.

#define L_make_sf

Definition at line 79 of file fp-bit.h.

#define L_mul_df

Definition at line 48 of file fp-bit.h.

#define L_mul_sf

Definition at line 47 of file fp-bit.h.

#define L_ne_df

Definition at line 58 of file fp-bit.h.

#define L_ne_sf

Definition at line 57 of file fp-bit.h.

#define L_negate_df

Definition at line 78 of file fp-bit.h.

#define L_negate_sf

Definition at line 77 of file fp-bit.h.

#define L_pack_df

Definition at line 41 of file fp-bit.h.

#define L_pack_sf

Definition at line 43 of file fp-bit.h.

#define L_sf_to_df

Definition at line 81 of file fp-bit.h.

#define L_sf_to_si

Definition at line 73 of file fp-bit.h.

#define L_si_to_df

Definition at line 72 of file fp-bit.h.

#define L_si_to_sf

Definition at line 71 of file fp-bit.h.

#define L_thenan_df

Definition at line 86 of file fp-bit.h.

#define L_unord_df

Definition at line 68 of file fp-bit.h.

#define L_unord_sf

Definition at line 67 of file fp-bit.h.

#define L_unpack_df

Definition at line 42 of file fp-bit.h.

#define L_unpack_sf

Definition at line 44 of file fp-bit.h.

#define L_usi_to_df

Definition at line 70 of file fp-bit.h.

#define L_usi_to_sf

Definition at line 69 of file fp-bit.h.

#define LSHIFT ( a   )     { a = (a & 1) | (a >> 1); }

Definition at line 322 of file fp-bit.h.

#define MAX_SI_INT   ((SItype) (MAX_USI_INT >> 1))

Definition at line 120 of file fp-bit.h.

Referenced by float_to_si(), and si_to_float().

#define MAX_USI_INT   (~(USItype)0)

Definition at line 119 of file fp-bit.h.

#define multiply   __muldf3

Definition at line 297 of file fp-bit.h.

Referenced by Promote_Pointer().

#define negate   __negdf2

#define NGARDS   8L

Definition at line 200 of file fp-bit.h.

Referenced by __attribute__(), float_to_si(), pack_d(), si_to_float(), unpack_d(), and usi_to_float().

#define NORMAL_EXPMIN   (-(EXPBIAS)+1)

Definition at line 337 of file fp-bit.h.

Referenced by pack_d().

#define pack_d   __pack_d

Definition at line 212 of file fp-bit.h.

Referenced by __make_dp(), add(), divide(), multiply(), negate(), si_to_float(), sub(), and usi_to_float().

#define PREFIXFPDP   dp

Definition at line 198 of file fp-bit.h.

#define PREFIXSFDF   df

Definition at line 199 of file fp-bit.h.

#define QUIET_NAN   0x8000000000000LL

Definition at line 208 of file fp-bit.h.

#define si_to_float   __floatsidf

Definition at line 308 of file fp-bit.h.

#define sub   __subdf3

Definition at line 296 of file fp-bit.h.

Referenced by _bfd_coff_final_link(), _bfd_generic_final_link(), _bfd_generic_link_add_one_symbol(), _bfd_mips_elf_always_size_sections(), _bfd_mips_elf_final_link(), _bfd_xcoff_bfd_final_link(), Add_To_Live_Set(), add_to_sequence(), arm_gen_constant(), bfd_elf_final_link(), bfd_elf_gc_sections(), bfd_elf_size_dynamic_sections(), bfd_sunos_size_dynamic_sections(), bfd_xcoff_size_dynamic_sections(), break_out_subroutines(), break_precolored_alias(), build_fold_indirect_ref(), can_throw_external(), can_throw_internal(), CGEXP_Expand_Constant_Multiply(), check_protocol(), Class_has_subclass(), copy_sbtree(), cp_gimplify_init_expr(), create_nesting_tree(), Create_Positive_Divceil(), debug_decision_2(), DST_copy_subprogram(), dump_type_prefix(), elf_bfd_final_link(), elf_fixup_link_order(), elf_gc_sections(), elf_gc_sweep(), em_dim(), em_divfloor(), em_lshr(), em_mod_float(), em_shftc(), extract_bit_field(), Fast_32_Rem(), Finalize_Index_Variable(), fixup_var_refs_1(), fold_indirect_ref(), fold_indirect_ref_1(), fold_indirect_ref_rhs(), function_prologue(), general_operand(), generate_element_init_1(), get_substituted(), gimplify_conversion(), instantiate_missing_elements_1(), internal(), ip2k_gen_unsigned_comp_branch(), IPA_CLASS_HIERARCHY::Is_Ancestor(), is_predicable(), load_insn_classes(), lower_float_to_unsigned(), m32c_expand_insv(), Make_Fine_Grained_Interferences(), mark_set_regs(), merge_subprograms(), NAME(), num_div_op(), ppc_bfd_coff_final_link(), print_insn_hppa(), print_operand(), print_rtx(), purge_addressof_1(), ra_print_rtx_object(), register_operand(), remap_dst_entry(), Remove_From_Live_Set(), replace_loop_mems(), sched_analyze_insn(), see_merge_one_def_extension(), see_want_to_be_merged_with_extension(), setjmp_protect(), setjmp_vars_warning(), single_set_2(), single_set_pattern(), srch_for_calls(), strip_float_extensions(), substitution_get(), sunos_scan_dynamic_symbol(), sunos_scan_ext_relocs(), sunos_scan_std_relocs(), try_remove_empty_loop(), uninitialized_vars_warning(), voidify_wrapper_expr(), WN_mask(), xcoff_sweep(), xcoff_write_archive_contents_old(), xcoff_write_armap_old(), xstormy16_emit_cbranch(), and xstormy16_expand_arith().

#define unpack_d   __unpack_d

#define usi_to_float   __floatunsidf

Definition at line 307 of file fp-bit.h.


Typedef Documentation

typedef unsigned _Unwind_Exception_Class __attribute__((__mode__(__DI__))) [inline, read]

Definition at line 94 of file fp-bit.h.

typedef DFtype FLO_type

Definition at line 217 of file fp-bit.h.

typedef UDItype fractype

Definition at line 215 of file fp-bit.h.

typedef USItype halffractype

Definition at line 216 of file fp-bit.h.

typedef DItype intfrac

Definition at line 218 of file fp-bit.h.


Enumeration Type Documentation

Enumerator:
CLASS_SNAN 
CLASS_QNAN 
CLASS_ZERO 
CLASS_NUMBER 
CLASS_INFINITY 
CLASS_SNAN 
CLASS_QNAN 
CLASS_ZERO 
CLASS_NUMBER 
CLASS_INFINITY 
CLASS_SNAN 
CLASS_QNAN 
CLASS_ZERO 
CLASS_NUMBER 
CLASS_INFINITY 
CLASS_SNAN 
CLASS_QNAN 
CLASS_ZERO 
CLASS_NUMBER 
CLASS_INFINITY 

Definition at line 343 of file fp-bit.h.


Function Documentation

int __fpcmp_parts ( fp_number_type ,
fp_number_type  
)

Definition at line 1039 of file fp-bit.c.

DFtype __make_dp ( fp_class_type  ,
unsigned  int,
int  ,
UDItype   
)

Definition at line 1501 of file fp-bit.c.

SFtype __make_fp ( fp_class_type  ,
unsigned  int,
int  ,
USItype   
)

CMPtype _eq_f2 ( FLO_type  ,
FLO_type   
)

Definition at line 1140 of file fp-bit.c.

CMPtype _ge_f2 ( FLO_type  ,
FLO_type   
)

Definition at line 1203 of file fp-bit.c.

CMPtype _gt_f2 ( FLO_type  ,
FLO_type   
)

Definition at line 1182 of file fp-bit.c.

CMPtype _le_f2 ( FLO_type  ,
FLO_type   
)

Definition at line 1244 of file fp-bit.c.

CMPtype _lt_f2 ( FLO_type  ,
FLO_type   
)

Definition at line 1223 of file fp-bit.c.

CMPtype _ne_f2 ( FLO_type  ,
FLO_type   
)

Definition at line 1161 of file fp-bit.c.

CMPtype _unord_f2 ( FLO_type  ,
FLO_type   
)

Definition at line 1267 of file fp-bit.c.

FLO_type add ( FLO_type  ,
FLO_type   
)

Definition at line 690 of file fp-bit.c.

CMPtype compare ( FLO_type  ,
FLO_type   
)

Definition at line 1118 of file fp-bit.c.

SFtype df_to_sf ( DFtype   ) 

Definition at line 1515 of file fp-bit.c.

FLO_type divide ( FLO_type  ,
FLO_type   
)

Definition at line 1011 of file fp-bit.c.

SItype float_to_si ( FLO_type   ) 

Definition at line 1355 of file fp-bit.c.

FLO_type multiply ( FLO_type  ,
FLO_type   
)

Definition at line 900 of file fp-bit.c.

FLO_type negate ( FLO_type   ) 

Definition at line 1423 of file fp-bit.c.

FLO_type pack_d ( fp_number_type  ) 

FLO_type si_to_float ( SItype   ) 

Definition at line 1285 of file fp-bit.c.

FLO_type sub ( FLO_type  ,
FLO_type   
)

Definition at line 710 of file fp-bit.c.

void unpack_d ( FLO_union_type ,
fp_number_type  
)

Definition at line 412 of file fp-bit.c.

FLO_type usi_to_float ( USItype   ) 

Definition at line 1323 of file fp-bit.c.


Generated on Wed Apr 8 15:19:28 2009 for Open64 by  doxygen 1.5.6