Article View: comp.arch
Article #730Re: vector length CSR?
From: MitchAlsup
Date: Sat, 14 Nov 2026 19:07
Date: Sat, 14 Nov 2026 19:07
40 lines
2963 bytes
2963 bytes
Thomas Koenig <tkoenig@netcologne.de> posted:
> MitchAlsup <user5857@newsgrouper.org.invalid> schrieb:
> > Thomas Koenig <tkoenig@netcologne.de> posted:
> >
> >> Stephen Fuld <sfuld@alumni.cmu.edu.invalid> schrieb:
> >> > On 11/11/2026 10:53 PM, Thomas Koenig wrote:
> >> >> Stephen Fuld <sfuld@alumni.cmu.edu.invalid> schrieb:
> >> >>
> >> >>> It seems the
> >> >>> advantage of an SIMD approach is the large set of addressable registers
> >> >>> that can be used to keep data readily available for future use.
> >> >>
> >> >> Plus, you can do wide permutes, and it can also help with reduction.
> >> >> Having mask for reducing operations also helps (or a length field).
> >> >>
> >> >> There is one other thing that VVM does not do natively: Reductions
> >> >> on commutative operators.
> >> >
> >> > When we talked about reductions on VVM in a thread some months ago, I
> >> > thought Mitch said that VVM could parallelize such reductions, including
> >> > handling an array size that was not a multiple of the number of
> >> > functional units used (i.e. the degree of parallelism), and combining
> >> > the partial sums at the end. As I have said, I am not a hardware guy
> >> > but that sounded impressive and I don't know how he does that.
> >>
> >> I don't see this in the manuals, at least. Mitch, did I miss it?
> >
> > The augend input to FMAC has a special feed-forward mechanism
> > {µArchitectural}
> >
> > I may have to do something special when running 4-wide.
>
>
> So, in order to do efficient reductions, the vectorized VVM
> loops will also have to be unrolled, with a final horizontal
> reduction step (like I wrote above).
I think not. I may need to build a reduction summer and recognize
the pattern from asm code.
Technical Details
Message-ID:
<1794683256-5857@newsgrouper.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.POSTED!not-for-mailReferences:
<11cpqih$acf5$1@dont-email.me> <sgu0flpndaqltpdbft40fghmi7vk78q2hs@4ax.com> <11cq2v7$dh5b$1@dont-email.me> <8jk1fl182pskj3fsmp4ju6qf420pgl0htg@4ax.com> <11csull$1ef6e$1@dont-email.me> <2026Nov9.230104@mips.complang.tuwien.ac.at> <11cvcr4$28k7g$1@dont-email.me> <11d3npt$3mmho$1@dont-email.me> <11d5vi0$gnso$1@dont-email.me> <11d6e74$kfhb$1@dont-email.me> <1794616038-5857@newsgrouper.org> <11d9pot$1vnpp$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.POSTED!not-for-mail From: MitchAlsup <user5857@newsgrouper.org.invalid> Newsgroups: comp.arch Subject: Re: vector length CSR? References: <11cpqih$acf5$1@dont-email.me> <sgu0flpndaqltpdbft40fghmi7vk78q2hs@4ax.com> <11cq2v7$dh5b$1@dont-email.me> <8jk1fl182pskj3fsmp4ju6qf420pgl0htg@4ax.com> <11csull$1ef6e$1@dont-email.me> <2026Nov9.230104@mips.complang.tuwien.ac.at> <11cvcr4$28k7g$1@dont-email.me> <11d3npt$3mmho$1@dont-email.me> <11d5vi0$gnso$1@dont-email.me> <11d6e74$kfhb$1@dont-email.me> <1794616038-5857@newsgrouper.org> <11d9pot$1vnpp$1@dont-email.me> Date: Sat, 14 Nov 2026 19:07:36 GMT Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: <1794683256-5857@newsgrouper.org> Injection-Info: newsgrouper.org; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user5857 Injection-Date: Sat, 14 Nov 2026 19:07:36 GMT User-Agent: Newsgrouper/0.9.0