Add consteval support for $_ANDNOT_ and $_ORNOT_

This commit is contained in:
Clifford Wolf 2017-08-22 13:04:05 +02:00
parent df3e6e1ec9
commit bce0bb6e43
1 changed files with 4 additions and 0 deletions

View File

@ -322,6 +322,10 @@ struct CellTypes
return const_xor(arg1, arg2, false, false, 1);
if (type == "$_XNOR_")
return const_xnor(arg1, arg2, false, false, 1);
if (type == "$_ANDNOT_")
return const_and(arg1, eval_not(arg2), false, false, 1);
if (type == "$_ORNOT_")
return const_or(arg1, eval_not(arg2), false, false, 1);
log_abort();
}