[csw-maintainers] sparc assembly, gcc vs cc
Philip Brown
phil at bolthole.com
Thu Apr 8 22:07:05 CEST 2010
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?
More information about the maintainers
mailing list