About gcc cache_invalidate function

M

Msim

Hi
I was studying the GCC specific functions for pipeline implementation. I
came across a function,"cache_invalidate" function. I am stumbled at this
function since no references are availabe.
Can any one please tell me how this function is called and what is the
purpose of this function.
Can any one provide pointers to this?

It will be a great help to me

Regards
Mark
 
D

dandelion

Msim said:
Hi
I was studying the GCC specific functions for pipeline implementation.

Checkout http://gcc.gnu.org

You'll fnd a couple of mailing lists there. Your question will more likely
find a good answer there than here, since it's specific to *one*
implementation (as opposed to the abstract specification).

HTH

dandelion.
 
M

Mark A. Odell

I was studying the GCC specific functions for pipeline implementation. I
came across a function,"cache_invalidate" function. I am stumbled at
this function since no references are availabe.

Since C doesn't deal with caches we don't discuss this sort of thing here.
I suggest you try a gnu.gcc.* newsgroup instead since comp.lang.c is here
to discuss ISO C, not extensions to C.
Can any one please tell me how this function is called and what is the
purpose of this function.

<OT>
One would invalidate an instruction cache after writing new instructions
to a location in memory (as in self-modifying code). Then, when the CPU
begins fetching the new instructions it won't find a stale version in the
I-cache. </OT>
 

Ask a Question

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,154
Messages
2,570,870
Members
47,400
Latest member
FloridaFvt

Latest Threads

Top