2009-03-16 19:35:02

by Siarhei Siamashka

[permalink] [raw]
Subject: [PATCH] sbc: ensure 16-byte buffer position alignment for 4 subbands encoding

Hello,

Buffer position in X array was not always 16-bytes aligned. Strict 16-byte
alignment is strictly required for powerpc altivec simd optimizations because
altivec does not have support for unaligned vector loads at all.

--
Best regards,
Siarhei Siamashka


Attachments:
(No filename) (264.00 B)
0003-sbc-ensure-16-byte-buffer-position-alignment-for-4.patch (1.74 kB)
Download all attachments

2009-03-14 06:17:33

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] sbc: ensure 16-byte buffer position alignment for 4 subbands encoding

Hi Siarhei,

> Buffer position in X array was not always 16-bytes aligned. Strict 16-byte
> alignment is strictly required for powerpc altivec simd optimizations because
> altivec does not have support for unaligned vector loads at all.

patch has been applied. Thanks.

Regards

Marcel