mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
7b59710b6f
This skips a couple of compare ones due to the different syntaxt for floating-point 0.0. AArch64 does it more canonically, and we'll need to fiddle ARM64 to make it work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207119 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
745 B
ArmAsm
18 lines
745 B
ArmAsm
// RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+neon -show-encoding < %s | FileCheck %s
|
|
// RUN: llvm-mc -triple arm64-none-linux-gnu -mattr=+neon -show-encoding < %s | FileCheck %s
|
|
|
|
//------------------------------------------------------------------------------
|
|
// Scalar Integer Add
|
|
//------------------------------------------------------------------------------
|
|
add d31, d0, d16
|
|
|
|
// CHECK: add d31, d0, d16 // encoding: [0x1f,0x84,0xf0,0x5e]
|
|
|
|
//------------------------------------------------------------------------------
|
|
// Scalar Integer Sub
|
|
//------------------------------------------------------------------------------
|
|
sub d1, d7, d8
|
|
|
|
// CHECK: sub d1, d7, d8 // encoding: [0xe1,0x84,0xe8,0x7e]
|
|
|