StackOverflow Questions for Tag: memory-alignment

greenlagoon
greenlagoon

Reputation: 111

How page alignment & page borders affect performance when traversing & reading objects

Score: 0

Views: 74

Answers: 0

Read More
MandoMando
MandoMando

Reputation: 5505

Why does the compiler init this variable to the wrong value? Is this an alignment issue?

Score: 5

Views: 610

Answers: 3

Read More
gitman-2021
gitman-2021

Reputation: 41

How calculate, aligned, offset, and count, for, linux's, direct, storage io, through `O_DIRECT`

Score: 1

Views: 149

Answers: 1

Read More
Simon
Simon

Reputation: 818

Aligned dynamic array and smart pointer

Score: 13

Views: 3080

Answers: 2

Read More
Marco
Marco

Reputation: 9097

What does memory aligning a function to 32 do?

Score: 2

Views: 111

Answers: 0

Read More
user51462
user51462

Reputation: 2022

Definition of `max_align_t`

Score: 1

Views: 131

Answers: 1

Read More
Anon
Anon

Reputation: 175

Incorrect `cast-align` warnings on GCC and Clang even with `__attribute__((aligned))`

Score: 2

Views: 113

Answers: 1

Read More
Fyodor
Fyodor

Reputation: 185

Segmentation fault when access mapped memory

Score: 0

Views: 55

Answers: 1

Read More
Naaff
Naaff

Reputation: 9333

Compelling examples of custom C++ allocators?

Score: 221

Views: 139354

Answers: 19

Read More
Tracy
Tracy

Reputation: 1998

access a mis-aligned structure member

Score: 3

Views: 1924

Answers: 4

Read More
X1ngChui
X1ngChui

Reputation: 91

Avoid warning in minimum alignment declaration

Score: -2

Views: 36

Answers: 0

Read More
timlyo
timlyo

Reputation: 2364

Why is integer assignment on a naturally aligned variable atomic on x86?

Score: 62

Views: 15436

Answers: 5

Read More
alexpanter
alexpanter

Reputation: 1578

C++ aligned new[]

Score: 12

Views: 15968

Answers: 2

Read More
Demi
Demi

Reputation: 3611

Does AArch64 support unaligned access?

Score: 14

Views: 12562

Answers: 1

Read More
Tall
Tall

Reputation: 119

How the binary code space alignment influence the runtime efficiency?

Score: 1

Views: 66

Answers: 0

Read More

C++ Compiler Alignment - Just chars no padding

Score: 1

Views: 231

Answers: 1

Read More
effbiae
effbiae

Reputation: 1157

clang misaligns stack and then tries a vmovaps in _start written as a C function

Score: 0

Views: 55

Answers: 1

Read More
Daniel
Daniel

Reputation: 299

Memory Alignment warning with gcc

Score: 3

Views: 1038

Answers: 3

Read More
Gavriil Pascalau
Gavriil Pascalau

Reputation: 171

How to emulate ARM unaligned memory access exceptions?

Score: 4

Views: 2057

Answers: 1

Read More
uray
uray

Reputation: 11562

which size of struct member alignment in VC bring performance benefit?

Score: 0

Views: 780

Answers: 2

Read More
PreviousPage 1Next