Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 808 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 808 Bytes

Unaligned-Memory-Access

This simple program tests runtime characteristics of accessing memory with(out) proper word alignment.

####Tests

  1. Sequential memory access with non-word alignment.
  2. Random access with non-word alignment.

####Usage <program> [, <repetitions>]
Define RANDOM to perform random access test. Else, it defaults to sequential.

####Results -O2 optimizations, repetitions = 1.5 million.

####Note Sequential execution currently fails with -O3 optimizations enabled.