🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.forth
Article #33

Re: Pairwise dot product

#33
From: Paul Rubin
Date: Thu, 08 Oct 2026 20:40
9 lines
1596 bytes
anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
> With FMA instructions V* executes fewer instructions (6 per iteration
> instead of 7), but more cycles (4 per iteration instead of 3).  My
> explanation is that the FMA instruction has 4 cycles of latency on
> Zen4, while fadd has 3 cycles of latency.

1. I wonder if FMA is faster on Intel chips.

2. A version using AVX intrinsics would be interesting to compare.
Technical Details
Message-ID: <87ld882afn.fsf@nightsong.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <2026Oct8.175513@mips.complang.tuwien.ac.at>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Paul Rubin <no.email@nospam.invalid>
Newsgroups: comp.lang.forth
Subject: Re: Pairwise dot product
Date: Thu, 08 Oct 2026 13:40:12 -0700
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <87ld882afn.fsf@nightsong.com>
References: <2026Oct8.175513@mips.complang.tuwien.ac.at>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Thu, 08 Oct 2026 20:40:13 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="217110"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX191JJIJkAW9jfNkWNONDgV6"; posting-host="51422b6d0ee0f539c9421223f14ae41c"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:/HSZ6+oGV89ELbNTDux5DM5KcQ8=
	sha1:UaRa/i+VOeqEeFsxZ9l0vfogrkA= sha256:wgwovGL+KxCbtByayIeqjVPiDqMIO30sDyhPHDqm+Xg=
	sha1:gx9lZmN7Cv8EK6beqEZkXqoGF8M= sha256:bXrZ0upJmIUUNeuWMEuLFhHipfExSC+CFdbczQ6v95o=