Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about fma

Read more about fma

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - fma

Fastest way to multiply and sum/add two arrays (dot product) - unaligned surprisingly faster than FMA

Hi I have the following code: public unsafe class MultiplyAndAdd : IDisposable { float[] rawFirstData = new float[1024]; float[] rawSecondData = new float[1024]; static int alignment = 32...
test-img

Peter

c#

.net-6.0

intrinsics

avx2

fma

Votes: 0

Answers: 1

Latest Answer

Not an answer but a tip for "Fastest way to multiply". Sorry, I don't know how to deal with alignment but you missed the option of casting the array type. It might be faster than picking flo...
test-img

aepot

Terminology: why "floating multiply-add" instead of "fused multiply-add"?

C11 (and newer): 7.12.13 Floating multiply-add IEEE 754-2008: fused multiply add, fusedMultiplyAdd Wikipedia: fused multiply-add Why C11 (and newer) uses "floating multiply-add" instea...
test-img

pmor

c

floating-point

language-lawyer

terminology

fma

Votes: 0

Answers: 1

Latest Answer

This is most likely a mistake from the technical report which introduced these arithmetic operations to the language With some detective work we may dig down to the root source of C11's "Floating...
test-img

dfrib

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved