* commit '94d1de561d31013cbe82a4ea980db9931a685e24': Add Silvermont architecture cache sizes
This commit is contained in:
commit
85e5af0890
@ -28,8 +28,15 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|||||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(__slm__)
|
||||||
|
/* Values are optimized for Silvermont */
|
||||||
|
#define SHARED_CACHE_SIZE (1024*1024) /* Silvermont L2 Cache */
|
||||||
|
#define DATA_CACHE_SIZE (24*1024) /* Silvermont L1 Data Cache */
|
||||||
|
#else
|
||||||
/* Values are optimized for Atom */
|
/* Values are optimized for Atom */
|
||||||
#define SHARED_CACHE_SIZE (512*1024) /* Atom L2 Cache */
|
#define SHARED_CACHE_SIZE (512*1024) /* Atom L2 Cache */
|
||||||
#define DATA_CACHE_SIZE (24*1024) /* Atom L1 Data Cache */
|
#define DATA_CACHE_SIZE (24*1024) /* Atom L1 Data Cache */
|
||||||
|
#endif
|
||||||
|
|
||||||
#define SHARED_CACHE_SIZE_HALF (SHARED_CACHE_SIZE / 2)
|
#define SHARED_CACHE_SIZE_HALF (SHARED_CACHE_SIZE / 2)
|
||||||
#define DATA_CACHE_SIZE_HALF (DATA_CACHE_SIZE / 2)
|
#define DATA_CACHE_SIZE_HALF (DATA_CACHE_SIZE / 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user