[Libre-soc-isa] [Bug 685] Implement XLEN-ification for BCD instructions in base OpenPower ISA

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Sep 7 08:09:31 BST 2021


https://bugs.libre-soc.org/show_bug.cgi?id=685

--- Comment #2 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Jacob Lifshay from comment #1)
> the old test suite didn't support checking if invalid BCD inputs converted
> correctly.

The old test suite uses reference code based on matching against a table that
goes from 000 to 999, so the reference code will fail if the input is something
like 0xA7E since that isn't in the table. Pia uses the boolean expressions from
the OpenPower spec, so can handle all binary input values.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libre-SOC-ISA mailing list