[ARM64] Add missing 1Q -> 1q vector kind alias

llvm-svn: 205863
This commit is contained in:
Bradley Smith 2014-04-09 14:42:01 +00:00
parent 731e82da35
commit 736d891c7c
2 changed files with 21 additions and 0 deletions

View File

@ -8187,7 +8187,9 @@ def : TokenAlias<".16B", ".16b">;
def : TokenAlias<".8H", ".8h">;
def : TokenAlias<".4S", ".4s">;
def : TokenAlias<".2D", ".2d">;
def : TokenAlias<".1Q", ".1q">;
def : TokenAlias<".B", ".b">;
def : TokenAlias<".H", ".h">;
def : TokenAlias<".S", ".s">;
def : TokenAlias<".D", ".d">;
def : TokenAlias<".Q", ".q">;

View File

@ -0,0 +1,19 @@
// RUN: llvm-mc -triple arm64 -show-encoding < %s | FileCheck %s
pmull v8.8h, v8.8b, v8.8b
pmull2 v8.8h, v8.16b, v8.16b
pmull v8.1q, v8.1d, v8.1d
pmull2 v8.1q, v8.2d, v8.2d
// CHECK: pmull v8.8h, v8.8b, v8.8b // encoding: [0x08,0xe1,0x28,0x0e]
// CHECK: pmull2 v8.8h, v8.16b, v8.16b // encoding: [0x08,0xe1,0x28,0x4e]
// CHECK: pmull v8.1q, v8.1d, v8.1d // encoding: [0x08,0xe1,0xe8,0x0e]
// CHECK: pmull2 v8.1q, v8.2d, v8.2d // encoding: [0x08,0xe1,0xe8,0x4e]
pmull v8.8H, v8.8B, v8.8B
pmull2 v8.8H, v8.16B, v8.16B
pmull v8.1Q, v8.1D, v8.1D
pmull2 v8.1Q, v8.2D, v8.2D
// CHECK: pmull v8.8h, v8.8b, v8.8b // encoding: [0x08,0xe1,0x28,0x0e]
// CHECK: pmull2 v8.8h, v8.16b, v8.16b // encoding: [0x08,0xe1,0x28,0x4e]
// CHECK: pmull v8.1q, v8.1d, v8.1d // encoding: [0x08,0xe1,0xe8,0x0e]
// CHECK: pmull2 v8.1q, v8.2d, v8.2d // encoding: [0x08,0xe1,0xe8,0x4e]