Skip to content

A simple test to measure runtime characteristics of accessing memory without proper word alignment.

License

Notifications You must be signed in to change notification settings

gavingolden/Unaligned-Memory-Access

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A simple test to measure runtime characteristics of accessing memory without proper word alignment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages