1# RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+fp16fml --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=CHECK,FP16 2# RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=-fullfp16,+fp16fml --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=CHECK,FP16 3 4#A fullfp16 instruction, for testing the interaction of the features 5[0x41,0x08,0xe3,0x1e] 6 7[0x20,0xec,0x22,0x0e] 8[0x20,0xec,0xa2,0x0e] 9[0x20,0xec,0x22,0x4e] 10[0x20,0xec,0xa2,0x4e] 11[0x20,0xcc,0x22,0x2e] 12[0x20,0xcc,0xa2,0x2e] 13[0x20,0xcc,0x22,0x6e] 14[0x20,0xcc,0xa2,0x6e] 15 16#indexed variants: 17 18[0x20,0x08,0xb2,0x0f] 19[0x20,0x48,0xb2,0x0f] 20[0x20,0x08,0xb2,0x4f] 21[0x20,0x48,0xb2,0x4f] 22[0x20,0x88,0xb2,0x2f] 23[0x20,0xc8,0xb2,0x2f] 24[0x20,0x88,0xb2,0x6f] 25[0x20,0xc8,0xb2,0x6f] 26 27[0x20,0x08,0x92,0x0f] 28[0x20,0x48,0x92,0x0f] 29[0x20,0x08,0x92,0x4f] 30[0x20,0x48,0x92,0x4f] 31[0x20,0x88,0x92,0x2f] 32[0x20,0xc8,0x92,0x2f] 33[0x20,0x88,0x92,0x6f] 34[0x20,0xc8,0x92,0x6f] 35 36#FP16: fmul h1, h2, h3 37 38#CHECK: fmlal v0.2s, v1.2h, v2.2h 39#CHECK: fmlsl v0.2s, v1.2h, v2.2h 40#CHECK: fmlal v0.4s, v1.4h, v2.4h 41#CHECK: fmlsl v0.4s, v1.4h, v2.4h 42#CHECK: fmlal2 v0.2s, v1.2h, v2.2h 43#CHECK: fmlsl2 v0.2s, v1.2h, v2.2h 44#CHECK: fmlal2 v0.4s, v1.4h, v2.4h 45#CHECK: fmlsl2 v0.4s, v1.4h, v2.4h 46 47#CHECK: fmlal v0.2s, v1.2h, v2.h[7] 48#CHECK: fmlsl v0.2s, v1.2h, v2.h[7] 49#CHECK: fmlal v0.4s, v1.4h, v2.h[7] 50#CHECK: fmlsl v0.4s, v1.4h, v2.h[7] 51#CHECK: fmlal2 v0.2s, v1.2h, v2.h[7] 52#CHECK: fmlsl2 v0.2s, v1.2h, v2.h[7] 53#CHECK: fmlal2 v0.4s, v1.4h, v2.h[7] 54#CHECK: fmlsl2 v0.4s, v1.4h, v2.h[7] 55 56#CHECK: fmlal v0.2s, v1.2h, v2.h[5] 57#CHECK: fmlsl v0.2s, v1.2h, v2.h[5] 58#CHECK: fmlal v0.4s, v1.4h, v2.h[5] 59#CHECK: fmlsl v0.4s, v1.4h, v2.h[5] 60#CHECK: fmlal2 v0.2s, v1.2h, v2.h[5] 61#CHECK: fmlsl2 v0.2s, v1.2h, v2.h[5] 62#CHECK: fmlal2 v0.4s, v1.4h, v2.h[5] 63#CHECK: fmlsl2 v0.4s, v1.4h, v2.h[5] 64 65