[libre-riscv-dev] [Bug 279] inconsistency in 3.0B spec on definition of "equivalence" operator
bugzilla-daemon at libre-riscv.org
bugzilla-daemon at libre-riscv.org
Sun Apr 5 05:19:43 BST 2020
http://bugs.libre-riscv.org/show_bug.cgi?id=279
Jacob Lifshay <programmerjake at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |programmerjake at gmail.com
--- Comment #1 from Jacob Lifshay <programmerjake at gmail.com> ---
In my opinion, both == and XNOR (as well as != and XOR) can be used to denote
the same operation, but with two different ways of thinking about it:
1. XNOR/XOR used when flipping bits, (carry-less) adding, LFSRs, etc.
2. ==/!= used when checking for same/different values.
So pick which one you use based on how you are thinking about it, perhaps with
a note about being the same as the other operator when relevant.
Jacob
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-riscv-dev
mailing list