1*9880d681SAndroid Build Coastguard Worker# RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.1a --disassemble < %s 2>&1 | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker[0x20,0x84,0x02,0x2e] # sqrdmlah v0.8b, v1.8b, v2.8b 4*9880d681SAndroid Build Coastguard Worker[0x20,0x8c,0x02,0x2e] # sqrdmlsh v0.8b, v1.8b, v2.8b 5*9880d681SAndroid Build Coastguard Worker[0x20,0x84,0xc2,0x2e] # sqrdmlah v0.1d, v1.1d, v2.1d 6*9880d681SAndroid Build Coastguard Worker[0x20,0x8c,0xc2,0x2e] # sqrdmlsh v0.1d, v1.1d, v2.1d 7*9880d681SAndroid Build Coastguard Worker[0x20,0x84,0x02,0x6e] # sqrdmlah v0.16b, v1.16b, v2.16b 8*9880d681SAndroid Build Coastguard Worker[0x20,0x8c,0x02,0x6e] # sqrdmlsh v0.16b, v1.16b, v2.16b 9*9880d681SAndroid Build Coastguard Worker[0x20,0x84,0xc2,0x6e] # sqrdmlah v0.2d, v1.2d, v2.2d 10*9880d681SAndroid Build Coastguard Worker[0x20,0x8c,0xc2,0x6e] # sqrdmlsh v0.2d, v1.2d, v2.2d 11*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 12*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0x84,0x02,0x2e] 13*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 14*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0x8c,0x02,0x2e] 15*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 16*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0x84,0xc2,0x2e] 17*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 18*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0x8c,0xc2,0x2e] 19*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 20*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0x84,0x02,0x6e] 21*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 22*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0x8c,0x02,0x6e] 23*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 24*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0x84,0xc2,0x6e] 25*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 26*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0x8c,0xc2,0x6e] 27*9880d681SAndroid Build Coastguard Worker 28*9880d681SAndroid Build Coastguard Worker[0x20,0x84,0x02,0x7e] # sqrdmlah b0, b1, b2 29*9880d681SAndroid Build Coastguard Worker[0x20,0x8c,0x02,0x7e] # sqrdmlsh b0, b1, b2 30*9880d681SAndroid Build Coastguard Worker[0x20,0x84,0xc2,0x7e] # sqrdmlah d0, d1, d2 31*9880d681SAndroid Build Coastguard Worker[0x20,0x8c,0xc2,0x7e] # sqrdmlsh d0, d1, d2 32*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 33*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0x84,0x02,0x7e] 34*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 35*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0x8c,0x02,0x7e] 36*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 37*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0x84,0xc2,0x7e] 38*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 39*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0x8c,0xc2,0x7e] 40*9880d681SAndroid Build Coastguard Worker 41*9880d681SAndroid Build Coastguard Worker[0x20,0xd0,0x32,0x2f] # sqrdmlah v0.8b, v1.8b, v2.b[3] 42*9880d681SAndroid Build Coastguard Worker[0x20,0xf0,0x32,0x2f] # sqrdmlsh v0.8b, v1.8b, v2.b[3] 43*9880d681SAndroid Build Coastguard Worker[0x20,0xd0,0xe2,0x2f] # sqrdmlah v0.1d, v1.1d, v2.d[1] 44*9880d681SAndroid Build Coastguard Worker[0x20,0xf0,0xe2,0x2f] # sqrdmlsh v0.1d, v1.1d, v2.d[1] 45*9880d681SAndroid Build Coastguard Worker[0x20,0xd0,0x32,0x6f] # sqrdmlah v0.16b, v1.16b, v2.b[3] 46*9880d681SAndroid Build Coastguard Worker[0x20,0xf0,0x32,0x6f] # sqrdmlsh v0.16b, v1.16b, v2.b[3] 47*9880d681SAndroid Build Coastguard Worker[0x20,0xd8,0xe2,0x6f] # sqrdmlah v0.2d, v1.2d, v2.d[3] 48*9880d681SAndroid Build Coastguard Worker[0x20,0xf8,0xe2,0x6f] # sqrdmlsh v0.2d, v1.2d, v2.d[3] 49*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 50*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0xd0,0x32,0x2f] 51*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 52*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0xf0,0x32,0x2f] 53*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 54*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0xd0,0xe2,0x2f] 55*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 56*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0xf0,0xe2,0x2f] 57*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 58*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0xd0,0x32,0x6f] 59*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 60*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0xf0,0x32,0x6f] 61*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 62*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0xd8,0xe2,0x6f] 63*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 64*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0xf8,0xe2,0x6f] 65*9880d681SAndroid Build Coastguard Worker 66*9880d681SAndroid Build Coastguard Worker[0x20,0xd0,0x32,0x7f] # sqrdmlah b0, b1, v2.b[3] 67*9880d681SAndroid Build Coastguard Worker[0x20,0xf0,0x32,0x7f] # sqrdmlsh b0, b1, v2.b[3] 68*9880d681SAndroid Build Coastguard Worker[0x20,0xd8,0xe2,0x7f] # sqrdmlah d0, d1, v2.d[3] 69*9880d681SAndroid Build Coastguard Worker[0x20,0xf8,0xe2,0x7f] # sqrdmlsh d0, d1, v2.d[3] 70*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 71*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0xd0,0x32,0x7f] 72*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 73*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0xf0,0x32,0x7f] 74*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 75*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0xd8,0xe2,0x7f] 76*9880d681SAndroid Build Coastguard Worker# CHECK: warning: invalid instruction encoding 77*9880d681SAndroid Build Coastguard Worker# CHECK: [0x20,0xf8,0xe2,0x7f] 78*9880d681SAndroid Build Coastguard Worker 79*9880d681SAndroid Build Coastguard Worker[0x20,0x84,0x42,0x2e] 80*9880d681SAndroid Build Coastguard Worker[0x20,0x8c,0x42,0x2e] 81*9880d681SAndroid Build Coastguard Worker[0x20,0x84,0x82,0x2e] 82*9880d681SAndroid Build Coastguard Worker[0x20,0x8c,0x82,0x2e] 83*9880d681SAndroid Build Coastguard Worker[0x20,0x84,0x42,0x6e] 84*9880d681SAndroid Build Coastguard Worker[0x20,0x8c,0x42,0x6e] 85*9880d681SAndroid Build Coastguard Worker[0x20,0x84,0x82,0x6e] 86*9880d681SAndroid Build Coastguard Worker[0x20,0x8c,0x82,0x6e] 87*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlah v0.4h, v1.4h, v2.4h 88*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlsh v0.4h, v1.4h, v2.4h 89*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlah v0.2s, v1.2s, v2.2s 90*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlsh v0.2s, v1.2s, v2.2s 91*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlah v0.8h, v1.8h, v2.8h 92*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlsh v0.8h, v1.8h, v2.8h 93*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlah v0.4s, v1.4s, v2.4s 94*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlsh v0.4s, v1.4s, v2.4s 95*9880d681SAndroid Build Coastguard Worker 96*9880d681SAndroid Build Coastguard Worker[0x20,0x84,0x42,0x7e] 97*9880d681SAndroid Build Coastguard Worker[0x20,0x8c,0x42,0x7e] 98*9880d681SAndroid Build Coastguard Worker[0x20,0x84,0x82,0x7e] 99*9880d681SAndroid Build Coastguard Worker[0x20,0x8c,0x82,0x7e] 100*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlah h0, h1, h2 101*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlsh h0, h1, h2 102*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlah s0, s1, s2 103*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlsh s0, s1, s2 104*9880d681SAndroid Build Coastguard Worker 105*9880d681SAndroid Build Coastguard Worker0x20,0xd0,0x72,0x2f 106*9880d681SAndroid Build Coastguard Worker0x20,0xf0,0x72,0x2f 107*9880d681SAndroid Build Coastguard Worker0x20,0xd0,0xa2,0x2f 108*9880d681SAndroid Build Coastguard Worker0x20,0xf0,0xa2,0x2f 109*9880d681SAndroid Build Coastguard Worker0x20,0xd0,0x72,0x6f 110*9880d681SAndroid Build Coastguard Worker0x20,0xf0,0x72,0x6f 111*9880d681SAndroid Build Coastguard Worker0x20,0xd8,0xa2,0x6f 112*9880d681SAndroid Build Coastguard Worker0x20,0xf8,0xa2,0x6f 113*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlah v0.4h, v1.4h, v2.h[3] 114*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlsh v0.4h, v1.4h, v2.h[3] 115*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlah v0.2s, v1.2s, v2.s[1] 116*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlsh v0.2s, v1.2s, v2.s[1] 117*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlah v0.8h, v1.8h, v2.h[3] 118*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlsh v0.8h, v1.8h, v2.h[3] 119*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlah v0.4s, v1.4s, v2.s[3] 120*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlsh v0.4s, v1.4s, v2.s[3] 121*9880d681SAndroid Build Coastguard Worker 122*9880d681SAndroid Build Coastguard Worker0x20,0xd0,0x72,0x7f 123*9880d681SAndroid Build Coastguard Worker0x20,0xf0,0x72,0x7f 124*9880d681SAndroid Build Coastguard Worker0x20,0xd8,0xa2,0x7f 125*9880d681SAndroid Build Coastguard Worker0x20,0xf8,0xa2,0x7f 126*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlah h0, h1, v2.h[3] 127*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlsh h0, h1, v2.h[3] 128*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlah s0, s1, v2.s[3] 129*9880d681SAndroid Build Coastguard Worker# CHECK: sqrdmlsh s0, s1, v2.s[3] 130