Home
last modified time | relevance | path

Searched refs:flagno (Results 1 – 3 of 3) sorted by relevance

/external/valgrind/VEX/useful/
Dshow_fp_state.c81 UInt fp_get_statusword_flag ( UInt flagno ) in fp_get_statusword_flag() argument
83 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() argument
89 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()
Dx87_to_vex_and_back.c210 UInt fp_get_statusword_flag ( Fpu_State* x87, UInt flagno ) in fp_get_statusword_flag() argument
212 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() argument
218 assert(!(flagno < 0 || flagno > 15)); in fp_get_controlword_flag()
219 return (x87->env[FP_ENV_CTRL] >> flagno) & 0x1; in fp_get_controlword_flag()
Dhd_fpu.c214 UInt fp_get_statusword_flag ( UInt flagno ) in fp_get_statusword_flag() argument
216 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() argument
224 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() argument
233 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()