166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ RUN: llvm-mc -mcpu=cortex-a8 -triple armv7-apple-darwin -show-encoding < %s | FileCheck %s 266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman 366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman 466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vadd.i8 d16, d17, d16 @ encoding: [0xa0,0x08,0x41,0xf2] 566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vadd.i8 d16, d17, d16 666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vadd.i16 d16, d17, d16 @ encoding: [0xa0,0x08,0x51,0xf2] 766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vadd.i16 d16, d17, d16 866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vadd.i64 d16, d17, d16 @ encoding: [0xa0,0x08,0x71,0xf2] 966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vadd.i64 d16, d17, d16 1066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vadd.i32 d16, d17, d16 @ encoding: [0xa0,0x08,0x61,0xf2] 1166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vadd.i32 d16, d17, d16 1266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vadd.f32 d16, d16, d17 @ encoding: [0xa1,0x0d,0x40,0xf2] 1366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vadd.f32 d16, d16, d17 1466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vadd.f32 q8, q8, q9 @ encoding: [0xe2,0x0d,0x40,0xf2] 1566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vadd.f32 q8, q8, q9 1666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman 1766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vaddl.s8 q8, d17, d16 @ encoding: [0xa0,0x00,0xc1,0xf2] 1866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vaddl.s8 q8, d17, d16 1966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vaddl.s16 q8, d17, d16 @ encoding: [0xa0,0x00,0xd1,0xf2] 2066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vaddl.s16 q8, d17, d16 2166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vaddl.s32 q8, d17, d16 @ encoding: [0xa0,0x00,0xe1,0xf2] 2266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vaddl.s32 q8, d17, d16 2366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vaddl.u8 q8, d17, d16 @ encoding: [0xa0,0x00,0xc1,0xf3] 2466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vaddl.u8 q8, d17, d16 2566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vaddl.u16 q8, d17, d16 @ encoding: [0xa0,0x00,0xd1,0xf3] 2666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vaddl.u16 q8, d17, d16 2766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vaddl.u32 q8, d17, d16 @ encoding: [0xa0,0x00,0xe1,0xf3] 2866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vaddl.u32 q8, d17, d16 2966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman 3066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vaddw.s8 q8, q8, d18 @ encoding: [0xa2,0x01,0xc0,0xf2] 3166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vaddw.s8 q8, q8, d18 3266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vaddw.s16 q8, q8, d18 @ encoding: [0xa2,0x01,0xd0,0xf2] 3366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vaddw.s16 q8, q8, d18 3466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vaddw.s32 q8, q8, d18 @ encoding: [0xa2,0x01,0xe0,0xf2] 3566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vaddw.s32 q8, q8, d18 3666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vaddw.u8 q8, q8, d18 @ encoding: [0xa2,0x01,0xc0,0xf3] 3766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vaddw.u8 q8, q8, d18 3866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vaddw.u16 q8, q8, d18 @ encoding: [0xa2,0x01,0xd0,0xf3] 3966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vaddw.u16 q8, q8, d18 4066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vaddw.u32 q8, q8, d18 @ encoding: [0xa2,0x01,0xe0,0xf3] 4166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vaddw.u32 q8, q8, d18 4266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman 4366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vhadd.s8 d16, d16, d17 @ encoding: [0xa1,0x00,0x40,0xf2] 4466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vhadd.s8 d16, d16, d17 4566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vhadd.s16 d16, d16, d17 @ encoding: [0xa1,0x00,0x50,0xf2] 4666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vhadd.s16 d16, d16, d17 4766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vhadd.s32 d16, d16, d17 @ encoding: [0xa1,0x00,0x60,0xf2] 4866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vhadd.s32 d16, d16, d17 4966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vhadd.u8 d16, d16, d17 @ encoding: [0xa1,0x00,0x40,0xf3] 5066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vhadd.u8 d16, d16, d17 5166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vhadd.u16 d16, d16, d17 @ encoding: [0xa1,0x00,0x50,0xf3] 5266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vhadd.u16 d16, d16, d17 5366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vhadd.u32 d16, d16, d17 @ encoding: [0xa1,0x00,0x60,0xf3] 5466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vhadd.u32 d16, d16, d17 5566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vhadd.s8 q8, q8, q9 @ encoding: [0xe2,0x00,0x40,0xf2] 5666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vhadd.s8 q8, q8, q9 5766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vhadd.s16 q8, q8, q9 @ encoding: [0xe2,0x00,0x50,0xf2] 5866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vhadd.s16 q8, q8, q9 5966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vhadd.s32 q8, q8, q9 @ encoding: [0xe2,0x00,0x60,0xf2] 6066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vhadd.s32 q8, q8, q9 6166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman @ CHECK: vhadd.u8 q8, q8, q9 @ encoding: [0xe2,0x00,0x40,0xf3] 6266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vhadd.u8 q8, q8, q9 6366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vhadd.u16 q8, q8, q9 @ encoding: [0xe2,0x00,0x50,0xf3] 6466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vhadd.u16 q8, q8, q9 6566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vhadd.u32 q8, q8, q9 @ encoding: [0xe2,0x00,0x60,0xf3] 6666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vhadd.u32 q8, q8, q9 6766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman 6866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vrhadd.s8 d16, d16, d17 @ encoding: [0xa1,0x01,0x40,0xf2] 6966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vrhadd.s8 d16, d16, d17 7066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vrhadd.s16 d16, d16, d17 @ encoding: [0xa1,0x01,0x50,0xf2] 7166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vrhadd.s16 d16, d16, d17 7266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vrhadd.s32 d16, d16, d17 @ encoding: [0xa1,0x01,0x60,0xf2] 7366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vrhadd.s32 d16, d16, d17 7466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vrhadd.u8 d16, d16, d17 @ encoding: [0xa1,0x01,0x40,0xf3] 7566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vrhadd.u8 d16, d16, d17 7666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vrhadd.u16 d16, d16, d17 @ encoding: [0xa1,0x01,0x50,0xf3] 7766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vrhadd.u16 d16, d16, d17 7866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vrhadd.u32 d16, d16, d17 @ encoding: [0xa1,0x01,0x60,0xf3] 7966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vrhadd.u32 d16, d16, d17 8066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vrhadd.s8 q8, q8, q9 @ encoding: [0xe2,0x01,0x40,0xf2] 8166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vrhadd.s8 q8, q8, q9 8266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vrhadd.s16 q8, q8, q9 @ encoding: [0xe2,0x01,0x50,0xf2] 8366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vrhadd.s16 q8, q8, q9 8466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vrhadd.s32 q8, q8, q9 @ encoding: [0xe2,0x01,0x60,0xf2] 8566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vrhadd.s32 q8, q8, q9 8666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vrhadd.u8 q8, q8, q9 @ encoding: [0xe2,0x01,0x40,0xf3] 8766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vrhadd.u8 q8, q8, q9 8866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vrhadd.u16 q8, q8, q9 @ encoding: [0xe2,0x01,0x50,0xf3] 8966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vrhadd.u16 q8, q8, q9 9066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vrhadd.u32 q8, q8, q9 @ encoding: [0xe2,0x01,0x60,0xf3] 9166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vrhadd.u32 q8, q8, q9 9266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman 9366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vqadd.s8 d16, d16, d17 @ encoding: [0xb1,0x00,0x40,0xf2] 9466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vqadd.s8 d16, d16, d17 9566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vqadd.s16 d16, d16, d17 @ encoding: [0xb1,0x00,0x50,0xf2] 9666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vqadd.s16 d16, d16, d17 9766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vqadd.s32 d16, d16, d17 @ encoding: [0xb1,0x00,0x60,0xf2] 9866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vqadd.s32 d16, d16, d17 9966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vqadd.s64 d16, d16, d17 @ encoding: [0xb1,0x00,0x70,0xf2] 10066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vqadd.s64 d16, d16, d17 10166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vqadd.u8 d16, d16, d17 @ encoding: [0xb1,0x00,0x40,0xf3] 10266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vqadd.u8 d16, d16, d17 10366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vqadd.u16 d16, d16, d17 @ encoding: [0xb1,0x00,0x50,0xf3] 10466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vqadd.u16 d16, d16, d17 10566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vqadd.u32 d16, d16, d17 @ encoding: [0xb1,0x00,0x60,0xf3] 10666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vqadd.u32 d16, d16, d17 10766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vqadd.u64 d16, d16, d17 @ encoding: [0xb1,0x00,0x70,0xf3] 10866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vqadd.u64 d16, d16, d17 10966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vqadd.s8 q8, q8, q9 @ encoding: [0xf2,0x00,0x40,0xf2] 11066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vqadd.s8 q8, q8, q9 11166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vqadd.s16 q8, q8, q9 @ encoding: [0xf2,0x00,0x50,0xf2] 11266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vqadd.s16 q8, q8, q9 11366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vqadd.s32 q8, q8, q9 @ encoding: [0xf2,0x00,0x60,0xf2] 11466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vqadd.s32 q8, q8, q9 11566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vqadd.s64 q8, q8, q9 @ encoding: [0xf2,0x00,0x70,0xf2] 11666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vqadd.s64 q8, q8, q9 11766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vqadd.u8 q8, q8, q9 @ encoding: [0xf2,0x00,0x40,0xf3] 11866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vqadd.u8 q8, q8, q9 11966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vqadd.u16 q8, q8, q9 @ encoding: [0xf2,0x00,0x50,0xf3] 12066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vqadd.u16 q8, q8, q9 12166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vqadd.u32 q8, q8, q9 @ encoding: [0xf2,0x00,0x60,0xf3] 12266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vqadd.u32 q8, q8, q9 12366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vqadd.u64 q8, q8, q9 @ encoding: [0xf2,0x00,0x70,0xf3] 12466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vqadd.u64 q8, q8, q9 12566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman 12666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vaddhn.i16 d16, q8, q9 @ encoding: [0xa2,0x04,0xc0,0xf2] 12766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vaddhn.i16 d16, q8, q9 12866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vaddhn.i32 d16, q8, q9 @ encoding: [0xa2,0x04,0xd0,0xf2] 12966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vaddhn.i32 d16, q8, q9 13066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vaddhn.i64 d16, q8, q9 @ encoding: [0xa2,0x04,0xe0,0xf2] 13166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vaddhn.i64 d16, q8, q9 13266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vraddhn.i16 d16, q8, q9 @ encoding: [0xa2,0x04,0xc0,0xf3] 13366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vraddhn.i16 d16, q8, q9 13466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vraddhn.i32 d16, q8, q9 @ encoding: [0xa2,0x04,0xd0,0xf3] 13566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vraddhn.i32 d16, q8, q9 13666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman@ CHECK: vraddhn.i64 d16, q8, q9 @ encoding: [0xa2,0x04,0xe0,0xf3] 13766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman vraddhn.i64 d16, q8, q9 138