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]

Re: [Patch] 1/3 Add new builtin __builtin_flush_icache().



1) Rename the new builtin to __builtin_clear_cache (char *beg , char *end), and have it call the function in libgcc if there is not an inline expansion for it?

(And use libgcc's prototype). This would be the cleanest.


This, plus, try to see how __clear_cache could use the definition of the builtin.

Paolo


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