MOD2_MSB = 0
MOD2_LSB = 1
# when predicate not set: 0=ignore/skip 1=zero
- SZ = 3 # for source
- DZ = 4 # for destination
+ DZ = 3 # for destination
+ SZ = 4 # for source
# reduce mode
REDUCE = 2 # 0=normal predication 1=reduce mode
SVM = 3 # subvector reduce mode 0=independent 1=horizontal
ELS_NORMAL = 2
ELS_FFIRST_PRED = 3
ELS_SAT = 4
+ # BO bits
+ BO_MSB = 2
+ BO_LSB = 4
SVP64MODE_SIZE = 5
# add subfields to use with nmutil.sel
SVP64MODE.MOD2 = [0, 1]
SVP64MODE.CR = [3, 4]
+
+
+# CR sub-fields
+class CRb:
+ LT = 0
+ GT = 1
+ EQ = 2
+ SO = 3
+
+
+CR_SIZE = 4
+
+
+class CR:
+ pass
+
+
+botchify(CRb, CR, CR_SIZE-1)