[gdk-pixbuf/gdk-pixbuf-2-24] Use /**/ comments in assembler sources
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf/gdk-pixbuf-2-24] Use /**/ comments in assembler sources
- Date: Fri, 16 Dec 2011 20:59:15 +0000 (UTC)
commit 74b8bfbc1e04f7de17a2e9900327ae45ef2ae2c7
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Dec 16 15:57:29 2011 -0500
Use /**/ comments in assembler sources
This was causing problems on NetBSD.
Patch by Havard Eidnes, bug 640405
gdk-pixbuf/pixops/composite_line_22_4a4_mmx.S | 4 ++--
gdk-pixbuf/pixops/have_mmx.S | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gdk-pixbuf/pixops/composite_line_22_4a4_mmx.S b/gdk-pixbuf/pixops/composite_line_22_4a4_mmx.S
index 232bddf..dac0022 100644
--- a/gdk-pixbuf/pixops/composite_line_22_4a4_mmx.S
+++ b/gdk-pixbuf/pixops/composite_line_22_4a4_mmx.S
@@ -189,8 +189,8 @@ __pixops_composite_line_22_4a4_mmx:
shll $2, %edx
-# %mm4 will always be already clear here
-# pxor %mm4, %mm4
+/* # %mm4 will always be already clear here */
+/* # pxor %mm4, %mm4 */
movl 16(%ebp),%edi
movl (%edi, %edx), %eax
diff --git a/gdk-pixbuf/pixops/have_mmx.S b/gdk-pixbuf/pixops/have_mmx.S
index eb72678..e455539 100644
--- a/gdk-pixbuf/pixops/have_mmx.S
+++ b/gdk-pixbuf/pixops/have_mmx.S
@@ -42,7 +42,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
@@ -57,7 +57,7 @@ __pixops_have_mmx:
je .notfound
-# OK, we have CPUID
+/* # OK, we have CPUID */
movl $1, %eax
cpuid
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]