Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\fpu\bugs.c Create Date:2022-07-28 07:49:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:This used to check for exceptions

Proto:void __init fpu__init_check_bugs(void)

Type:void

Parameter:Nothing

30  If Not boot_cpu_has(Onboard FPU ) Then Return
33  kernel_fpu_begin()
41  __asm__("fninit\n\tfldl %1\n\tfdivl %2\n\tfmull %2\n\tfldl %1\n\tfsubp %%st,%%st(1)\n\tfistpl %0\n\tfwait\n\tfninit":"=m"(*&fdiv_bug):"m"(*&x), "m"(*&y))
53  kernel_fpu_end()
55  If fdiv_bug Then
56  set_cpu_bug( & common cpu data for all cpus , FPU FDIV )
57  pr_warn("Hmm, FPU with FDIV bug\n")
Caller
NameDescribe
check_bugs