How can one use the ARMv6 Optimized OpenMAX DL Libraries with the iPhone

Question!

There are assembly language libraries for the ARM for doing signal processing and other good stuff called "OpenMAX DL for ARM11 processor family".

When you download the library from the ARM site, it contains .s assembly files. How can these be compiled with Xcode and called from Objective-C for the iPhone? There are examples of inline assembly but I can't find info on using .s assembly files.

By : Zaph0d42


Answers

In short, you can compile assembly file using X-code. Just add the assembly files *.s to the projects and build the project. The assembly file is gets assembled and linked.

Don't forget to include needed *.h files in your code and then call as normal function.

You can read more details here: http://www.iphonedevsdk.com/forum/iphone-sdk-tools-utilities/16804-calling-assembly-functions-c.html


Edit: there are much MACROses in ARMv6-optimized OpenMAX libraries, and maybe some of them are RealView-specific. So they can compile in X-code or can not compile. Maybe this is your problem.

By : zxcat


For IE running in compatibility node (i.e. like older versions of IE), your empty

<span class="news_item_title"></span>

at the end of each news item seems to render differently between IE and FF. Do you really need it there?

If it's IE8 you're specifically worried about, force it into standards mode by adding the relevant meta tag to your pages:

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />

That makes the page render almost identically to FF, apart from your top ad being aligned differently.

By : Xiaofu


the difference between ie and ff in padding and margin act, play with it in '.news_item' class

By : Haim Evgi


This video can help you solving your question :)
By: admin