There appears to be a "__thumb__" define that is set when compiling in
Thumb mode. We could use that to skip the assembly implementation and
fall back to the C++ implementation.

It seems to be possible to mix the normal 32-bit ARM instruction set
with Thumb instructions. I don't know though whether the overhead of the
mode switch does or does not eliminate the performance advantage of the
assembly routine over the C++ version. Also, this will only work if the
compilation is done with support for both instruction sets (-mthumb-
interwork), which is not enabled by default.

http://www.devrs.com/gba/files/asmc.txt

-- 
armel build failure (thumb problem?)
https://bugs.launchpad.net/bugs/635413
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to