Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about saturation-arithmetic

Read more about saturation-arithmetic

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - saturation-arithmetic

What is the most efficient way to handle integer multiplication overflow with saturation with ARM Neon intrinsics?

I have the following multiplication between 2 16 bit vectors: int16x8_t dx; int16x8_t dy; int16x8_t dxdy = vmulq_s16(dx, dy); In case dx and dy are both large enough, the result will overflow. I woul...
test-img

Elad Maimoni

arm

simd

intrinsics

neon

saturation-arithmetic

Votes: 0

Answers: 1

Latest Answer

Here’s another version. It does pretty much the same as your code, but uses fewer instructions for that, e.g. NEON has widening multiplication. I’m not sure if it’s faster or slower (apparently there’...
test-img

Soonts

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