intel/aubinator: Add a get_offset helper
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 18 Nov 2016 19:30:50 +0000 (11:30 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 29 Nov 2016 00:45:09 +0000 (16:45 -0800)
commit89bb515e915bbdf4f3b7b55f7cc228423131ca25
tree54729dab4ca660126b475a41a3f9ceccf7c1ae8e
parent318cf3ffa430d29b50237e3a9817621d8d8dd0bc
intel/aubinator: Add a get_offset helper

The helper automatically handles masking for us so we don't have to worry
about whether or not something is in the bottom bits.

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/intel/tools/aubinator.c