Export (0) Print
Expand All

RISC Processor Data Alignment 

Visual Studio 2005

Alignment of data is an important issue when porting or writing code on some target architectures, especially architectures other than x86.

Depending on the architecture, unaligned operations with primitive data types can cause poor application performance, or can cause your application to fault and terminate abnormally.

This section provides information to help you avoid such pitfalls.

In This Section

About Data Alignment

Describes how data alignment issues impact device programming.
Avoiding Alignment Errors

Provides guidelines for keeping primitive types properly aligned.
Working with Packing Structures

Describes how structure packing interacts with alignment.
__unaligned keyword

Provides reference information about using the __unaligned modifier to deal with alignment issues.

Community Additions

ADD
Show:
© 2014 Microsoft