Article View: comp.arch
Article #651Re: vector length CSR?
From: Michael S
Date: Wed, 11 Nov 2026 22:14
Date: Wed, 11 Nov 2026 22:14
39 lines
3253 bytes
3253 bytes
On Wed, 11 Nov 2026 09:37:08 GMT anton@mips.complang.tuwien.ac.at (Anton Ertl) wrote: > Stefan Monnier <monnier@iro.umontreal.ca> writes: > >> My impression is that VVM can only do what memory-to-memory vector > >> machines could do, but does not have a good story for those tasks > >> where the vector/SIMD registers are used several times. > > > >Presumably caches could be used to get comparable results. > > Let's take Zen6 (because its capabilities have just been reported on > <https://chipsandcheese.com/p/amds-zen-6-family-feeding-the-beast>): > > It can do 2 512-bit FMAs per cycle, each consuming 3 512-bit inputs > and generating 1 512-bit output, and, e.g. matrix multiplication can > get a good utilization from these units. > > So in the worst case, if you need all the inputs from caches and > outputs to caches, you would need to be able to perform 6 512-bit > loads and 2 512-bit stores per cycle. The actual Zen6 can perform 2 > 512-bit loads and (?) 1 512-bit store per cycle (and it's unclear from > the graphics whether the 2 loads and 1 store can happen in the same > cycle). > > It may be possible to reduce the number of needed load or store ports > a little for matrix multiplication in VVM, e.g., by computing the sum > of several multiplications before storing, and/or by performing > multiplications of a vector with a scalar (SAXPY-style). Fortunately, > matrix multiplication provides lots of freedoms in rearranging the > computation. Nevertheless, I would be surprised if one could achieve > the same FPU/LSU ratio with VVM as one can achieve with AVX-512. > > - anton I will be impressed if (for matmul) Mitch demonstrates 1/3rd of performance per clock of server-grade Intel's or Zen5 AMD. Especially for single precision.
Technical Details
Message-ID:
<20261112001405.00001daa@yahoo.com>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!.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> <jwvcxscpyy4.fsf-monnier+comp.arch@gnu.org> <2026Nov11.103708@mips.complang.tuwien.ac.at>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!.POSTED!not-for-mail From: Michael S <already5chosen@yahoo.com> Newsgroups: comp.arch Subject: Re: vector length CSR? Date: Thu, 12 Nov 2026 00:14:05 +0200 Organization: A noiseless patient Spider Lines: 39 Message-ID: <20261112001405.00001daa@yahoo.com> 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> <jwvcxscpyy4.fsf-monnier+comp.arch@gnu.org> <2026Nov11.103708@mips.complang.tuwien.ac.at> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Wed, 11 Nov 2026 22:14:05 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3545253"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/WIvYEsBqnsQdzb9TnQxz1o0mcYC+ggFA="; posting-host="fdb3323538060b3f5e6e96467d5f44d8" Cancel-Lock: sha1:1OzWD34tju0U0eyj1ZljjXMqtHI= sha256:OpSjHPNLiEF6U7xaz5ASKYh2DLeiYl0PdAFipzFLLRc= sha1:4QPGuaaOD6trhHS53cNOn681zDk= sha256:jdC8dNYnOT1DMiqaK7K9YiJIU6sLJ6zK1+ggaiE4s48= X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)