CVS Update: xc (branch: trunk)
Thomas Winischhofer
thomas at winischhofer.net
Fri Oct 29 02:28:55 PDT 2004
Adam Jackson wrote:
> On Wednesday 27 October 2004 10:31, Thomas Winischhofer wrote:
>
>>Log message:
>> SiS driver: Enhanced memcpy() stuff; added optimized memcpy() for AMD64
>> (AMD64 code is entirely untested yet - anybody?)
>
>
> This breaks the build when the driver is built with -fPIC (the default for
> dlloader):
>
> sis_memcpy.c: In function `SiS_builtin_memcp2':
> sis_memcpy.c:400: warning: string length `682' is greater than the length
> `509'ISO C89 compilers are required to support
> sis_memcpy.c: In function `taketime':
> sis_memcpy.c:500: error: PIC register `ebx' clobbered in `asm'
> make[6]: *** [sis_memcpy.o] Error 1
>
> The offending code:
>
> __asm__ volatile (
> " cpuid\n"
> " .byte 0x0f, 0x31\n"
> "=a" (eax)
> "0"(0)
> "ebx", "ecx", "edx", "cc");
>
> - ajax
I had already fixed this here, but was busy trying to find out what
happend woth CVS so I couldn't commit it yet.
Thomas
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> xorg mailing list
> xorg at freedesktop.org
> http://freedesktop.org/mailman/listinfo/xorg
--
Thomas Winischhofer
Vienna/Austria
thomas AT winischhofer DOT net http://www.winischhofer.net/
twini AT xfree86 DOT org
More information about the xorg
mailing list