Home
last modified time | relevance | path

Searched refs:regnr (Results 1 – 5 of 5) sorted by relevance

/arch/x86/math-emu/
Dfpu_tags.c33 int FPU_gettag(int regnr) in FPU_gettag() argument
35 return (fpu_tag_word >> ((regnr & 7) * 2)) & 3; in FPU_gettag()
40 int regnr = top; in FPU_settag0() local
41 regnr &= 7; in FPU_settag0()
42 fpu_tag_word &= ~(3 << (regnr * 2)); in FPU_settag0()
43 fpu_tag_word |= (tag & 3) << (regnr * 2); in FPU_settag0()
48 int regnr = stnr + top; in FPU_settagi() local
49 regnr &= 7; in FPU_settagi()
50 fpu_tag_word &= ~(3 << (regnr * 2)); in FPU_settagi()
51 fpu_tag_word |= (tag & 3) << (regnr * 2); in FPU_settagi()
[all …]
Dfpu_aux.c136 int regnr = top & 7, regnri = ((regnr + i) & 7); in fxch_i() local
137 u_char st0_tag = (tag_word >> (regnr * 2)) & 3; in fxch_i()
167 tag_word &= ~(3 << (regnr * 2)) & ~(3 << (regnri * 2)); in fxch_i()
168 tag_word |= (sti_tag << (regnr * 2)) | (st0_tag << (regnri * 2)); in fxch_i()
Dfpu_entry.c688 int offset, other, i, tags, regnr, tag, newtop; in fpregs_soft_set() local
717 regnr = (i + newtop) & 7; in fpregs_soft_set()
718 if (((tags >> ((regnr & 7) * 2)) & 3) != TAG_Empty) { in fpregs_soft_set()
722 10 * regnr)); in fpregs_soft_set()
723 tags &= ~(3 << (regnr * 2)); in fpregs_soft_set()
724 tags |= (tag & 3) << (regnr * 2); in fpregs_soft_set()
Dfpu_proto.h61 extern int FPU_gettag(int regnr);
64 extern void FPU_settag(int regnr, int tag);
Dreg_ld_str.c1121 int i, regnr; in frstor() local
1134 regnr = (i + top) & 7; in frstor()
1135 if (FPU_gettag(regnr) != TAG_Empty) in frstor()
1137 FPU_settag(regnr, FPU_tagof(&st(i))); in frstor()