[Libre-soc-isa] [Bug 1183] add /mrr mode (reverse mode) to Data-Dependent Fail-First CR_ops and "single looping" to DDFFirst in general

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Dec 7 17:17:30 GMT 2023


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

shriya.sharma at redsemiconductor.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |shriya.sharma at redsemiconduc
                   |                            |tor.com

--- Comment #17 from shriya.sharma at redsemiconductor.com ---
Summary:
Data-dependent fail-on-first  - learnt the concept using the strncpy example.
Gained understanding about control registers and compare function.
strncpy copies the contents of one string to the other. If the count of
characters in string 1 is less than or equal to length of string2, a null
character is not appended to the copied string. However if, count is greater
than the length of string 2, string 1 result is padded with null characters up
to length count.

In the example, we compare contents of CTR (control registers) against 0 and
truncate the vector length if it is equal to zero and store the VL bytes-
update r12 address. When cmpi (compare) fails, we stop. 
To append the remaining bits by 0, we decrease CTR by vector length and stop
when it is equal to 0.

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


More information about the Libre-SOC-ISA mailing list