[Liboil-commit] liboil/i386
David Schleef
ds at kemper.freedesktop.org
Mon Feb 25 12:06:53 PST 2008
liboil/i386/copy_i386.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
New commits:
commit dbd39644025946a11d659def5b8ae627af8c393b
Author: David Schleef <ds at ginger.bigkitten.com>
Date: Mon Feb 25 12:08:30 2008 -0800
Add ecx to clobbered registers. Fixes #14643
diff --git a/liboil/i386/copy_i386.c b/liboil/i386/copy_i386.c
index e27be26..a48738b 100644
--- a/liboil/i386/copy_i386.c
+++ b/liboil/i386/copy_i386.c
@@ -356,7 +356,8 @@ static void splat_u16_ns_mmx (uint16_t *dest, const uint16_t *src, int n)
" emms\n"
: [dest] "+r" (dest),
[n] "+r" (n)
- : [src] "r" (src));
+ : [src] "r" (src)
+ : "ecx");
}
OIL_DEFINE_IMPL_FULL (splat_u16_ns_mmx, splat_u16_ns, OIL_IMPL_FLAG_MMX);
@@ -382,7 +383,8 @@ static void splat_u16_ns_mmx_2 (uint16_t *dest, const uint16_t *src, int n)
" emms\n"
: [dest] "+r" (dest),
[n] "+r" (n)
- : [src] "r" (src));
+ : [src] "r" (src),
+ : "ecx");
}
OIL_DEFINE_IMPL_FULL (splat_u16_ns_mmx_2, splat_u16_ns, OIL_IMPL_FLAG_MMX);
@@ -410,7 +412,8 @@ static void splat_u16_ns_mmx_3 (uint16_t *dest, const uint16_t *src, int n)
" emms\n"
: [dest] "+r" (dest),
[n] "+r" (n)
- : [src] "r" (src));
+ : [src] "r" (src)
+ : "ecx");
}
OIL_DEFINE_IMPL_FULL (splat_u16_ns_mmx_3, splat_u16_ns, OIL_IMPL_FLAG_MMX);
More information about the Liboil-commit
mailing list