mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 21:50:32 -04:00
on powerpc64. Tested also on amd64. Hardware sponsored by IntegriCloud. PR: ports/235560 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl>
11 lines
423 B
C
11 lines
423 B
C
--- fec.h.orig 2006-10-13 01:10:53 UTC
|
|
+++ fec.h
|
|
@@ -262,7 +262,7 @@ extern enum cpu_mode {UNKNOWN=0,PORT,MMX,SSE,SSE2,ALTI
|
|
void find_cpu_mode(void); /* Call this once at startup to set Cpu_mode */
|
|
|
|
/* Determine parity of argument: 1 = odd, 0 = even */
|
|
-#ifdef __i386__
|
|
+#ifdef notyet__i386__
|
|
static inline int parityb(unsigned char x){
|
|
__asm__ __volatile__ ("test %1,%1;setpo %0" : "=g"(x) : "r" (x));
|
|
return x;
|