19 static void fnop(
void)
23 static void fclex(
void)
36 memset(soft, 0,
sizeof(*soft));
65 static FUNC const finit_table[] = {
75 static void fstsw_ax(
void)
81 static FUNC const fstsw_table[] = {
91 static FUNC const fp_nop_table[] = {
115 reg_copy(&
st(i), st_new_ptr);
136 int regnr =
top & 7, regnri = ((regnr +
i) & 7);
137 u_char st0_tag = (tag_word >> (regnr * 2)) & 3;
138 u_char sti_tag = (tag_word >> (regnri * 2)) & 3;
163 reg_copy(st0_ptr, &t);
164 reg_copy(sti_ptr, st0_ptr);
165 reg_copy(&t, sti_ptr);
167 tag_word &= ~(3 << (regnr * 2)) & ~(3 << (regnri * 2));
168 tag_word |= (sti_tag << (regnr * 2)) | (st0_tag << (regnri * 2));