Re: [native-client-discuss] porting libjpeg turbo ?

127 views
Skip to first unread message

Victor Khimenko

unread,
Jun 7, 2012, 11:31:18 AM6/7/12
to native-cli...@googlegroups.com

On Thu, Jun 7, 2012 at 11:00 AM, christophe herreman <christoph...@barco.com> wrote:
Can someone give an update on the support for MMX, SSE, SSE2, and NEON SIMD ?

MMX, SSE, SSE2 are supported in NaCl (but not in pNaCl!), not sure about NEON. You'll probably need to manually change the asm to satisfy SFI requirements. GCC intrinsics should be usable, but not rigorously tested.
 
I'm considering trying to port libjpeg turbo.

Thanks,
christophe

P.S. IA32 SFI is simple: indirect jumps are forbidden including ret (you'll need to use naclcall/nacljmp) and the rest is handled by i686-nacl-as. x86-64 SFI is pretty complex, there are separate document for it: http://www.chromium.org/nativeclient/design-documents/nacl-sfi-model-on-x86-64-systems. Again, bundles are  handled by x86_64-nacl-as, but everything else is your resposibility.

Reply all
Reply to author
Forward
0 new messages