From 0ca15640ad0151cc099e699712e3c67fe9c365f4 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 22 Jun 2022 15:53:33 +0100 Subject: [PATCH] add BM2 Form for (DRAFT) bmask instruction --- openpower/isatables/fields.text | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/openpower/isatables/fields.text b/openpower/isatables/fields.text index 250816f3..1c71ffce 100644 --- a/openpower/isatables/fields.text +++ b/openpower/isatables/fields.text @@ -10,6 +10,10 @@ |0 |6 |10 |15 |22 |23 |31| | PO | RS | me | sh | me | XO |Rc| +# 1.6.2.2 BM2-FORM + |0 |6 |11 |16 |21 |26 |27 31| + | PO | RT | RA | RB |bm |L | XO | + # 1.6.2.1 CRB-FORM |0 |6 |9 |12 |15 |18 |21 |29 |31 | | PO | BF | BFA| BFB| BFC| msk| TLI | XO |msk| @@ -384,6 +388,9 @@ Field used to specify a bit in the CR to be tested by a Branch Conditional instruction. Formats: B, XL + bm (21:25) + Field used to specify the Bit-mask Mode for bmask + Formats: BM2 BO (6:10) Field used to specify options for the Branch Condi- tional instructions. The encoding is described in @@ -574,6 +581,9 @@ metic Instructions') to choose the random number format. Formats: X + L (26) + Field used to specify whether mask-in occurs in bmask + Formats: BM2 L (31) Field used to specify whether the grevlut instruction updates the whole GPR or the first half. @@ -684,11 +694,11 @@ RA (11:15) Field used to specify a GPR to be used as a source or as a target. - Formats: A, D, DQ, DQE, DS, M, MD, MDS, TX, VA, VA2, VX, X, XO, XS, SVL, XB + Formats: A, BM2, D, DQ, DQE, DS, M, MD, MDS, TX, VA, VA2, VX, X, XO, XS, SVL, XB RB (16:20) Field used to specify a GPR to be used as a source. - Formats: A, M, MDS, VA, VA2, X, XO + Formats: A, BM2, M, MDS, VA, VA2, X, XO Rc (21) RECORD bit. 0 Do not alter the Condition Register. @@ -732,7 +742,7 @@ Formats: DS, X RT (6:10) Field used to specify a GPR to be used as a target. - Formats: A, D, DQE, DS, DX, VA, VA2, VX, X, XFX, XO, XX2, SVL, XB + Formats: A, BM2, D, DQE, DS, DX, VA, VA2, VX, X, XFX, XO, XX2, SVL, XB RTp (6:10) Field used to specify an even/odd pair of GPRs to be concatenated and used as a target. @@ -986,6 +996,9 @@ XO (27:30) Extended opcode field. Formats: MDS + XO (27:31) + Extended opcode field. + Formats: BM2 XO (29:31) Extended opcode field. Formats: DQ, TLI -- 2.30.2