StackOverflow Questions for Tag: swar

fantasie
fantasie

Reputation: 307

How to perform addition of two vectors of 8-bit integers with a single addition in C/C++

Score: 5

Views: 308

Answers: 4

Read More
CPlus
CPlus

Reputation: 4846

How can I populate an array with multiple copies of a small value with the fewest operations possible?

Score: -2

Views: 129

Answers: 1

Read More
adrianton3
adrianton3

Reputation: 2358

What is the fastest way to add 16 small numbers

Score: 5

Views: 300

Answers: 4

Read More
Umbra
Umbra

Reputation: 123

Add two vectors (uint64_t type) with saturation for each int8_t element

Score: 0

Views: 524

Answers: 4

Read More
CPlus
CPlus

Reputation: 4846

Can packing variables or parameters into structures/unions introduce unforseen performance penalties?

Score: 1

Views: 126

Answers: 1

Read More
user20746246
user20746246

Reputation:

Fastest way to find 16bit match in a 4 element short array?

Score: 1

Views: 338

Answers: 3

Read More
HeapUnderStop
HeapUnderStop

Reputation: 398

Speed up strlen using SWAR in x86-64 assembly

Score: 1

Views: 377

Answers: 1

Read More
HeapUnderStop
HeapUnderStop

Reputation: 398

How to check if a register contains a zero byte without SIMD instructions

Score: 0

Views: 561

Answers: 1

Read More
swineone
swineone

Reputation: 2824

SIMD-within-a-register version of min/max

Score: 13

Views: 772

Answers: 1

Read More
Chayim Friedman
Chayim Friedman

Reputation: 71330

Multiplication of two packed signed integers in one

Score: 5

Views: 579

Answers: 4

Read More
Moonchild
Moonchild

Reputation: 560

Performantly reverse the order of 16-bit quantities within a 64-bit word

Score: 3

Views: 215

Answers: 1

Read More
Vic C
Vic C

Reputation: 11

bit twiddling to right pack bits

Score: 0

Views: 297

Answers: 2

Read More
Gaith
Gaith

Reputation: 828

How does this algorithm to count the number of set bits in a 32-bit integer work?

Score: 25

Views: 8230

Answers: 4

Read More
Koz Ross
Koz Ross

Reputation: 3140

How to implement SWAR unsigned less-than?

Score: 6

Views: 686

Answers: 4

Read More
Koz Ross
Koz Ross

Reputation: 3140

How to write a SWAR comparison which puts 0xFF in a lane on matches?

Score: 1

Views: 369

Answers: 2

Read More
Koz Ross
Koz Ross

Reputation: 3140

SWAR byte counting methods from 'Bit Twiddling Hacks' - why do they work?

Score: 1

Views: 545

Answers: 2

Read More
Doug
Doug

Reputation: 11

Signed INT Conversion of MSB ->LSB and LSB->MSB in C++

Score: 0

Views: 1489

Answers: 2

Read More
sac
sac

Reputation: 1

How 0x01010101 is equivalent to 1<<24 + 1<<16 + 1<<8 + 1

Score: -1

Views: 3037

Answers: 3

Read More
Luke Davis
Luke Davis

Reputation: 163

Can a register hold multiple values at a time?

Score: 4

Views: 2763

Answers: 2

Read More
cam-white
cam-white

Reputation: 710

Subtracting packed 8-bit integers in an 64-bit integer by 1 in parallel, SWAR without hardware SIMD

Score: 80

Views: 6407

Answers: 8

Read More
PreviousPage 1Next