Add a system-wide BIT_N macro, implemented via an LUT on SH, and use it in the TAGCAC...
commitce7828225a56d5fe972dad0f7a61dd03b8208bbe
authorunhelpful <unhelpful@a1c6a512-1295-4272-9138-f99709370657>
Sat, 6 Jun 2009 00:00:58 +0000 (6 00:00 +0000)
committerunhelpful <unhelpful@a1c6a512-1295-4272-9138-f99709370657>
Sat, 6 Jun 2009 00:00:58 +0000 (6 00:00 +0000)
tree22f58338387ae6ac662e43fe83ef60105f97d627
parent2469de3062afac37a48bc3afb77818d8cc06b8ae
Add a system-wide BIT_N macro, implemented via an LUT on SH, and use it in the TAGCACHE_IS_* macros in place of per-set LUTs, removing duplication of data between those LUTs and the mask values used on other targets.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21195 a1c6a512-1295-4272-9138-f99709370657
apps/tagcache.c
apps/tagcache.h
firmware/export/system.h
firmware/target/sh/system-sh.c
firmware/target/sh/system-target.h