WojciechMula / ternary-logic

Support for ternary logic in SSE, XOP, AVX2 and x86 programs
Other
30 stars 9 forks source link

Optimize the code 0x68 function #7

Open binhnguyen288-source opened 3 years ago

binhnguyen288-source commented 3 years ago

Change the sequence ((A and (B xor C)) or (not (A) and (B and C))) to a shorter equivalence (((A and B) xor C) and (A or B)).

I can optimize more of the code functions if needed.