Function report |
Source Code:arch\x86\kernel\fpu\regset.c |
Create Date:2022-07-28 07:49:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:twd_fxsr_to_i387
Proto:static inline unsigned int twd_fxsr_to_i387(struct fxregs_state *fxsave)
Type:unsigned int
Parameter:
Type | Parameter | Name |
---|---|---|
struct fxregs_state * | fxsave |
189 | tos = Status Word >> 11 & 7 |
192 | ret = 0xffff0000u |
196 | If twd & 0x1 Then |
197 | st = FPREG_ADDR(fxsave, (i - tos) & 7) |
200 | Case & == 0x7fff |
201 | tag = FP_EXP_TAG_SPECIAL |
202 | Break |
203 | Case & == 0x0000 |
204 | If Not significand[0] && Not significand[1] && Not significand[2] && Not significand[3] Then tag = FP_EXP_TAG_ZERO |
209 | Else tag = FP_EXP_TAG_SPECIAL |
211 | Break |
212 | Default |
213 | If significand[3] & 0x8000 Then tag = FP_EXP_TAG_VALID |
215 | Else tag = FP_EXP_TAG_SPECIAL |
217 | Break |
219 | Else |
220 | tag = FP_EXP_TAG_EMPTY |
224 | Return ret |
Name | Describe |
---|---|
convert_from_fxsr | FXSR floating point environment conversions. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |