34 lines · plain
1# RUN: llvm-mc -triple arm-none-linux-gnu -mattr=+dotprod --disassemble < %s | FileCheck %s2# RUN: llvm-mc -triple arm-none-linux-gnu -mattr=-dotprod --disassemble < %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR3 40x12,0x0d,0x21,0xfc50x02,0x0d,0x21,0xfc60x58,0x0d,0x22,0xfc70x48,0x0d,0x22,0xfc80x12,0x0d,0x21,0xfe90x22,0x0d,0x21,0xfe100x54,0x0d,0x22,0xfe110x64,0x0d,0x22,0xfe12 13#CHECK: vudot.u8 d0, d1, d214#CHECK: vsdot.s8 d0, d1, d215#CHECK: vudot.u8 q0, q1, q416#CHECK: vsdot.s8 q0, q1, q417#CHECK: vudot.u8 d0, d1, d2[0]18#CHECK: vsdot.s8 d0, d1, d2[1]19#CHECK: vudot.u8 q0, q1, d4[0]20#CHECK: vsdot.s8 q0, q1, d4[1]21 22# without dot product enabled, the instructions get disassembled to these23# coprocessor instructions:24 25#CHECK-ERROR: stc2 p13, c0, [r1], #-7226#CHECK-ERROR: stc2 p13, c0, [r1], #-827#CHECK-ERROR: stc2 p13, c0, [r2], #-35228#CHECK-ERROR: stc2 p13, c0, [r2], #-28829#CHECK-ERROR: mcr2 p13, #1, r0, c1, c2, #030#CHECK-ERROR: cdp2 p13, #2, c0, c1, c2, #131#CHECK-ERROR: mcr2 p13, #1, r0, c2, c4, #232#CHECK-ERROR: cdp2 p13, #2, c0, c2, c4, #333 34