Menu

Port ARM optimizations on WinRT devices.

2015-02-15
2015-02-16
  • Dmitriy Shabanov

    It would be great to port iOS ARM optimizations on WinRT devices. Theora is working on Surface 2 device, but it working very slow. I think it can't be so hard because MSVC has complete set of intrincincs for armv7 and NEON instructions. It looks like a "search and replace" job for me and I'll try to make it by myself, but I have completely no experience in arm assembly and it can take a VERY long time. May I ask if someone already done it or planning to do this job?

     
  • Krešimir Špes

    Krešimir Špes - 2015-02-16

    HI Dmitriy,

    If I remember correctly, there was a problem that Microsoft's compiler for WinRT didn't support assembly code at the time. if this changes it can be done.

     
  • Dmitriy Shabanov

    Hi Krešimir

    Yes, you are right, Microsoft removed inline assembly for arm and amd64 targets. But it look like they give us complete replacement. As you can see here (https://msdn.microsoft.com/en-us/library/hh875058.aspx) we have good set of replacement functions for standart instructions and arm_neon.h has the full implementation of neon instructions.
    Anyway as I said before I want to try to replace optimized arm code with these intrincincs step-by-step this week.

     
  • Krešimir Špes

    Krešimir Špes - 2015-02-16

    Cool!

    well if you'd be willing to take the time to do this, that would be awesome :)

     

Log in to post a comment.