runtime: fix floating point exception on Plan 9
runtime: fix floating point exception on Plan 9

Change 5660047 moved an FLDCW instruction
that disables invalid operand traps into
runtime?asminit, which is called from
runtime?mstart. Thus, runtime?check is being
called prior to setting the appropriate control bits,
which on any QNaN comparison will cause Plan 9
to take an invalid operand trap. This change loads
the control bits (for Plan 9) prior to runtime?check.
Ideally, this should be done before the QNaN checks
on any system, but possibly other kernels simply
don't ever trap on invalid operands.

R=golang-dev, rminnich
CC=golang-dev, john, rsc
http://codereview.appspot.com/5939045

Committer: Russ Cox <5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org>

bryanxu/go-zh,rflanagan/reginaldflanagan-project1,mhennings/marcohennings-go,d0f/go-zh,sanjosh/sanjos100-tipc,sanjosh/sanjos100-tipc,rflanagan/reginaldflanagan-project1,webfd/go-zh,glycerine/jeaten-go-arrayof-structof,scirelli/scirelli-go,d0f/go-zh,d0f/go-zh,Triskite/willstone-goclone,webfd/go-zh,webfd/go-zh,sanjosh/sanjos100-tipc,rdp/rogerpack2005-golang,Triskite/willstone-goclone,glycerine/jeaten-go-arrayof-structof,bryanxu/go-zh,bryanxu/go-zh,rflanagan/reginaldflanagan-project1,sanjosh/sanjos100-tipc,rflanagan/reginaldflanagan-project1,webfd/go-zh,sanjosh/sanjos100-tipc,d0f/go-zh,rflanagan/reginaldflanagan-project1,rdp/rogerpack2005-golang,rdp/rogerpack2005-golang,scirelli/scirelli-go,scirelli/scirelli-go,sanjosh/sanjos100-tipc,bryanxu/go-zh,Triskite/willstone-goclone,rflanagan/reginaldflanagan-project1,rdp/rogerpack2005-golang,glycerine/jeaten-go-arrayof-structof,d0f/go-zh,Triskite/willstone-goclone,mhennings/marcohennings-go,d0f/go-zh,rdp/rogerpack2005-golang,d0f/go-zh,scirelli/scirelli-go,glycerine/jeaten-go-arrayof-structof,mhennings/marcohennings-go,sanjosh/sanjos100-tipc,scirelli/scirelli-go,glycerine/jeaten-go-arrayof-structof,rdp/rogerpack2005-golang,webfd/go-zh,Triskite/willstone-goclone,bryanxu/go-zh,bryanxu/go-zh,Triskite/willstone-goclone,rdp/rogerpack2005-golang,bryanxu/go-zh,bryanxu/go-zh,sanjosh/sanjos100-tipc,Triskite/willstone-goclone,mhennings/marcohennings-go,scirelli/scirelli-go,scirelli/scirelli-go,d0f/go-zh,Triskite/willstone-goclone,mhennings/marcohennings-go,glycerine/jeaten-go-arrayof-structof,mhennings/marcohennings-go,glycerine/jeaten-go-arrayof-structof,glycerine/jeaten-go-arrayof-structof,scirelli/scirelli-go,mhennings/marcohennings-go,webfd/go-zh,rflanagan/reginaldflanagan-project1,mhennings/marcohennings-go,webfd/go-zh,rdp/rogerpack2005-golang,rflanagan/reginaldflanagan-project1,webfd/go-zh