Deutsch English Français Italiano |
<v07rkp$1h6fk$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feeds.phibee-telecom.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.arch Subject: Re: Short Vectors Versus Long Vectors Date: Tue, 23 Apr 2024 08:31:21 -0000 (UTC) Organization: A noiseless patient Spider Lines: 17 Message-ID: <v07rkp$1h6fk$1@dont-email.me> References: <v06vdb$17r2v$1@dont-email.me> <5451dcac941e1f569397a5cc7818f68f@www.novabbs.org> <v078td$1df76$4@dont-email.me> <2024Apr23.082238@mips.complang.tuwien.ac.at> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 23 Apr 2024 10:31:22 +0200 (CEST) Injection-Info: dont-email.me; posting-host="e762e53ec9e8808879f7618c3ddfda81"; logging-data="1612276"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX188gN0iI8p9dYYvG8FSzAaM" User-Agent: Pan/0.155 (Kherson; fc5a80b8) Cancel-Lock: sha1:w1GzB5o/dCvk22sT+tv5Jb74QRc= Bytes: 1816 On Tue, 23 Apr 2024 06:22:38 GMT, Anton Ertl wrote: > So what's the benefit of using vector/SIMD instructions at all rather > than doing it with scalar code? On the original Cray machines, I read somewhere the benefit of using the vector versions over the scalar ones was a net positive for a vector length as low as 2. > If your OoO capabilities are limited (and I think > they are on the Cray machines), you cannot start the second iteration of > the doall loop before the processing step of the first iteration has > finished with the register. How would out-of-order execution help, anyway, given all the operations on the vector elements are supposed to be identical? Unless it’s just greater parallelism.