Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are armv8 and arm64 the same?

In xcode which is the developement environment for iOS. When creating a new project. Build settings states that it supports armv7, armv7s and arm64 architectures.

The following chart shows apple devices architectures: enter image description here

armv8 not mentioned anywhere. Does that mean armv8 and arm64 is the same thing?

I wonna use the following binary: http://www.libjpeg-turbo.org/Documentation/OfficialBinaries

It says that version 1.5.1 of this binary supports armv8 architecture. That also indicates that armv8 and arm64 are the same thing.

Another question but about the binary. Does the link indicates that its safe to use the 1.5.1 version for iOS?

like image 640
hasan Avatar asked Dec 11 '16 22:12

hasan


2 Answers

No, the ARMv8-A instruction set (armv8) can also exist on 32-bit architecture, although I'm not aware of one example. So technically you can differentiate between them, like done in docker:

  • ARMv5 32-bit (arm32v5): https://hub.docker.com/u/arm32v5/

  • ARMv6 32-bit (arm32v6): https://hub.docker.com/u/arm32v6/ (alias armel)

  • ARMv7 32-bit (arm32v7): https://hub.docker.com/u/arm32v7/ (alias armhf)

  • ARMv8 64-bit (arm64v8): https://hub.docker.com/u/arm64v8/ (alias arm64)

  • ARMv8 32-bit (arm32v8): https://hub.docker.com/u/arm32v8/ and isn't supported and therefore has no packages.

like image 144
User Rebo Avatar answered Sep 18 '22 17:09

User Rebo


Oh, ambiguous terminology - "architecture" in this context doesn't actually mean architecture in the sense of the ISA or system architecture laid down by ARM, what it really means is "iOS target", i.e. a particular system configuration and level of ISA support:

  • "armv7" represents a certain configuration of the ARMv7-A architecture.
  • "armv7s" represents a slightly different configuration of the ARMv7-A architecture, with more optional features present over the base "armv7" target.
  • "arm64" represents the AArch64 state of the ARMv8-A architecture; there is no "armv8" target.
like image 30
Notlikethat Avatar answered Sep 20 '22 17:09

Notlikethat