From fdbcc0c107831fab87a7a2a968bc73ba0575ec88 Mon Sep 17 00:00:00 2001
From: Spencer Alves <1307275+impiaaa@users.noreply.github.com>
Date: Sat, 11 Jun 2022 13:06:57 -0700
Subject: [PATCH] Rename "outer product" to "cross product"
Add a note to mention the old name
---
docs/geometrytransformationenginegte.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/geometrytransformationenginegte.md b/docs/geometrytransformationenginegte.md
index 4f239ec..d1825ae 100644
--- a/docs/geometrytransformationenginegte.md
+++ b/docs/geometrytransformationenginegte.md
@@ -313,7 +313,7 @@ FFFF8900h (negative 16bit).
0xh - N/A
06h NCLIP 8 Normal clipping
0xh - N/A
- 0Ch OP(sf) 6 Outer product of 2 vectors
+ 0Ch OP(sf) 6 Cross product of 2 vectors
0xh - N/A
10h DPCS 8 Depth Cueing single
11h INTPL 8 Interpolation of a vector and far color vector
@@ -374,7 +374,7 @@ sorted by their fake numbers gives a more or less well arranged list:
14h NCLIP 8 Normal clipping
15h AVSZ3 5 Average of three Z values
16h AVSZ4 6 Average of four Z values
- 17h OP(sf) 6 Outer product of 2 vectors
+ 17h OP(sf) 6 Cross product of 2 vectors
18h - N/A
19h GPF(sf)5 General purpose interpolation
1Ah GPL(sf)5 General purpose interpolation with base
@@ -488,14 +488,14 @@ matrix (with elements -60h, +60h, IR0, RT13, RT13, RT13, RT22, RT22, RT22).
Calculates the square of a vector. The result is, of course, always positive,
so the "lm" flag for negative saturation has no effect.
-#### COP2 170000Ch+sf\*80000h - 6 Cycles - OP(sf,lm) - Outer product of 2 vectors
+#### COP2 170000Ch+sf\*80000h - 6 Cycles - OP(sf,lm) - Cross product of 2 vectors
```
[MAC1,MAC2,MAC3] = [IR3*D2-IR2*D3, IR1*D3-IR3*D1, IR2*D1-IR1*D2] SAR (sf*12)
[IR1,IR2,IR3] = [MAC1,MAC2,MAC3] ;copy result
```
-Calculates the outer product of two signed 16bit vectors. Note: D1,D2,D3 are
+Calculates the cross product of two signed 16bit vectors. Note: D1,D2,D3 are
meant to be the RT11,RT22,RT33 elements of the RT matrix "misused" as vector.
-lm should be usually zero.
+lm should be usually zero. The mnemonic refers to "outer product."
#### LZCS/LZCR registers - ? Cycles - Count-Leading-Zeroes/Leading-Ones
The LZCS/LZCR registers offer a Count-Leading-Zeroes/Leading-Ones function.