[Libre-soc-bugs] [Bug 583] Implement simple VL for-loop in nMigen for TestIssuer
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Sun Feb 14 14:10:34 GMT 2021
https://bugs.libre-soc.org/show_bug.cgi?id=583
--- Comment #37 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
commit 60e753c5b2f9ebe91557ca864dbff77c1559819c (HEAD -> master)
Author: Luke Kenneth Casson Leighton <lkcl at lkcl.net>
Date: Sun Feb 14 14:06:39 2021 +0000
add indicator to PowerDecoder2 when no outputs are Vectorised
--- a/src/soc/decoder/power_decoder2.py
+++ b/src/soc/decoder/power_decoder2.py
@@ -1003,6 +1003,7 @@ class PowerDecode2(PowerDecodeSubset):
self.in3_isvec = Signal(1, name="reg_c_isvec")
self.o_isvec = Signal(1, name="reg_o_isvec")
self.o2_isvec = Signal(1, name="reg_o2_isvec")
+ self.no_out_vec = Signal(1, name="no_out_vec") # no outputs are
vectors
Cesar this is the equivalent of svp64_dest_vector in ISACaller:
https://git.libre-soc.org/?p=soc.git;a=blob;f=src/soc/decoder/isa/caller.py;h=03bf16d2ed98d6746fb6bdbfca2a312db8c9e424;hb=dbb140cd79611e59071d40416cd975f0f524faf2#l966
it can be used to detect that the 0..VL-1 loop should be ended early (scalar
dest). later when predication is added, the loop still continues and the
end-early test only triggers when the dest predicate bit is "1", even on scalar
dest.
(that's how we do VINSERT).
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list