taglinefilesource code
st0_ptr127drivers/FPU-emu/fpu_aux.cregister FPU_REG *sti_ptr = &st(FPU_rm), *st0_ptr = &st(0);
st0_ptr129drivers/FPU-emu/fpu_aux.cif ( st0_ptr->tag == TW_Empty )
st0_ptr138drivers/FPU-emu/fpu_aux.creg_move(sti_ptr, st0_ptr);   /* Masked response */
st0_ptr145drivers/FPU-emu/fpu_aux.creg_move(st0_ptr, sti_ptr);   /* Masked response */
st0_ptr150drivers/FPU-emu/fpu_aux.creg_move(st0_ptr, &t);
st0_ptr151drivers/FPU-emu/fpu_aux.creg_move(sti_ptr, st0_ptr);
st0_ptr104drivers/FPU-emu/fpu_emu.htypedef void (*FUNC_ST0)(FPU_REG *st0_ptr);
st0_ptr145drivers/FPU-emu/fpu_entry.cFPU_REG      *st0_ptr;
st0_ptr343drivers/FPU-emu/fpu_entry.cst0_ptr = &st(0);
st0_ptr344drivers/FPU-emu/fpu_entry.cst0_tag = st0_ptr->tag;
st0_ptr402drivers/FPU-emu/fpu_entry.creal_2op_NaN(&loaded_data, st0_ptr,
st0_ptr403drivers/FPU-emu/fpu_entry.cst0_ptr);
st0_ptr407drivers/FPU-emu/fpu_entry.creal_2op_NaN(st0_ptr, &loaded_data,
st0_ptr408drivers/FPU-emu/fpu_entry.cst0_ptr);
st0_ptr423drivers/FPU-emu/fpu_entry.cst0_ptr) )
st0_ptr441drivers/FPU-emu/fpu_entry.creg_add(st0_ptr, &loaded_data, st0_ptr,
st0_ptr446drivers/FPU-emu/fpu_entry.creg_mul(st0_ptr, &loaded_data, st0_ptr,
st0_ptr458drivers/FPU-emu/fpu_entry.creg_sub(st0_ptr, &loaded_data, st0_ptr,
st0_ptr463drivers/FPU-emu/fpu_entry.creg_sub(&loaded_data, st0_ptr, st0_ptr,
st0_ptr468drivers/FPU-emu/fpu_entry.creg_div(st0_ptr, &loaded_data, st0_ptr,
st0_ptr476drivers/FPU-emu/fpu_entry.creg_div(&loaded_data, st0_ptr, st0_ptr,
st0_ptr520drivers/FPU-emu/fpu_entry.cst0_ptr = &st(0);
st0_ptr521drivers/FPU-emu/fpu_entry.cst0_tag = st0_ptr->tag;
st0_ptr20drivers/FPU-emu/fpu_etc.cstatic void fchs(FPU_REG *st0_ptr)
st0_ptr22drivers/FPU-emu/fpu_etc.cif ( st0_ptr->tag ^ TW_Empty )
st0_ptr24drivers/FPU-emu/fpu_etc.cst0_ptr->sign ^= SIGN_POS^SIGN_NEG;
st0_ptr31drivers/FPU-emu/fpu_etc.cstatic void fabs(FPU_REG *st0_ptr)
st0_ptr33drivers/FPU-emu/fpu_etc.cif ( st0_ptr->tag ^ TW_Empty )
st0_ptr35drivers/FPU-emu/fpu_etc.cst0_ptr->sign = SIGN_POS;
st0_ptr43drivers/FPU-emu/fpu_etc.cstatic void ftst_(FPU_REG *st0_ptr)
st0_ptr45drivers/FPU-emu/fpu_etc.cswitch (st0_ptr->tag)
st0_ptr51drivers/FPU-emu/fpu_etc.cif (st0_ptr->sign == SIGN_POS)
st0_ptr57drivers/FPU-emu/fpu_etc.cif ( (st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) )
st0_ptr61drivers/FPU-emu/fpu_etc.cif (st0_ptr->sign == SIGN_POS)
st0_ptr74drivers/FPU-emu/fpu_etc.cif (st0_ptr->sign == SIGN_POS)
st0_ptr90drivers/FPU-emu/fpu_etc.cstatic void fxam(FPU_REG *st0_ptr)
st0_ptr93drivers/FPU-emu/fpu_etc.cswitch (st0_ptr->tag)
st0_ptr103drivers/FPU-emu/fpu_etc.cif ( st0_ptr->exp <= EXP_UNDER )
st0_ptr115drivers/FPU-emu/fpu_etc.cif (st0_ptr->sign == SIGN_NEG)
st0_ptr121drivers/FPU-emu/fpu_proto.hextern int reg_store_extended(long double *d, FPU_REG *st0_ptr);
st0_ptr122drivers/FPU-emu/fpu_proto.hextern int reg_store_double(double *dfloat, FPU_REG *st0_ptr);
st0_ptr123drivers/FPU-emu/fpu_proto.hextern int reg_store_single(float *single, FPU_REG *st0_ptr);
st0_ptr124drivers/FPU-emu/fpu_proto.hextern int reg_store_int64(long long *d, FPU_REG *st0_ptr);
st0_ptr125drivers/FPU-emu/fpu_proto.hextern int reg_store_int32(long *d, FPU_REG *st0_ptr);
st0_ptr126drivers/FPU-emu/fpu_proto.hextern int reg_store_int16(short *d, FPU_REG *st0_ptr);
st0_ptr127drivers/FPU-emu/fpu_proto.hextern int reg_store_bcd(char *d, FPU_REG *st0_ptr);
st0_ptr169drivers/FPU-emu/fpu_trig.cstatic void single_arg_error(FPU_REG *st0_ptr)
st0_ptr171drivers/FPU-emu/fpu_trig.cswitch ( st0_ptr->tag )
st0_ptr174drivers/FPU-emu/fpu_trig.cif ( !(st0_ptr->sigh & 0x40000000) )   /* Signaling ? */
st0_ptr178drivers/FPU-emu/fpu_trig.cst0_ptr->sigh |= 0x40000000;    /* Convert to a QNaN */
st0_ptr192drivers/FPU-emu/fpu_trig.cstatic void single_arg_2_error(FPU_REG *st0_ptr)
st0_ptr196drivers/FPU-emu/fpu_trig.cswitch ( st0_ptr->tag )
st0_ptr199drivers/FPU-emu/fpu_trig.cif ( !(st0_ptr->sigh & 0x40000000) )   /* Signaling ? */
st0_ptr206drivers/FPU-emu/fpu_trig.cst0_ptr->sigh |= 0x40000000;
st0_ptr230drivers/FPU-emu/fpu_trig.cstatic void f2xm1(FPU_REG *st0_ptr)
st0_ptr233drivers/FPU-emu/fpu_trig.cswitch ( st0_ptr->tag )
st0_ptr239drivers/FPU-emu/fpu_trig.cif ( st0_ptr->exp >= 0 )
st0_ptr243drivers/FPU-emu/fpu_trig.celse if ( st0_ptr->exp >= -64 )
st0_ptr245drivers/FPU-emu/fpu_trig.cif ( st0_ptr->sign == SIGN_POS )
st0_ptr248drivers/FPU-emu/fpu_trig.cpoly_2xm1(st0_ptr, &rv);
st0_ptr249drivers/FPU-emu/fpu_trig.creg_mul(&rv, st0_ptr, st0_ptr, FULL_PRECISION);
st0_ptr256drivers/FPU-emu/fpu_trig.cst0_ptr->sign = SIGN_POS;
st0_ptr257drivers/FPU-emu/fpu_trig.cpoly_2xm1(st0_ptr, &rv);
st0_ptr258drivers/FPU-emu/fpu_trig.creg_mul(&rv, st0_ptr, &rv, FULL_PRECISION);
st0_ptr260drivers/FPU-emu/fpu_trig.creg_div(&rv, &tmp, st0_ptr, FULL_PRECISION);
st0_ptr261drivers/FPU-emu/fpu_trig.cst0_ptr->sign = SIGN_NEG;
st0_ptr267drivers/FPU-emu/fpu_trig.cif ( (st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) )
st0_ptr271drivers/FPU-emu/fpu_trig.creg_mul(&CONST_LN2, st0_ptr, st0_ptr, FULL_PRECISION);
st0_ptr279drivers/FPU-emu/fpu_trig.cif ( st0_ptr->sign == SIGN_NEG )
st0_ptr282drivers/FPU-emu/fpu_trig.creg_move(&CONST_1, st0_ptr);
st0_ptr283drivers/FPU-emu/fpu_trig.cst0_ptr->sign = SIGN_NEG;
st0_ptr287drivers/FPU-emu/fpu_trig.csingle_arg_error(st0_ptr);
st0_ptr292drivers/FPU-emu/fpu_trig.cstatic void fptan(FPU_REG *st0_ptr)
st0_ptr294drivers/FPU-emu/fpu_trig.cchar st0_tag = st0_ptr->tag;
st0_ptr297drivers/FPU-emu/fpu_trig.cchar arg_sign = st0_ptr->sign;
st0_ptr319drivers/FPU-emu/fpu_trig.cif ( st0_ptr->exp > EXP_BIAS - 40 )
st0_ptr321drivers/FPU-emu/fpu_trig.cst0_ptr->sign = SIGN_POS;
st0_ptr322drivers/FPU-emu/fpu_trig.cif ( (q = trig_arg(st0_ptr, FPTAN)) != -1 )
st0_ptr324drivers/FPU-emu/fpu_trig.creg_div(st0_ptr, &CONST_PI2, st0_ptr,
st0_ptr326drivers/FPU-emu/fpu_trig.cpoly_tan(st0_ptr, st0_ptr, q & FCOS);
st0_ptr327drivers/FPU-emu/fpu_trig.cst0_ptr->sign = (q & 1) ^ arg_sign;
st0_ptr332drivers/FPU-emu/fpu_trig.cst0_ptr->sign = arg_sign;         /* restore st(0) */
st0_ptr341drivers/FPU-emu/fpu_trig.cif ( st0_ptr->exp <= EXP_UNDER )
st0_ptr350drivers/FPU-emu/fpu_trig.cif ( arith_underflow(st0_ptr) )
st0_ptr362drivers/FPU-emu/fpu_trig.carith_invalid(st0_ptr);
st0_ptr376drivers/FPU-emu/fpu_trig.csingle_arg_2_error(st0_ptr);
st0_ptr382drivers/FPU-emu/fpu_trig.cstatic void fxtract(FPU_REG *st0_ptr)
st0_ptr384drivers/FPU-emu/fpu_trig.cchar st0_tag = st0_ptr->tag;
st0_ptr386drivers/FPU-emu/fpu_trig.cregister FPU_REG *st1_ptr = st0_ptr;  /* anticipate */
st0_ptr396drivers/FPU-emu/fpu_trig.cif ( (st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) )
st0_ptr409drivers/FPU-emu/fpu_trig.cchar sign = st0_ptr->sign;
st0_ptr410drivers/FPU-emu/fpu_trig.cif ( divide_by_zero(SIGN_NEG, st0_ptr) )
st0_ptr419drivers/FPU-emu/fpu_trig.cchar sign = st0_ptr->sign;
st0_ptr420drivers/FPU-emu/fpu_trig.cst0_ptr->sign = SIGN_POS;
st0_ptr428drivers/FPU-emu/fpu_trig.cif ( real_2op_NaN(st0_ptr, st0_ptr, st0_ptr) )
st0_ptr453drivers/FPU-emu/fpu_trig.cstatic void fdecstp(FPU_REG *st0_ptr)
st0_ptr459drivers/FPU-emu/fpu_trig.cstatic void fincstp(FPU_REG *st0_ptr)
st0_ptr466drivers/FPU-emu/fpu_trig.cstatic void fsqrt_(FPU_REG *st0_ptr)
st0_ptr468drivers/FPU-emu/fpu_trig.cchar st0_tag = st0_ptr->tag;
st0_ptr475drivers/FPU-emu/fpu_trig.cif (st0_ptr->sign == SIGN_NEG)
st0_ptr477drivers/FPU-emu/fpu_trig.carith_invalid(st0_ptr);  /* sqrt(negative) is invalid */
st0_ptr482drivers/FPU-emu/fpu_trig.cif ( (st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) )
st0_ptr486drivers/FPU-emu/fpu_trig.cexpon = st0_ptr->exp - EXP_BIAS;
st0_ptr487drivers/FPU-emu/fpu_trig.cst0_ptr->exp = EXP_BIAS + (expon & 1);  /* make st(0) in  [1.0 .. 4.0) */
st0_ptr489drivers/FPU-emu/fpu_trig.cwm_sqrt(st0_ptr, control_word);  /* Do the computation */
st0_ptr491drivers/FPU-emu/fpu_trig.cst0_ptr->exp += expon >> 1;
st0_ptr492drivers/FPU-emu/fpu_trig.cst0_ptr->sign = SIGN_POS;
st0_ptr498drivers/FPU-emu/fpu_trig.cif ( st0_ptr->sign == SIGN_NEG )
st0_ptr499drivers/FPU-emu/fpu_trig.carith_invalid(st0_ptr);  /* sqrt(-Infinity) is invalid */
st0_ptr503drivers/FPU-emu/fpu_trig.c{ single_arg_error(st0_ptr); return; }
st0_ptr508drivers/FPU-emu/fpu_trig.cstatic void frndint_(FPU_REG *st0_ptr)
st0_ptr510drivers/FPU-emu/fpu_trig.cchar st0_tag = st0_ptr->tag;
st0_ptr515drivers/FPU-emu/fpu_trig.cif (st0_ptr->exp > EXP_BIAS+63)
st0_ptr519drivers/FPU-emu/fpu_trig.cif ( (st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) )
st0_ptr524drivers/FPU-emu/fpu_trig.cif ( (flags = round_to_int(st0_ptr)) )
st0_ptr527drivers/FPU-emu/fpu_trig.cst0_ptr->exp = EXP_BIAS + 63;
st0_ptr528drivers/FPU-emu/fpu_trig.cnormalize(st0_ptr);
st0_ptr534drivers/FPU-emu/fpu_trig.csingle_arg_error(st0_ptr);
st0_ptr538drivers/FPU-emu/fpu_trig.cstatic void fsin(FPU_REG *st0_ptr)
st0_ptr540drivers/FPU-emu/fpu_trig.cchar st0_tag = st0_ptr->tag;
st0_ptr541drivers/FPU-emu/fpu_trig.cchar arg_sign = st0_ptr->sign;
st0_ptr548drivers/FPU-emu/fpu_trig.cif ( st0_ptr->exp > EXP_BIAS - 40 )
st0_ptr550drivers/FPU-emu/fpu_trig.cst0_ptr->sign = SIGN_POS;
st0_ptr551drivers/FPU-emu/fpu_trig.cif ( (q = trig_arg(st0_ptr, 0)) != -1 )
st0_ptr553drivers/FPU-emu/fpu_trig.creg_div(st0_ptr, &CONST_PI2, st0_ptr, FULL_PRECISION);
st0_ptr555drivers/FPU-emu/fpu_trig.cpoly_sine(st0_ptr, &rv);
st0_ptr560drivers/FPU-emu/fpu_trig.creg_move(&rv, st0_ptr);
st0_ptr569drivers/FPU-emu/fpu_trig.cst0_ptr->sign = arg_sign;         /* restore st(0) */
st0_ptr578drivers/FPU-emu/fpu_trig.cif ( st0_ptr->exp <= EXP_UNDER )
st0_ptr587drivers/FPU-emu/fpu_trig.carith_underflow(st0_ptr);
st0_ptr602drivers/FPU-emu/fpu_trig.carith_invalid(st0_ptr);
st0_ptr606drivers/FPU-emu/fpu_trig.csingle_arg_error(st0_ptr);
st0_ptr681drivers/FPU-emu/fpu_trig.cstatic void fcos(FPU_REG *st0_ptr)
st0_ptr683drivers/FPU-emu/fpu_trig.cf_cos(st0_ptr);
st0_ptr687drivers/FPU-emu/fpu_trig.cstatic void fsincos(FPU_REG *st0_ptr)
st0_ptr689drivers/FPU-emu/fpu_trig.cchar st0_tag = st0_ptr->tag;
st0_ptr711drivers/FPU-emu/fpu_trig.csingle_arg_2_error(st0_ptr);
st0_ptr717drivers/FPU-emu/fpu_trig.cif ( !arith_invalid(st0_ptr) )
st0_ptr726drivers/FPU-emu/fpu_trig.creg_move(st0_ptr,&arg);
st0_ptr729drivers/FPU-emu/fpu_trig.cfsin(st0_ptr);
st0_ptr770drivers/FPU-emu/fpu_trig.cstatic void do_fprem(FPU_REG *st0_ptr, int round)
st0_ptr774drivers/FPU-emu/fpu_trig.cchar st0_tag = st0_ptr->tag;
st0_ptr775drivers/FPU-emu/fpu_trig.cchar sign = st0_ptr->sign;
st0_ptr781drivers/FPU-emu/fpu_trig.cint expdif = st0_ptr->exp - st1_ptr->exp;
st0_ptr787drivers/FPU-emu/fpu_trig.cif ( ((st0_ptr->exp <= EXP_UNDER) ||
st0_ptr804drivers/FPU-emu/fpu_trig.creg_div(st0_ptr, st1_ptr, &tmp, PR_64_BITS | RC_CHOP | 0x3f);
st0_ptr812drivers/FPU-emu/fpu_trig.crem_kernel(significand(st0_ptr),
st0_ptr821drivers/FPU-emu/fpu_trig.creg_move(st0_ptr, &tmp);
st0_ptr869drivers/FPU-emu/fpu_trig.creg_move(st0_ptr, &tmp);
st0_ptr879drivers/FPU-emu/fpu_trig.crem_kernel(significand(st0_ptr),
st0_ptr898drivers/FPU-emu/fpu_trig.creg_move(&CONST_Z, st0_ptr);
st0_ptr899drivers/FPU-emu/fpu_trig.cst0_ptr->sign = sign;
st0_ptr913drivers/FPU-emu/fpu_trig.creg_move(&tmp, st0_ptr);
st0_ptr918drivers/FPU-emu/fpu_trig.cif ( (st0_ptr->exp <= EXP_UNDER) && (st0_ptr->tag != TW_Zero)
st0_ptr920drivers/FPU-emu/fpu_trig.carith_underflow(st0_ptr);
st0_ptr941drivers/FPU-emu/fpu_trig.c{ arith_invalid(st0_ptr); return; } /* fprem(?,0) always invalid */
st0_ptr949drivers/FPU-emu/fpu_trig.carith_invalid(st0_ptr); /* fprem(Valid,Zero) is invalid */
st0_ptr955drivers/FPU-emu/fpu_trig.cif ( (st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) )
st0_ptr970drivers/FPU-emu/fpu_trig.carith_invalid(st0_ptr); /* fprem(Infinity,?) is invalid */
st0_ptr982drivers/FPU-emu/fpu_trig.creal_2op_NaN(st1_ptr, st0_ptr, st0_ptr);
st0_ptr988drivers/FPU-emu/fpu_trig.cstatic void fyl2x(FPU_REG *st0_ptr)
st0_ptr990drivers/FPU-emu/fpu_trig.cchar st0_tag = st0_ptr->tag;
st0_ptr997drivers/FPU-emu/fpu_trig.cif ( st0_ptr->sign == SIGN_POS )
st0_ptr1002drivers/FPU-emu/fpu_trig.cif ( ((st0_ptr->exp <= EXP_UNDER) ||
st0_ptr1013drivers/FPU-emu/fpu_trig.cpoly_l2(st0_ptr, st0_ptr);
st0_ptr1020drivers/FPU-emu/fpu_trig.creg_mul(st0_ptr, st1_ptr, st1_ptr, FULL_PRECISION);
st0_ptr1039drivers/FPU-emu/fpu_trig.cif ( !real_2op_NaN(st0_ptr, st1_ptr, st1_ptr) )
st0_ptr1058drivers/FPU-emu/fpu_trig.celse if ( st0_ptr->tag == TW_Infinity )
st0_ptr1077drivers/FPU-emu/fpu_trig.cif ( st0_ptr->sign == SIGN_NEG )
st0_ptr1086drivers/FPU-emu/fpu_trig.cif ( (st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) )
st0_ptr1090drivers/FPU-emu/fpu_trig.cif ( st0_ptr->exp < EXP_BIAS ) sign ^= SIGN_NEG^SIGN_POS;
st0_ptr1091drivers/FPU-emu/fpu_trig.cpop(); st0_ptr = &st(0);
st0_ptr1092drivers/FPU-emu/fpu_trig.creg_move(&CONST_Z, st0_ptr);
st0_ptr1093drivers/FPU-emu/fpu_trig.cst0_ptr->sign = sign;
st0_ptr1100drivers/FPU-emu/fpu_trig.cif ( (st0_ptr->sign == SIGN_NEG) || (st1_tag == TW_Zero) )
st0_ptr1116drivers/FPU-emu/fpu_trig.cpop(); st0_ptr = &st(0);
st0_ptr1117drivers/FPU-emu/fpu_trig.creg_move(&CONST_INF, st0_ptr);
st0_ptr1118drivers/FPU-emu/fpu_trig.cst0_ptr->sign = sign;
st0_ptr1123drivers/FPU-emu/fpu_trig.celse if ( (st0_tag == TW_Valid) && (st0_ptr->sign == SIGN_POS) )
st0_ptr1125drivers/FPU-emu/fpu_trig.cif ( st0_ptr->exp >= EXP_BIAS )
st0_ptr1127drivers/FPU-emu/fpu_trig.cif ( (st0_ptr->exp == EXP_BIAS) &&
st0_ptr1128drivers/FPU-emu/fpu_trig.c(st0_ptr->sigh == 0x80000000) &&
st0_ptr1129drivers/FPU-emu/fpu_trig.c(st0_ptr->sigl == 0) )
st0_ptr1145drivers/FPU-emu/fpu_trig.cif ( (st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) )
st0_ptr1157drivers/FPU-emu/fpu_trig.cif ( st0_ptr->tag == TW_Zero )
st0_ptr1179drivers/FPU-emu/fpu_trig.cstatic void fpatan(FPU_REG *st0_ptr)
st0_ptr1181drivers/FPU-emu/fpu_trig.cchar st0_tag = st0_ptr->tag;
st0_ptr1184drivers/FPU-emu/fpu_trig.cchar st1_sign = st1_ptr->sign, st0_sign = st0_ptr->sign;
st0_ptr1194drivers/FPU-emu/fpu_trig.cif ( ((st0_ptr->exp <= EXP_UNDER) ||
st0_ptr1204drivers/FPU-emu/fpu_trig.cst1_ptr->sign = st0_ptr->sign = SIGN_POS;
st0_ptr1208drivers/FPU-emu/fpu_trig.creg_div(st0_ptr, st1_ptr, &sum, FULL_PRECISION);
st0_ptr1214drivers/FPU-emu/fpu_trig.c(st1_ptr->exp - st0_ptr->exp < -64) )
st0_ptr1218drivers/FPU-emu/fpu_trig.creg_div(st1_ptr, st0_ptr, st1_ptr,
st0_ptr1225drivers/FPU-emu/fpu_trig.creg_div(st1_ptr, st0_ptr, &sum, FULL_PRECISION);
st0_ptr1253drivers/FPU-emu/fpu_trig.cif ( !real_2op_NaN(st0_ptr, st1_ptr, st1_ptr) )
st0_ptr1264drivers/FPU-emu/fpu_trig.cif ( st0_ptr->sign == SIGN_POS )
st0_ptr1279drivers/FPU-emu/fpu_trig.cif ( st0_ptr->sign == SIGN_POS )
st0_ptr1296drivers/FPU-emu/fpu_trig.cif ( (st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) )
st0_ptr1313drivers/FPU-emu/fpu_trig.cif ( (st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) )
st0_ptr1318drivers/FPU-emu/fpu_trig.cif ( st0_ptr->sign == SIGN_POS )
st0_ptr1347drivers/FPU-emu/fpu_trig.cstatic void fprem(FPU_REG *st0_ptr)
st0_ptr1349drivers/FPU-emu/fpu_trig.cdo_fprem(st0_ptr, RC_CHOP);
st0_ptr1353drivers/FPU-emu/fpu_trig.cstatic void fprem1(FPU_REG *st0_ptr)
st0_ptr1355drivers/FPU-emu/fpu_trig.cdo_fprem(st0_ptr, RC_RND);
st0_ptr1359drivers/FPU-emu/fpu_trig.cstatic void fyl2xp1(FPU_REG *st0_ptr)
st0_ptr1361drivers/FPU-emu/fpu_trig.cchar st0_tag = st0_ptr->tag;
st0_ptr1371drivers/FPU-emu/fpu_trig.cif ( ((st0_ptr->exp <= EXP_UNDER) ||
st0_ptr1381drivers/FPU-emu/fpu_trig.cif ( poly_l2p1(st0_ptr, st0_ptr) )
st0_ptr1400drivers/FPU-emu/fpu_trig.creg_mul(st0_ptr, st1_ptr, st1_ptr, FULL_PRECISION);
st0_ptr1419drivers/FPU-emu/fpu_trig.cst0_ptr->sign ^= st1_ptr->sign;
st0_ptr1420drivers/FPU-emu/fpu_trig.creg_move(st0_ptr, st1_ptr);
st0_ptr1431drivers/FPU-emu/fpu_trig.cif ( !real_2op_NaN(st0_ptr, st1_ptr, st1_ptr) )
st0_ptr1448drivers/FPU-emu/fpu_trig.cif ( st0_ptr->sign == SIGN_NEG )
st0_ptr1450drivers/FPU-emu/fpu_trig.cif ( st0_ptr->exp >= EXP_BIAS )
st0_ptr1461drivers/FPU-emu/fpu_trig.cif ( (st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) )
st0_ptr1468drivers/FPU-emu/fpu_trig.cif ( (st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) )
st0_ptr1475drivers/FPU-emu/fpu_trig.cif ( st0_ptr->sign == SIGN_NEG )
st0_ptr1477drivers/FPU-emu/fpu_trig.cif ( (st0_ptr->exp >= EXP_BIAS) &&
st0_ptr1478drivers/FPU-emu/fpu_trig.c!((st0_ptr->sigh == 0x80000000) &&
st0_ptr1479drivers/FPU-emu/fpu_trig.c(st0_ptr->sigl == 0)) )
st0_ptr1490drivers/FPU-emu/fpu_trig.cif ( (st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) )
st0_ptr1497drivers/FPU-emu/fpu_trig.cif ( (st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) )
st0_ptr1504drivers/FPU-emu/fpu_trig.cif ( !real_2op_NaN(st0_ptr, st1_ptr, st1_ptr) )
st0_ptr1511drivers/FPU-emu/fpu_trig.cif ( !real_2op_NaN(st0_ptr, st1_ptr, st1_ptr) )
st0_ptr1519drivers/FPU-emu/fpu_trig.cif ( !real_2op_NaN(st0_ptr, st1_ptr, st1_ptr) )
st0_ptr1523drivers/FPU-emu/fpu_trig.celse if ( st0_ptr->sign == SIGN_NEG )
st0_ptr1579drivers/FPU-emu/fpu_trig.cstatic void fscale(FPU_REG *st0_ptr)
st0_ptr1581drivers/FPU-emu/fpu_trig.cchar st0_tag = st0_ptr->tag;
st0_ptr1585drivers/FPU-emu/fpu_trig.cchar sign = st0_ptr->sign;
st0_ptr1594drivers/FPU-emu/fpu_trig.cif ( ((st0_ptr->exp <= EXP_UNDER) ||
st0_ptr1607drivers/FPU-emu/fpu_trig.csign = st0_ptr->sign;
st0_ptr1608drivers/FPU-emu/fpu_trig.creg_move(&CONST_INF, st0_ptr);
st0_ptr1609drivers/FPU-emu/fpu_trig.cst0_ptr->sign = sign;
st0_ptr1614drivers/FPU-emu/fpu_trig.csign = st0_ptr->sign;
st0_ptr1615drivers/FPU-emu/fpu_trig.creg_move(&CONST_Z, st0_ptr);
st0_ptr1616drivers/FPU-emu/fpu_trig.cst0_ptr->sign = sign;
st0_ptr1627drivers/FPU-emu/fpu_trig.cscale += st0_ptr->exp;
st0_ptr1628drivers/FPU-emu/fpu_trig.cst0_ptr->exp = scale;
st0_ptr1631drivers/FPU-emu/fpu_trig.cround_reg(st0_ptr, 0, control_word);
st0_ptr1641drivers/FPU-emu/fpu_trig.cif ( (st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) )
st0_ptr1650drivers/FPU-emu/fpu_trig.cif ( (st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) )
st0_ptr1655drivers/FPU-emu/fpu_trig.c{ reg_move(&CONST_INF, st0_ptr); }
st0_ptr1657drivers/FPU-emu/fpu_trig.creg_move(&CONST_Z, st0_ptr);
st0_ptr1658drivers/FPU-emu/fpu_trig.cst0_ptr->sign = sign;
st0_ptr1662drivers/FPU-emu/fpu_trig.c{ real_2op_NaN(st0_ptr, st1_ptr, st0_ptr); return; }
st0_ptr1683drivers/FPU-emu/fpu_trig.carith_invalid(st0_ptr); /* Zero scaled by +Infinity */
st0_ptr1688drivers/FPU-emu/fpu_trig.c{ real_2op_NaN(st0_ptr, st1_ptr, st0_ptr); return; }
st0_ptr1707drivers/FPU-emu/fpu_trig.carith_invalid(st0_ptr); /* Infinity scaled by -Infinity */
st0_ptr1711drivers/FPU-emu/fpu_trig.c{ real_2op_NaN(st0_ptr, st1_ptr, st0_ptr); return; }
st0_ptr1716drivers/FPU-emu/fpu_trig.c{ real_2op_NaN(st0_ptr, st1_ptr, st0_ptr); return; }
st0_ptr35drivers/FPU-emu/load_store.c#define pop_0()  { st0_ptr->tag = TW_Empty; top++; }
st0_ptr67drivers/FPU-emu/load_store.cFPU_REG *st0_ptr;
st0_ptr69drivers/FPU-emu/load_store.cst0_ptr = NULL;    /* Initialized just to stop compiler warnings. */
st0_ptr94drivers/FPU-emu/load_store.cst0_ptr = &st(0);       /* Some of these instructions pop after
st0_ptr99drivers/FPU-emu/load_store.cst0_ptr = &st(-1);
st0_ptr100drivers/FPU-emu/load_store.cif ( st0_ptr->tag != TW_Empty )
st0_ptr126drivers/FPU-emu/load_store.creg_move(&loaded_data, st0_ptr);
st0_ptr130drivers/FPU-emu/load_store.creg_load_int32((long *)data_address, st0_ptr);
st0_ptr141drivers/FPU-emu/load_store.creg_move(&loaded_data, st0_ptr);
st0_ptr145drivers/FPU-emu/load_store.creg_load_int16((short *)data_address, st0_ptr);
st0_ptr149drivers/FPU-emu/load_store.creg_store_single((float *)data_address, st0_ptr);
st0_ptr153drivers/FPU-emu/load_store.creg_store_int32((long *)data_address, st0_ptr);
st0_ptr157drivers/FPU-emu/load_store.creg_store_double((double *)data_address, st0_ptr);
st0_ptr161drivers/FPU-emu/load_store.creg_store_int16((short *)data_address, st0_ptr);
st0_ptr165drivers/FPU-emu/load_store.cif ( reg_store_single((float *)data_address, st0_ptr) )
st0_ptr171drivers/FPU-emu/load_store.cif ( reg_store_int32((long *)data_address, st0_ptr) )
st0_ptr177drivers/FPU-emu/load_store.cif ( reg_store_double((double *)data_address, st0_ptr) )
st0_ptr183drivers/FPU-emu/load_store.cif ( reg_store_int16((short *)data_address, st0_ptr) )
st0_ptr199drivers/FPU-emu/load_store.creg_load_bcd((char *)data_address, st0_ptr);
st0_ptr216drivers/FPU-emu/load_store.creg_load_extended((long double *)data_address, st0_ptr);
st0_ptr220drivers/FPU-emu/load_store.creg_load_int64((long long *)data_address, st0_ptr);
st0_ptr230drivers/FPU-emu/load_store.cif ( reg_store_bcd((char *)data_address, st0_ptr) )
st0_ptr242drivers/FPU-emu/load_store.cif ( reg_store_extended((long double *)data_address, st0_ptr) )
st0_ptr254drivers/FPU-emu/load_store.cif ( reg_store_int64((long long *)data_address, st0_ptr) )
st0_ptr28drivers/FPU-emu/reg_compare.cFPU_REG      *st0_ptr;
st0_ptr30drivers/FPU-emu/reg_compare.cst0_ptr = &st(0);
st0_ptr31drivers/FPU-emu/reg_compare.cst0_tag = st0_ptr->tag;
st0_ptr52drivers/FPU-emu/reg_compare.creturn ((st0_ptr->sign == SIGN_POS) ? COMP_A_gt_B
st0_ptr55drivers/FPU-emu/reg_compare.c| ((st0_ptr->exp <= EXP_UNDER )
st0_ptr66drivers/FPU-emu/reg_compare.creturn ((st0_ptr->sign == SIGN_POS) ? COMP_A_gt_B
st0_ptr77drivers/FPU-emu/reg_compare.creturn (st0_ptr->sign == b->sign) ? COMP_A_eq_B :
st0_ptr78drivers/FPU-emu/reg_compare.c((st0_ptr->sign == SIGN_POS) ? COMP_A_gt_B : COMP_A_lt_B);
st0_ptr89drivers/FPU-emu/reg_compare.c&& (st0_ptr->exp <= EXP_UNDER)) ?
st0_ptr101drivers/FPU-emu/reg_compare.cif ( ((st0_tag == TW_NaN) && !(st0_ptr->sigh & 0x40000000))
st0_ptr114drivers/FPU-emu/reg_compare.cif (!(st0_ptr->sigh & 0x80000000)) EXCEPTION(EX_Invalid);
st0_ptr119drivers/FPU-emu/reg_compare.cif (st0_ptr->sign != b->sign)
st0_ptr121drivers/FPU-emu/reg_compare.creturn ((st0_ptr->sign == SIGN_POS) ? COMP_A_gt_B : COMP_A_lt_B)
st0_ptr124drivers/FPU-emu/reg_compare.c( ((st0_ptr->exp <= EXP_UNDER) || (b->exp <= EXP_UNDER)) ?
st0_ptr130drivers/FPU-emu/reg_compare.cdiff = st0_ptr->exp - b->exp;
st0_ptr133drivers/FPU-emu/reg_compare.cdiff = st0_ptr->sigh - b->sigh;  /* Works only if ms bits are
st0_ptr137drivers/FPU-emu/reg_compare.cdiff = st0_ptr->sigl > b->sigl;
st0_ptr139drivers/FPU-emu/reg_compare.cdiff = -(st0_ptr->sigl < b->sigl);
st0_ptr145drivers/FPU-emu/reg_compare.creturn ((st0_ptr->sign == SIGN_POS) ? COMP_A_gt_B : COMP_A_lt_B)
st0_ptr148drivers/FPU-emu/reg_compare.c( ((st0_ptr->exp <= EXP_UNDER) || (b->exp <= EXP_UNDER)) ?
st0_ptr155drivers/FPU-emu/reg_compare.creturn ((st0_ptr->sign == SIGN_POS) ? COMP_A_lt_B : COMP_A_gt_B)
st0_ptr158drivers/FPU-emu/reg_compare.c( ((st0_ptr->exp <= EXP_UNDER) || (b->exp <= EXP_UNDER)) ?
st0_ptr167drivers/FPU-emu/reg_compare.c( ((st0_ptr->exp <= EXP_UNDER) || (b->exp <= EXP_UNDER)) ?
st0_ptr423drivers/FPU-emu/reg_ld_str.cint reg_store_extended(long double *d, FPU_REG *st0_ptr)
st0_ptr431drivers/FPU-emu/reg_ld_str.cif ( st0_ptr->tag != TW_Empty )
st0_ptr436drivers/FPU-emu/reg_ld_str.cwrite_to_extended(st0_ptr, (char *) d);
st0_ptr461drivers/FPU-emu/reg_ld_str.cint reg_store_double(double *dfloat, FPU_REG *st0_ptr)
st0_ptr465drivers/FPU-emu/reg_ld_str.cchar st0_tag = st0_ptr->tag;
st0_ptr472drivers/FPU-emu/reg_ld_str.creg_move(st0_ptr, &tmp);
st0_ptr483drivers/FPU-emu/reg_ld_str.cif ( st0_ptr->exp <= EXP_UNDER )
st0_ptr501drivers/FPU-emu/reg_ld_str.c(st0_ptr->sigl & 0x000007ff)) )
st0_ptr612drivers/FPU-emu/reg_ld_str.cl[0] = (st0_ptr->sigl >> 11) | (st0_ptr->sigh << 21);
st0_ptr613drivers/FPU-emu/reg_ld_str.cl[1] = ((st0_ptr->sigh >> 11) & 0xfffff);
st0_ptr614drivers/FPU-emu/reg_ld_str.cif ( !(st0_ptr->sigh & 0x40000000) )
st0_ptr642drivers/FPU-emu/reg_ld_str.cif ( st0_ptr->sign )
st0_ptr656drivers/FPU-emu/reg_ld_str.cint reg_store_single(float *single, FPU_REG *st0_ptr)
st0_ptr660drivers/FPU-emu/reg_ld_str.cchar st0_tag = st0_ptr->tag;
st0_ptr667drivers/FPU-emu/reg_ld_str.creg_move(st0_ptr, &tmp);
st0_ptr678drivers/FPU-emu/reg_ld_str.cif ( st0_ptr->exp <= EXP_UNDER )
st0_ptr696drivers/FPU-emu/reg_ld_str.c((st0_ptr->sigh & 0x000000ff) || st0_ptr->sigl)) )
st0_ptr797drivers/FPU-emu/reg_ld_str.ctempl = st0_ptr->sigh >> 8;
st0_ptr798drivers/FPU-emu/reg_ld_str.cif ( !(st0_ptr->sigh & 0x40000000) )
st0_ptr832drivers/FPU-emu/reg_ld_str.cif (st0_ptr->sign)
st0_ptr845drivers/FPU-emu/reg_ld_str.cint reg_store_int64(long long *d, FPU_REG *st0_ptr)
st0_ptr850drivers/FPU-emu/reg_ld_str.cchar st0_tag = st0_ptr->tag;
st0_ptr865drivers/FPU-emu/reg_ld_str.creg_move(st0_ptr, &t);
st0_ptr904drivers/FPU-emu/reg_ld_str.cint reg_store_int32(long *d, FPU_REG *st0_ptr)
st0_ptr908drivers/FPU-emu/reg_ld_str.cchar st0_tag = st0_ptr->tag;
st0_ptr923drivers/FPU-emu/reg_ld_str.creg_move(st0_ptr, &t);
st0_ptr958drivers/FPU-emu/reg_ld_str.cint reg_store_int16(short *d, FPU_REG *st0_ptr)
st0_ptr962drivers/FPU-emu/reg_ld_str.cchar st0_tag = st0_ptr->tag;
st0_ptr977drivers/FPU-emu/reg_ld_str.creg_move(st0_ptr, &t);
st0_ptr1012drivers/FPU-emu/reg_ld_str.cint reg_store_bcd(char *d, FPU_REG *st0_ptr)
st0_ptr1018drivers/FPU-emu/reg_ld_str.cunsigned char sign = (st0_ptr->sign == SIGN_NEG) ? 0x80 : 0;
st0_ptr1019drivers/FPU-emu/reg_ld_str.cchar st0_tag = st0_ptr->tag;
st0_ptr1028drivers/FPU-emu/reg_ld_str.creg_move(st0_ptr, &t);