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]

Re: SH4 ic_cache_invalidate code broken


On Jun  4, 2001, Toshi Morita <tm2@best.com> wrote:

>> Index: gcc/ChangeLog
>> from  Alexandre Oliva  <aoliva@redhat.com>
>> 
>> * config/sh/lib1funcs.asm (ic_invalidate): Align the
>> cache-mirroring sequence.  Add nops.

> This code makes an implicit assumption that the thunk fits in 
> exactly one cache line. Is this assumption correct?

According to the SH4 manual, yes.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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