[Libre-soc-dev] All div pipe tests pass

Luke Kenneth Casson Leighton lkcl at lkcl.net
Wed Oct 7 22:37:53 BST 2020


On 10/7/20, Jacob Lifshay <programmerjake at gmail.com> wrote:

> How about instead making a function `undef` that can be used as follows:
>
> def undef(v):
>     """returns a value that is undefined according to the spec, but the
> hardware returns `v`."""
>     return v

> that allows saying that part of the result should be undefined while still
> specifying the value our tests should match (which is not always zero).

do you have / know of examples / cases / instructions where
undefined==0 is not true?

if so we should document them on the wiki.

l.



More information about the Libre-soc-dev mailing list