gallivm: clear Altivec NJ bit
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Thu, 22 Nov 2012 17:55:35 +0000 (11:55 -0600)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 29 Nov 2012 11:52:05 +0000 (11:52 +0000)
commit29ba79b2c929ea23b45fa065fe7c9f8fd400210c
tree692985c24488e536a0fdaeacc9ca05898119ef74
parent43ce9efdbf8c8e1200fe54744820ca2523f36e6b
gallivm: clear Altivec NJ bit

This patch enforces the clear of NJ bit in VSCR Altivec register so
denormal numbers are handles as expected by IEEE standards.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_init.c