Since some people disapprove of white space cleanups mixed in regular commits
[coreboot.git] / src / cpu / x86 / sse_disable.inc
1         /*
2          * Put the processor back into a reset state
3          * with respect to the xmm registers.
4          */
5
6         xorps %xmm0, %xmm0
7         xorps %xmm1, %xmm1
8         xorps %xmm2, %xmm2
9         xorps %xmm3, %xmm3
10         xorps %xmm4, %xmm4
11         xorps %xmm5, %xmm5
12         xorps %xmm6, %xmm6
13         xorps %xmm7, %xmm7
14
15         /* Disable sse instructions */
16         movl    %cr4, %eax
17         andl    $~(3<<9), %eax
18         movl    %eax, %cr4