Searched refs:flagno (Results 1 – 3 of 3) sorted by relevance
81 UInt fp_get_statusword_flag ( UInt flagno ) in fp_get_statusword_flag() argument83 assert(!(flagno < 0 || flagno > 15)); in fp_get_statusword_flag()84 return (m_fpu_state.env[FP_ENV_STAT] >> flagno) & 0x1; in fp_get_statusword_flag()87 UInt fp_get_controlword_flag ( UInt flagno ) in fp_get_controlword_flag() argument89 assert(!(flagno < 0 || flagno > 15)); in fp_get_controlword_flag()90 return (m_fpu_state.env[FP_ENV_CTRL] >> flagno) & 0x1; in fp_get_controlword_flag()
210 UInt fp_get_statusword_flag ( Fpu_State* x87, UInt flagno ) in fp_get_statusword_flag() argument212 assert(!(flagno < 0 || flagno > 15)); in fp_get_statusword_flag()213 return (x87->env[FP_ENV_STAT] >> flagno) & 0x1; in fp_get_statusword_flag()216 UInt fp_get_controlword_flag ( Fpu_State* x87, UInt flagno ) in fp_get_controlword_flag() argument218 assert(!(flagno < 0 || flagno > 15)); in fp_get_controlword_flag()219 return (x87->env[FP_ENV_CTRL] >> flagno) & 0x1; in fp_get_controlword_flag()
214 UInt fp_get_statusword_flag ( UInt flagno ) in fp_get_statusword_flag() argument216 if (flagno < 0 || flagno > 15) panic("fp_get_statusword_flag"); in fp_get_statusword_flag()217 return (m_fpu_state.env[FP_ENV_STAT] >> flagno) & 0x1; in fp_get_statusword_flag()222 UInt fp_get_controlword_flag ( UInt flagno ) in fp_get_controlword_flag() argument224 if (flagno < 0 || flagno > 15) panic("fp_get_controlword_flag"); in fp_get_controlword_flag()225 return (m_fpu_state.env[FP_ENV_CTRL] >> flagno) & 0x1; in fp_get_controlword_flag()231 void fp_set_statusword_flag_to ( UInt flagno, UInt bit ) in fp_set_statusword_flag_to() argument233 if (flagno < 0 || flagno > 15) panic("fp_set_statusword_flag_to"); in fp_set_statusword_flag_to()235 m_fpu_state.env[FP_ENV_STAT] |= (1 << flagno); in fp_set_statusword_flag_to()237 m_fpu_state.env[FP_ENV_STAT] &= ~(1 << flagno); in fp_set_statusword_flag_to()