x86: initialize XMM registers along with x87
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 19 Apr 2013 18:30:27 +0000 (11:30 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 24 Apr 2013 22:19:09 +0000 (15:19 -0700)
commit7b1a1f39cc9e0c018b7e2738858806da787e863a
tree93af20362712c5379540d3b21415ed15bb6999b5
parent0cced0266f5c2203d5466476218ffdc6b4eecfb9
x86: initialize XMM registers along with x87

In the future (or in RISCV), someone might have an init_fp_state() that
is super-efficient.  If it turns out that manually zeroing the XMM
registers is faster, then we can change the code.  I haven't
microbenchmarked the new way or compared it to 0'ing the 15 XMM
registers + loading the MXCSR yet.
kern/arch/i686/init.c
kern/arch/i686/trap.h