On Thu, Apr 8, 2010 at 1:07 PM, Philip Brown <[email protected]> wrote: > Sooo.. I found a problem with "libffi". > It contains the following evil, buried in the middle of a function call: > > /* Flush the Icache. FIXME: alignment isn't certain, assume 8 bytes */ > > asm volatile ("iflush %0" : : "r" (closure) : "memory"); > asm volatile ("iflush %0" : : "r" (((char *) closure) + 8) : "memory"); > > > Does anyone have any idea how to convert this mess into something that > will be Sun CC compatible? >
found the answer mesself. turns out, sun cc (12 or better) actually does support this sort of thing.. but ONLY if you turn optimization on. Even -xO1 will do. _______________________________________________ maintainers mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/maintainers .:: This mailing list's archive is public. ::.
