geoff-codes
Joined 12 years ago
Joined 12 years ago
https://github.com/vhf/free-programming-books/blob/master/fr...
https://github.com/ligurio/free-software-testing-books/blob/...
etc.
The crux of the article is:
> ...one last gap remains in the middle of this stack of system exclusivity: Apple licenses the instruction set architecture for its mobile devices from ARM.
But Apple already not only designs the own SoCs independently already, they regularly add their own opcodes to the ARM instruction sets they license, as they see fit.
The alternative to not licensing from ARM, even if they "invented their own ISA", would be to pay an exorbitant sum in royalties to ARM and every other patent-holder whose technology they might dare use in their chip. So paying ARM for their technology in one go just makes the most economical/legal sense.
But I believe we're (hypothetically) talking about ARM, not x86, code.
They do indeed support LLVM IR target(s) that are, in fact, much more architecturally-nonspecific than PNaCl, namely the spir[64]-unknown-unknown target. See https://github.com/KhronosGroup/SPIR and /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/openclc (on a Mac, since 10.7).
I don't know if bitcode with this target triple is necessarily suitable for the Apple Watch, however.