コード例 #1
0
ファイル: bitsVal.py プロジェクト: saislam/hwt
 def __or__(self, other):
     return bitsBitOp(self, other, AllOps.OR, vld_mask_for_or, tryReduceOr)
コード例 #2
0
ファイル: bitsVal.py プロジェクト: saislam/hwt
 def __and__(self, other):
     return bitsBitOp(self, other, AllOps.AND, vld_mask_for_and,
                      tryReduceAnd)
コード例 #3
0
ファイル: bitsVal.py プロジェクト: saislam/hwt
 def __xor__(self, other):
     return bitsBitOp(self, other, AllOps.XOR, vld_mask_for_xor,
                      tryReduceXor)
コード例 #4
0
ファイル: bitsVal.py プロジェクト: Ben-401/hwt
 def __or__(self, other):
     return bitsBitOp(self, other, AllOps.OR, vldMaskForOr, tryReduceOr)
コード例 #5
0
ファイル: bitsVal.py プロジェクト: Ben-401/hwt
 def __and__(self, other):
     return bitsBitOp(self, other, AllOps.AND, vldMaskForAnd, tryReduceAnd)
コード例 #6
0
ファイル: bitsVal.py プロジェクト: nilintxc/hwt
 def __xor__(self, other):
     return bitsBitOp(self, other, AllOps.XOR, vld_mask_for_xor,
                      tryReduceXor, self._dtype.from_py(0))