smt2: Treat bweqx as xnor

Without x-bits they are equivalent
This commit is contained in:
Jannis Harder 2022-12-21 14:22:10 +01:00
parent 62afe61779
commit 673ad561b8
1 changed files with 1 additions and 0 deletions

View File

@ -640,6 +640,7 @@ struct Smt2Worker
if (cell->type == ID($xor)) return export_bvop(cell, "(bvxor A B)");
if (cell->type == ID($xnor)) return export_bvop(cell, "(bvxnor A B)");
if (cell->type == ID($bweqx)) return export_bvop(cell, "(bvxnor A B)", 'U');
if (cell->type == ID($bwmux)) return export_bvop(cell, "(bvor (bvand A (bvnot S)) (bvand B S))", 'U');
if (cell->type == ID($shl)) return export_bvop(cell, "(bvshl A B)", 's');