]> git.sesse.net Git - qscale/commitdiff
Add a memory clobber, for good measure.
authorsgunderson@bigfoot.com <>
Sun, 3 Feb 2008 19:20:06 +0000 (20:20 +0100)
committersgunderson@bigfoot.com <>
Sun, 3 Feb 2008 19:20:06 +0000 (20:20 +0100)
qscale.c

index 8dafced51c5f49ef7802d4748cbd0ab615721c4b..0f9598f32a29de1fed6b8ba694802a4dae1810a1 100644 (file)
--- a/qscale.c
+++ b/qscale.c
@@ -129,7 +129,7 @@ void hscale(float *pix, unsigned char *npix, unsigned w, unsigned h, unsigned nw
                                  "r" ((pd[x].end - pd[x].start + 1)/4),
                                  "m" (low),
                                  "m" (high)
-                               : "xmm1", "xmm2"
+                               : "memory", "xmm1", "xmm2"
                        );
 
 #if 0