Skip to content Skip to sidebar Skip to footer

Porting Arm Neon Code To Aarch64, Many Questions

I'm porting some ARM NEON code to 64-bit ARM-v8, but I can't find a good documentation about it. Many features seems to be gone, and I don't know how to implement the same function

Solution 1:

The documentation on using ARMv8 in Android is not very good, but for your specific questions, they're answered quite well in this document:

ARMv8 Instruction Set Overview

To answer your specific questions:

mov R0, #42
vdup.8 D0, R0

becomes

mov w0,#42
dup v0.8b,w0

and

vld4.8 {d0-d3}, [r0]!

becomes

ld4 {v0.8b,v1.8b,v2.8b,v3.8b},[x0],#32

Post a Comment for "Porting Arm Neon Code To Aarch64, Many Questions"