From 03b9b19914b76202f2fdef9d691e6cee78ee2d1a Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 13 Aug 2019 09:52:51 +0100 Subject: [PATCH] add new swizzle table format --- simple_v_extension/specification/mv.x.rst | 2 +- simple_v_extension/swizzle_table_format.mdwn | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 simple_v_extension/swizzle_table_format.mdwn diff --git a/simple_v_extension/specification/mv.x.rst b/simple_v_extension/specification/mv.x.rst index 02f6d6a8c..1c81b7ca2 100644 --- a/simple_v_extension/specification/mv.x.rst +++ b/simple_v_extension/specification/mv.x.rst @@ -22,7 +22,7 @@ swizzle (only active on SV or P48/P64 when SUBVL!=0): +-----+-----+-----+-----+ | 7:6 | 5:4 | 3:2 | 1:0 | +-----+-----+-----+-----+ -| w | y | z | z | +| w | z | y | x | +-----+-----+-----+-----+ ---- diff --git a/simple_v_extension/swizzle_table_format.mdwn b/simple_v_extension/swizzle_table_format.mdwn new file mode 100644 index 000000000..d41521e7a --- /dev/null +++ b/simple_v_extension/swizzle_table_format.mdwn @@ -0,0 +1,14 @@ +Swizzle format: + +| 7:6 | 5:4 | 3:2 | 1:0 | +| --- | --- | --- | --- | +| w | z | y | x | + +16 bit format: + +| SwzCAM | (15..13) | (12..8) | (7..0)| +| ------ | - | - | ----- | +| 0 | rsvd0 | regidx0 | swiz0 | +| 1 | rsvd1 | regidx1 | swiz1 | +| 2 | rsvd2 | regidx2 | swiz2 | +| 3 | rsvd3 | regidx3 | swiz3 | -- 2.30.2