mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 12:28:07 +02:00
fix reported 3Dnow bug in _mesa_normal_tab (Felix Kuhling)
This commit is contained in:
parent
5c31f8678b
commit
4c3bb69a94
1 changed files with 4 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: 3dnow_normal.S,v 1.4 2003/01/28 22:41:18 brianp Exp $ */
|
||||
/* $Id: 3dnow_normal.S,v 1.5 2003/01/30 14:30:24 brianp Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
|
|
@ -732,14 +732,14 @@ LLBL (G3N_norm2): /* need to calculate lengths */
|
|||
|
||||
PREFETCHW ( REGIND(EAX) )
|
||||
|
||||
MOVQ ( MM0, MM3 ) /* x1 | x0 */
|
||||
ADD_L ( STRIDE, ECX ) /* next normal */
|
||||
|
||||
PREFETCH ( REGIND(ECX) )
|
||||
|
||||
MOVQ ( REGIND(ECX), MM0 ) /* x1 | x0 */
|
||||
MOVD ( REGOFF(8, ECX), MM1 ) /* | x2 */
|
||||
|
||||
MOVQ ( MM0, MM3 ) /* x1 | x0 */
|
||||
ADD_L ( STRIDE, ECX ) /* next normal */
|
||||
|
||||
PFMUL ( MM0, MM3 ) /* x1*x1 | x0*x0 */
|
||||
MOVQ ( MM1, MM4 ) /* | x2 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue