blob: 30ccef1640b4f7d510a9b976b35a309a5f113eff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
$NetBSD: patch-ai,v 1.2 2009/01/20 21:27:51 sketch Exp $
--- gdk-pixbuf/pixops/have_mmx.S.orig Wed Jan 23 00:37:47 2002
+++ gdk-pixbuf/pixops/have_mmx.S Tue Jan 20 21:21:54 2009
@@ -3,6 +3,9 @@
gcc2_compiled.:
.text
.align 16
+#ifdef __INTERIX
+#define pixops_have_mmx _pixops_have_mmx
+#endif
.globl pixops_have_mmx
.type pixops_have_mmx,@function
@@ -9,7 +12,7 @@
pixops_have_mmx:
push %ebx
-# Check if bit 21 in flags word is writeable
+/* Check if bit 21 in flags word is writeable */
pushfl
popl %eax
@@ -24,7 +27,7 @@
je .notfound
-# OK, we have CPUID
+/* OK, we have CPUID */
movl $1, %eax
cpuid
|