2004-10-14 21:29:29 +02:00
|
|
|
/*
|
|
|
|
* Put the processor back into a reset state
|
|
|
|
* with respect to the xmm registers.
|
|
|
|
*/
|
2010-04-27 08:56:47 +02:00
|
|
|
|
2004-10-14 21:29:29 +02:00
|
|
|
xorps %xmm0, %xmm0
|
|
|
|
xorps %xmm1, %xmm1
|
|
|
|
xorps %xmm2, %xmm2
|
|
|
|
xorps %xmm3, %xmm3
|
|
|
|
xorps %xmm4, %xmm4
|
|
|
|
xorps %xmm5, %xmm5
|
|
|
|
xorps %xmm6, %xmm6
|
|
|
|
xorps %xmm7, %xmm7
|
|
|
|
|
|
|
|
/* Disable sse instructions */
|
|
|
|
movl %cr4, %eax
|
|
|
|
andl $~(3<<9), %eax
|
|
|
|
movl %eax, %cr4
|