diff options
author | Jeff Muizelaar <jmuizelaar@mozilla.com> | 2008-12-05 12:01:03 -0500 |
---|---|---|
committer | Jeff Muizelaar <jmuizelaar@mozilla.com> | 2008-12-05 12:01:03 -0500 |
commit | 4546234c18f5bb5e2d193d2fa8ff5c3ca78bc716 (patch) | |
tree | 8fc5c5322861c7101ae7d92a03405ca8fb0da751 | |
parent | 985829f26b15aaa3e336127412c771027577313f (diff) |
[arm-simd] Add a comment about aligning source and destination pointers.
-rw-r--r-- | pixman/pixman-arm-simd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pixman/pixman-arm-simd.c b/pixman/pixman-arm-simd.c index f595325..ceef1a8 100644 --- a/pixman/pixman-arm-simd.c +++ b/pixman/pixman-arm-simd.c @@ -60,6 +60,8 @@ fbCompositeSrcAdd_8000x8000arm (pixman_op_t op, srcLine += srcStride; w = width; + /* ensure both src and dst are properly aligned before doing 32 bit reads + * we'll stay in this loop if src and dst have differing alignments */ while (w && (((unsigned long)dst & 3) || ((unsigned long)src & 3))) { s = *src; |