From: lkcl Date: Wed, 9 Oct 2019 18:34:22 +0000 (+0100) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~3861 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79f8b9716a0bda97550375b3629e7bf7cf12db20;p=libreriscv.git --- diff --git a/simple_v_extension/specification/mv.x.rst b/simple_v_extension/specification/mv.x.rst index 5976f7586..4ff6dba0f 100644 --- a/simple_v_extension/specification/mv.x.rst +++ b/simple_v_extension/specification/mv.x.rst @@ -243,10 +243,9 @@ note how for [f]swizzle, rs3 == rs1 so it uses 5 funct3 values overall, which is appropriate, since swizzle is probably right after muladd in usage in graphics shaders. -Alternative +Alternative immed encoding - -+--------+----+-----------+----------+-------+-------+------+ ++--------+-----------+----------+-------+-------+------+ | int/fp | 31:28 | 27:20 | 19:15 | 14:12 | 11:7 | +========+===========+==========+=======+=======+======+ | int | DESTMASK | selector | rs | 000 | rd | @@ -258,6 +257,9 @@ Alternative | fp | DESTMASK | constsel | rs | 011 | rd | +--------+-----------+----------+-------+-------+------+ +Allows setting of arbitrary dest (xz, yw) without needing register-versions. Saves on instruction count. +Needs 4 funct3 to express. + Matrix 4x4 Vector mul =====================