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
13
votes
2 answers

asm("trap") on 64-bit iOS devices

In my homegrown assert macro, I've been using asm("trap") on iOS devices (or asm("int3") on iOS simulators) to break in the debugger. However, in 64-bit builds for devices, I get an "unrecognized instruction mnemonic" for the trap instruction. Is…
leremjs
  • 973
  • 1
  • 9
  • 25
12
votes
7 answers

Compile boost as universal library (Intel and Apple Silicon architectures)

I am trying to build boost library as dylib on MacOS. I need to build it for both the Intel architecture and the upcoming Apple Silicon (arm64) architecture. I downloaded boost and ran the following commands: ./bootstrap.sh ./b2 -address-model=64…
Anil8753
  • 2,663
  • 4
  • 29
  • 40
12
votes
5 answers

Why does integer division by -1 (negative one) result in FPE?

I have an assignment of expaining some seemingly strange behaviors of C code (running on x86). I can easily complete everything else but this one has really confused me. Code snippet 1 outputs -2147483648 int a = 0x80000000; int b = a /…
iBug
  • 35,554
  • 7
  • 89
  • 134
12
votes
1 answer

Android emulator supporting ARMv8

I need to create an Android virtual device supporting ARMv8 system image on aarch32 and aarch64 both. Does Android Studio emulator support ARMv8 system image in its AVD manager? Or is there any other emulator available? Can you provide the steps for…
jousa
  • 121
  • 4
12
votes
9 answers

Packaging error when switching to arm64 (arm5 was OK)

I just plugged in a new iPhone 6, created a provisioning profile and then I launched the app I'm developing on the device. It compiled fine, but at linking stage it errored out with: ProcessProductPackaging ... error: class '(null)' of input object…
aledalgrande
  • 5,167
  • 3
  • 37
  • 65
11
votes
1 answer

How to compile C++ program on Windows for ARM using LLVM?

Aim Compile a C++ program on Windows for ARM using only LLVM. Why LLVM because of permissive licensing. I'm starting to wonder if my understanding of LLVM is correct. On the host machine do Use clang (front end) to generate intermediate…
robor
  • 2,969
  • 2
  • 31
  • 48
11
votes
1 answer

Is there performance advantage to ARM64

Recently 64-bit ARM mobiles started appearing. But is there any practical advantage to building an application 64-bit? Specifically considering application that does not have much use for the increased virtual address space¹, but would waste some…
Jan Hudec
  • 73,652
  • 13
  • 125
  • 172
11
votes
1 answer

Building ffmpeg iOS libraries for armv7, armv7s, arm64, i386 and universal

I have seen several scripts to build FFmpeg API for armv7, 7s and i386 but couldn't find anything which would work for armv64 as well. Some of the answers on other threads of this forum suggested to prepare a separate library for arm64 but it does…
sandy
  • 2,127
  • 4
  • 28
  • 50
10
votes
1 answer

SIMD-within-a-register version of min/max

Suppose I have two uint16_t[4] arrays, a and b. Each integer in these arrays is in the range [0, 16383], so bits 14 and 15 aren't set. Then I have some code to find the minimum and maximum among a[i] and b[i] for each i: uint16_t min[4], max[4]; for…
swineone
  • 2,296
  • 1
  • 18
  • 32
10
votes
6 answers

Symbol(s) not found for architecture arm64 - XCode

I'm trying to build my react native project on a Mac Intel, but keep getting the next error: Showing All Messages Undefined symbol: _swift_stdlib_isStackAllocationSafe Undefined symbols for architecture…
Luis Quiroga
  • 718
  • 2
  • 7
  • 22
10
votes
2 answers

When debugging, GoLand can not evaluate a function on M1

When debugging, use the Evaluate expression and try to evaluate a function. The result is shown as: "backend does not support function calls". Why? MacBook Pro M1 GoLand 2021.1.3 Go 1.16.5 arm64
graydove
  • 133
  • 1
  • 5
10
votes
0 answers

Errors in creating XCFramework using Cocoapods

I am trying to generate a iOS XCFramework from an Xcode framework Project(Project name XCFramework). Project consists of some of the cocoa-pods libraries like Socket IO, SwiftKeyChainWrapper etc. If I generate XCFramework without cocoa-pods,…
vinay yedla
  • 141
  • 6
10
votes
2 answers

.NET Core 3.0 Publish for ARM64

Does anyone know how to publish a .NET Core 3.0 application for ARM64? I can only select "linux-arm" but no "linux-arm64". Setting linux-arm in combination with x64 also doesnt work. It says the settings are not compatible. As stated here it should…
Daniel P.
  • 809
  • 8
  • 15
10
votes
4 answers

gcc-7: error: unrecognized command line option ‘-m64’

I'm trying to compile C code on a Jetson Nano and I get this error during compiling. I tried removing any occurrence of 'm -64' but it seems like its added automatically. This is the cmd where it fails: /usr/bin/gcc-7 -Wall -Wextra -Wconversion…
Jen
  • 121
  • 1
  • 1
  • 7
10
votes
2 answers

How to detect we're running under the ARM64 version of Windows 10 in .NET?

I created a C# .NET console application that can run in Windows 10 x86, x64 and ARM64 (via emulator layer). I would like to know how to detect that the application is running in those platforms. I know how to detect x86 and x64, but how to detect…
SuperJMN
  • 13,110
  • 16
  • 86
  • 185