commit | ce11020f0e82dbb18eb59b6f6ce92cc0410b353e | [log] [tgz] |
---|---|---|
author | Xiubo Li <lixiubo@cmss.chinamobile.com> | Mon Jan 04 18:00:35 2016 +0800 |
committer | Mark Brown <broonie@kernel.org> | Sat Feb 20 01:12:32 2016 +0900 |
tree | fd4032d2861d5d06187419cb156cdcb5c47a577b | |
parent | 8b31ec5572f812acac36f3d02944ade76a8f51b9 [diff] |
regcache: flat: Introduce register strider order Here we introduce regcache_flat_get_index(), which using register stride order and bit rotation, will save some memory spaces for flat cache. Though this will also lost some access performance, since the bit rotation is used to get the index of the cache array, and this could be ingored for memory I/O accessing. Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com> Signed-off-by: Mark Brown <broonie@kernel.org>