'what is SSE register, why I cant use float point in printk [error: SSE register return with SSE disabled 59 | printk("cl = [%f] --\n",*a);]
So I have this code that i am getting uint64_t from userspace and casting it to float pointer like this
float *a=kmalloc(10,GFP_KERNEL);
copy_from_user(a,(float *)&temp.a,10);
printk("cl = [%f] [%f] --\n",a[0],*(a+1));
But I am getting error that
c:59:9: error: SSE register return with SSE disabled
59 | printk("cl = [%f] --\n",*a);
What is SSE do I need to disable it if it can be to run my simple code
My machine is x86-64 plus kernel 5.13
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
