This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[spu-4_5-branch][Patch,committed] Support SPU software i-cache


Hello,

This patch adds support for the SPU software i-cache.

Preparing the code for the software i-cache technique consists of a
static preprocessing stage which is done by the compiler and linker.
The compiler first partitions the code into sections which are later
constructed into cache lines by the linker. (Alan Modra inserts the
i-cache linker support into GNU spu-ld)
At execution time, the software i-cache manger loads cache
blocks on demand and evicts blocks when necessary.  (for more
details on a similar software i-cache implementation please see -
http://portal.acm.org/citation.cfm?id=1168894)

The patch is built on top of the maximum section size patch (and uses it).
The SPU ABI changes it follows are not approved yet.
It was tested on x86 and CELL SPU.

Thanks,
Revital

(See attached file: patch_icache_17_12.txt)

Attachment: patch_icache_17_12.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]