mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
81ea345894
AArch64 has feature predicates for NEON, FP and CRYPTO instructions. This allows the compiler to generate code without using FP, NEON or CRYPTO instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206949 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
889 B
ArmAsm
20 lines
889 B
ArmAsm
// RUN: llvm-mc -triple arm64 -mattr=crypto -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]
|