From 79f8b9716a0bda97550375b3629e7bf7cf12db20 Mon Sep 17 00:00:00 2001 From: lkcl Date: Wed, 9 Oct 2019 19:34:22 +0100 Subject: [PATCH] --- simple_v_extension/specification/mv.x.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 ===================== -- 2.30.2