|
From: Cary R. <cy...@ya...> - 2008-04-22 21:22:09
|
Currently logical OR (||) and AND (&&) are synthesized using other gates (bitwise and hopefully reduction when needed). The problem is this is often done incorrectly when the argument has multiple bit (see pr1948342). The other problem is that this gives us no straight forward path to implement the logical operators for real values. I think it is time for a LAND, LOR and probably a LNOT functor/statement. This is a major rework of the logical operators, but it will allow us to finish the missing logical operators for real values, it will simplify the compiler since we do not need to figure out when to insert reductions and it puts the relevant code in one (well actually two % and functor) places.
Any thoughts/recommendations?
Cary
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
|