summaryrefslogtreecommitdiff
path: root/src/amd/compiler/aco_opcodes.py
diff options
context:
space:
mode:
authorRhys Perry <pendingchaos02@gmail.com>2021-01-20 13:50:45 +0000
committerMarge Bot <eric+marge@anholt.net>2021-01-22 14:12:32 +0000
commit441ead5fb35f84dcbaf4724a771ff3475257d400 (patch)
tree132a6d88d589d5c2caa320d4e7d3445a9f5f1443 /src/amd/compiler/aco_opcodes.py
parent925d701014c2ba084061eae131f4b5c75e595f29 (diff)
aco: remove Format::{VOP3A,VOP3B}
These are really the same as Format::VOP3. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8595>
Diffstat (limited to 'src/amd/compiler/aco_opcodes.py')
-rw-r--r--src/amd/compiler/aco_opcodes.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/amd/compiler/aco_opcodes.py b/src/amd/compiler/aco_opcodes.py
index 2a8bc8c4cdc..20f5006c186 100644
--- a/src/amd/compiler/aco_opcodes.py
+++ b/src/amd/compiler/aco_opcodes.py
@@ -53,8 +53,7 @@ class Format(Enum):
VOP1 = 1 << 8
VOP2 = 1 << 9
VOPC = 1 << 10
- VOP3A = 1 << 11
- VOP3B = 1 << 11
+ VOP3 = 1 << 11
VINTRP = 1 << 12
DPP = 1 << 13
SDWA = 1 << 14
@@ -1082,7 +1081,7 @@ VOP3 = {
( -1, -1, -1, -1, 0x140, "v_fma_legacy_f32", True, True), #GFX10.3+
}
for (gfx6, gfx7, gfx8, gfx9, gfx10, name, in_mod, out_mod) in VOP3:
- opcode(name, gfx7, gfx9, gfx10, Format.VOP3A, in_mod, out_mod)
+ opcode(name, gfx7, gfx9, gfx10, Format.VOP3, in_mod, out_mod)
# DS instructions: 3 inputs (1 addr, 2 data), 1 output