From 7ee2e3ce6397349bebccb5fb32a4d69f50a490f6 Mon Sep 17 00:00:00 2001 From: lkcl Date: Sun, 13 Dec 2020 16:48:32 +0000 Subject: [PATCH] --- openpower/sv/mv.swizzle.mdwn | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/openpower/sv/mv.swizzle.mdwn b/openpower/sv/mv.swizzle.mdwn index 6e32b849c..f3e08191e 100644 --- a/openpower/sv/mv.swizzle.mdwn +++ b/openpower/sv/mv.swizzle.mdwn @@ -7,12 +7,10 @@ TODO: evaluate whether this will fit with [[mv.vec]] | 0..5 |6..10|11..15|16.20|21.....25|26.....30|31| name | |------|-----|------|-----|---------|---------|--|----------| | 19 | RT | RA | | XO[0:4] | XO[5:9] |Rc| XL-Form | -| 19 | RT | RA |imm | imm | iNNNN |im| mv.swiz | -| 19 | RT | RA |imm | imm | iNNNN |im| fmv.swiz | +| 19 | RT | RA |imm | imm | 01 M im |0 | mv.swiz | +| 19 | RT | RA |imm | imm | 01 M im |1 | fmv.swiz | -also f.mv - -this gives an 11 bit immediate across bits 16 to 26 and bit 31. a permutation based encoding should allow the 12 bits to be covered +this gives a 12 bit immediate across bits 16 to 25 and 29-30. * 3 bits X * 3 bits Y @@ -28,3 +26,5 @@ except that the options are: * 0b011 is not needed. Evaluating efforts to encode 12 bit swizzle into less proved unsuccessful: 7^4 wcomes out to 2,400 which is larger than 11 bits + +Mode M is described in [[mv.vec]] -- 2.30.2