1. This forum section is a read-only archive which contains old newsgroup posts. If you wish to post a query, please do so in one of our main forum sections (here). This way you will get a faster, better response from the members on Motherboard Point.

Finding out the instruction cache size

Discussion in 'Intel' started by Philipp Pichler, Dec 4, 2008.

  1. Hi all

    I have tried the following example which reads out some information
    about the processor:

    http://www.tepid.org/~weingart/cpuid.c

    The following results I get

    Base-Cache-Desc: 1 page(s) of cache descriptors
    Base-Cache-Desc(0x60): 16K 8-way, 64-byte line, level 1 data cache
    Base-Cache-Desc(0x5B): 64-entry, 4K page data TLB, fully associative
    Base-Cache-Desc(0x51): 128-entry, 4K page instruction TLB, fully associative
    Base-Cache-Desc(0x7D): 2M 8-way, 64-byte line, level 2 unified cache
    Base-Cache-Desc(0x70): 12K-uops 8-way trace cache
    Base-Cache-Desc(0x40): Found EOC indicator!
    Base-PSN: disabled
    Base-Cache-Det: nthr=1, full=0, init=1
    Base-Cache-Det: ppart=1, sline=64, nset=32, pref=64
    Base-Cache-Det: 16KB 8-way 64 byte/line level-1 Data Cache
    Base-Cache-Det: nthr=1, full=0, init=1
    Base-Cache-Det: ppart=2, sline=64, nset=2048, pref=64
    Base-Cache-Det: 2MB 8-way 64 byte/line level-2 Unified Cache

    The problem is, I cant see any information about the instruction cache
    size. Does anyone have a codeexample where I could read out this
    information?

    Many thanks
     
    Philipp Pichler, Dec 4, 2008
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Martin Kochanski

    Instruction cache bug in Pentium III?

    Martin Kochanski, Sep 27, 2003, in forum: Intel
    Replies:
    0
    Views:
    459
    Martin Kochanski
    Sep 27, 2003
  2. Martin Kochanski

    Instruction cache bug in Pentium III?

    Martin Kochanski, Sep 27, 2003, in forum: Intel
    Replies:
    1
    Views:
    490
  3. Martin Maurer
    Replies:
    7
    Views:
    5,988
    divyasijo
    May 10, 2014
  4. damnc
    Replies:
    1
    Views:
    393
    Mark A. Odell
    Dec 2, 2004
  5. Jedi
    Replies:
    1
    Views:
    385
    .:Gbox:.
    Jul 29, 2005
  6. Tim Frink

    Enabling instruction cache

    Tim Frink, Oct 4, 2007, in forum: Embedded
    Replies:
    2
    Views:
    381
    karthikbalaguru
    Oct 16, 2007
  7. karthikbalaguru

    instruction cache or data cache

    karthikbalaguru, Oct 17, 2007, in forum: Embedded
    Replies:
    10
    Views:
    1,267
    Chris Maryan
    Oct 20, 2007
  8. Tim Frink

    Optimizing Instruction Cache

    Tim Frink, Nov 1, 2007, in forum: Embedded
    Replies:
    7
    Views:
    365
Loading...