From bce0bb6e43dbf36d451759f279b6968aada5bec8 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 22 Aug 2017 13:04:05 +0200 Subject: [PATCH] Add consteval support for $_ANDNOT_ and $_ORNOT_ --- kernel/celltypes.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/celltypes.h b/kernel/celltypes.h index b8a4cc74c..9f775cde7 100644 --- a/kernel/celltypes.h +++ b/kernel/celltypes.h @@ -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(); } -- 2.30.2