]> Cypherpunks repositories - gostls13.git/commit
runtime: mask SSE exceptions on plan9/amd64
authorAkshat Kumar <seed@mail.nanosouffle.net>
Fri, 5 Oct 2012 20:23:30 +0000 (16:23 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 5 Oct 2012 20:23:30 +0000 (16:23 -0400)
commit23599ca2f6a25aa43c24e24962dcd7616a83d508
treed8e7c1e615e225ca9a494f0df61ddec4856afd26
parent4077819f558bd7020bc6d66da6827ce97ce63b99
runtime: mask SSE exceptions on plan9/amd64

The Go run-time assumes that all SSE floating-point exceptions
are masked so that Go programs are not broken by such invalid
operations. By default, the 64-bit version of the Plan 9 kernel
masks only some SSE floating-point exceptions. Here, we mask
them all on a per-thread basis.

R=rsc, rminnich, minux.ma
CC=golang-dev
https://golang.org/cl/6592056
src/pkg/runtime/os_plan9.h
src/pkg/runtime/sys_plan9_386.s
src/pkg/runtime/sys_plan9_amd64.s
src/pkg/runtime/thread_plan9.c