AArch64/ARM64: run AArch64 NEON MC tests through ARM64 too.
[oota-llvm.git] / test / MC / AArch64 / neon-scalar-add-sub.s
1 // RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+neon -show-encoding < %s | FileCheck %s
2 // RUN: llvm-mc -triple arm64-none-linux-gnu -mattr=+neon -show-encoding < %s | FileCheck %s
3
4 //------------------------------------------------------------------------------
5 // Scalar Integer Add
6 //------------------------------------------------------------------------------
7          add d31, d0, d16
8
9 // CHECK: add d31, d0, d16       // encoding: [0x1f,0x84,0xf0,0x5e]
10
11 //------------------------------------------------------------------------------
12 // Scalar Integer Sub
13 //------------------------------------------------------------------------------
14          sub d1, d7, d8
15
16 // CHECK: sub d1, d7, d8       // encoding: [0xe1,0x84,0xe8,0x7e]
17