diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-11-21 01:17:26 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-11-21 18:00:48 -0600 |
| commit | 7f20f4493ef1938f0ea8e86dc16f5c058fe7e4f3 (patch) | |
| tree | 8068225a7068da4702e144e4ff588573c16e2b36 /rtl/gfx/gfx_sp_decode.sv | |
| parent | de9a1bf57f6a6c70aef36da4eea024b44fe87470 (diff) | |
rtl/gfx: implement shuffler
Diffstat (limited to '')
| -rw-r--r-- | rtl/gfx/gfx_sp_decode.sv | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/rtl/gfx/gfx_sp_decode.sv b/rtl/gfx/gfx_sp_decode.sv index d24c608..41ce438 100644 --- a/rtl/gfx/gfx_sp_decode.sv +++ b/rtl/gfx/gfx_sp_decode.sv @@ -51,8 +51,8 @@ module gfx_sp_decode deco_in.ex.combiner = 0; deco_in.ex.shuffler = 0; - deco_in.shuffler.is_imm = 1'bx; deco_in.shuffler.is_swizzle = 1'bx; + deco_in.shuffler.is_broadcast = 1'bx; unique casez (insn) `GFX_INSN_OP_SELECT: begin @@ -61,8 +61,8 @@ module gfx_sp_decode deco_in.read_src_b = 1; deco_in.ex.shuffler = 1; - deco_in.shuffler.is_imm = 0; deco_in.shuffler.is_swizzle = 0; + deco_in.shuffler.is_broadcast = 0; end `GFX_INSN_OP_SWIZZL: begin @@ -70,7 +70,6 @@ module gfx_sp_decode deco_in.read_src_a = 1; deco_in.ex.shuffler = 1; - deco_in.shuffler.is_imm = 0; deco_in.shuffler.is_swizzle = 1; end @@ -78,8 +77,8 @@ module gfx_sp_decode deco_in.writeback = 1; deco_in.ex.shuffler = 1; - deco_in.shuffler.is_imm = 1; deco_in.shuffler.is_swizzle = 0; + deco_in.shuffler.is_broadcast = 1; end `GFX_INSN_OP_MATVEC: begin |
