Questions tagged [arm64]

64-bit ARM architecture, also known as AArch64.

The AArch64 ISA was introduced in ARMv8 processors. It features a whole new instruction set, register set, and requires different development tools to the 32-bit ARM ISA.

ARMv8 processors are also capable of running AArch32 instructions (as the old 32-bit ISA is retroactively called), in both ARM and Thumb modes.

Related tags:

Usefull links:

  • ARM a64 instruction set architecture contains very detailed descriptions of each instruction available on this architecture, including encoding, pseudocode and behavior to the architectural state. This includes basic, SIMD and Floating-point instructions. Also contains common aliases.
1858 questions
20
votes
3 answers

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: armv8 not mentioned…
hasan
  • 23,815
  • 10
  • 63
  • 101
20
votes
4 answers

How to update our static library architecture for suporting arm64 Build?

Few days ago i create static-library (Universal) that work's fine with Xcode5.0 SDK7. After Update Xcode5.1 with SDK7.1 that not work if i select simulator iPhone Retina(4-inch 64-bit). Then i am going to update my lib with Bellow setting change. I…
Nitin Gohel
  • 49,482
  • 17
  • 105
  • 144
19
votes
2 answers

mach-o file, but is an incompatible architecture have 'x86_64', need 'arm64e' M1 MAC

from PyQt6.QtWidgets import * from model.Department import Department from view.main_window import Ui_Form from model.Department import Department, Employee class Homewidget(QWidget,Ui_Form): def __init__(self): …
MrAhmed Alhamed
  • 223
  • 2
  • 3
  • 9
19
votes
1 answer

Is it possible for other x86-64 emulators on M1 to leverage the same optimizations used by Rosetta 2?

I am curious about the vastly different performance characteristics of running x86-64 binaries on the Apple M1 platform using Rosetta 2 vs. emulation, for example what Docker Desktop currently does using QEMU. I understand why emulation is so slow,…
NReilingh
  • 1,730
  • 17
  • 32
19
votes
11 answers

Parse API 1.6.4 - cannot build project

I downloaded the new iOS Parse API (1.6.4) and tried to build my project. When I do, I get this error: Undefined symbols for architecture arm64" "_BFTaskMultipleExceptionsException", referenced from: ___53+[PFObject(Private)…
mirap
  • 1,266
  • 12
  • 23
16
votes
2 answers

Forcing 64-bit long doubles?

I'm building musl-libc statically for a project on an aarch64 (ARM 64-bit) platform. I'd like to avoid any soft floating point libraries such as GCC's soft float library routines. However, these are still appearing in the library archives even when…
tonysdg
  • 1,335
  • 11
  • 32
16
votes
2 answers

gcc; arm64; aarch64; unrecognized command line option '-mfpu=neon'

I got compilation error: unrecognized command line option '-mfpu=neon'* when tried to compile with -mfpu=neon flag. Actually, any 'mfpu' options I tried failed. However in documentation this flag is mentioned, so it should be valid What is…
user3124812
  • 1,861
  • 3
  • 18
  • 39
15
votes
4 answers

-[NSInvocation getReturnValue:] with double value produces 0 unexpectedly

I am trying to call a method that returns a double using NSInvocation. But I found that it does not working in 64 bit iOS apps. It works on on OS X, in the simulator -- both 32-bit and 64 bit -- iPad 2, and iPad Air with a 32-bit build. Only the…
Bryan Chen
  • 45,816
  • 18
  • 112
  • 143
14
votes
1 answer

QEMU "-bios" vs. "-kernel" vs. "-device loader,file=..."

For background, I'm running bare-metal QEMU-4.1.0 on aarch64. There are several ways to get QEMU to load compiled code into memory. I'd like to understand what the underlying differences are, because I see very different behavior and the…
Lance E.T. Compte
  • 932
  • 1
  • 11
  • 33
14
votes
2 answers

Is there an API to detect CPU features on iOS?

I have some cryptography code that has multiple implementations, selecting which implementation at runtime based on the features of the CPU it is running on. Porting this has been straightforward so far, with Windows, Linux and Android being…
Myria
  • 3,372
  • 1
  • 24
  • 42
14
votes
1 answer

Does AArch64 support unaligned access?

Does AArch64 support unaligned access natively? I am asking because currently ocamlopt assumes "no".
Demi
  • 3,535
  • 5
  • 29
  • 45
13
votes
3 answers

Performance of unaligned SIMD load/store on aarch64

An older answer indicates that aarch64 supports unaligned reads/writes and has a mention about performance cost, but it's unclear if the answer covers only the ALU or SIMD (128-bit register) operations, too. Relative to aligned 128-bit NEON loads…
hsivonen
  • 7,908
  • 1
  • 30
  • 35
13
votes
10 answers

duplicate symbols for architecture arm64 after Xcode 8.0 update

I get duplicate symbols error after I updated my Xcode. (find the code down) Does anybody get this too? And how could be solved? I tried to remove -ObjC linker flag from the "Other Linker Flags" section, check after imported .m instead of .h, switch…
Andreea Mateevici
  • 171
  • 1
  • 1
  • 8
13
votes
3 answers

Do we need to compile iOS App for both "armv7" and "arm64" if my deployment target is 8.0?

My App supports from iOS8.0 and above. And I know that from iOS7 onwards its arm64 bit architecture. In that case do we need to compile the binary for both "armv7" and "arm64" slices? If I compile for arm64 alone, I can reduce my App size. Is it a…
arango_86
  • 4,236
  • 4
  • 40
  • 46
13
votes
3 answers

ARM64: LDXR/STXR vs LDAXR/STLXR

On iOS, there are two similar functions, OSAtomicAdd32 and OSAtomicAdd32Barrier. I'm wondering when you would need the Barrier variant. Disassembled, they are: _OSAtomicAdd32: ldxr w8, [x1] add w8, w8, w0 stxr w9, w8, [x1] cbnz w9,…
Dave Lee
  • 6,299
  • 1
  • 36
  • 36