blob: be4bf79bca58027a8fadaa2c4add6a0701ac266c [file] [log] [blame]
Bob Wilsonc3ff5382010-12-15 22:14:01 +00001@ RUN: llvm-mc -mcpu=cortex-a8 -triple thumb-unknown-unknown -show-encoding < %s | FileCheck %s
Owen Andersonce2250f2010-11-11 23:12:55 +00002
3.code 16
4
Owen Andersonce2250f2010-11-11 23:12:55 +00005 vmla.i8 d16, d18, d17
Owen Andersonce2250f2010-11-11 23:12:55 +00006 vmla.i16 d16, d18, d17
Owen Andersonce2250f2010-11-11 23:12:55 +00007 vmla.i32 d16, d18, d17
Owen Andersonce2250f2010-11-11 23:12:55 +00008 vmla.f32 d16, d18, d17
Owen Andersonce2250f2010-11-11 23:12:55 +00009 vmla.i8 q9, q8, q10
Owen Andersonce2250f2010-11-11 23:12:55 +000010 vmla.i16 q9, q8, q10
Owen Andersonce2250f2010-11-11 23:12:55 +000011 vmla.i32 q9, q8, q10
Owen Andersonce2250f2010-11-11 23:12:55 +000012 vmla.f32 q9, q8, q10
Jim Grosbach8bc8bfd2011-10-04 20:46:49 +000013
14@ CHECK: vmla.i8 d16, d18, d17 @ encoding: [0x42,0xef,0xa1,0x09]
15@ CHECK: vmla.i16 d16, d18, d17 @ encoding: [0x52,0xef,0xa1,0x09]
16@ CHECK: vmla.i32 d16, d18, d17 @ encoding: [0x62,0xef,0xa1,0x09]
17@ CHECK: vmla.f32 d16, d18, d17 @ encoding: [0x42,0xef,0xb1,0x0d]
18@ CHECK: vmla.i8 q9, q8, q10 @ encoding: [0x40,0xef,0xe4,0x29]
19@ CHECK: vmla.i16 q9, q8, q10 @ encoding: [0x50,0xef,0xe4,0x29]
20@ CHECK: vmla.i32 q9, q8, q10 @ encoding: [0x60,0xef,0xe4,0x29]
21@ CHECK: vmla.f32 q9, q8, q10 @ encoding: [0x40,0xef,0xf4,0x2d]
22
23
Owen Andersonce2250f2010-11-11 23:12:55 +000024 vmlal.s8 q8, d19, d18
Owen Andersonce2250f2010-11-11 23:12:55 +000025 vmlal.s16 q8, d19, d18
Owen Andersonce2250f2010-11-11 23:12:55 +000026 vmlal.s32 q8, d19, d18
Owen Andersonce2250f2010-11-11 23:12:55 +000027 vmlal.u8 q8, d19, d18
Owen Andersonce2250f2010-11-11 23:12:55 +000028 vmlal.u16 q8, d19, d18
Owen Andersonce2250f2010-11-11 23:12:55 +000029 vmlal.u32 q8, d19, d18
Jim Grosbach8bc8bfd2011-10-04 20:46:49 +000030
31@ CHECK: vmlal.s8 q8, d19, d18 @ encoding: [0xc3,0xef,0xa2,0x08]
32@ CHECK: vmlal.s16 q8, d19, d18 @ encoding: [0xd3,0xef,0xa2,0x08]
33@ CHECK: vmlal.s32 q8, d19, d18 @ encoding: [0xe3,0xef,0xa2,0x08]
34@ CHECK: vmlal.u8 q8, d19, d18 @ encoding: [0xc3,0xff,0xa2,0x08]
35@ CHECK: vmlal.u16 q8, d19, d18 @ encoding: [0xd3,0xff,0xa2,0x08]
36@ CHECK: vmlal.u32 q8, d19, d18 @ encoding: [0xe3,0xff,0xa2,0x08]
37
38
Owen Andersonce2250f2010-11-11 23:12:55 +000039 vqdmlal.s16 q8, d19, d18
Owen Andersonce2250f2010-11-11 23:12:55 +000040 vqdmlal.s32 q8, d19, d18
Jim Grosbach8bc8bfd2011-10-04 20:46:49 +000041
42@ CHECK: vqdmlal.s16 q8, d19, d18 @ encoding: [0xd3,0xef,0xa2,0x09]
43@ CHECK: vqdmlal.s32 q8, d19, d18 @ encoding: [0xe3,0xef,0xa2,0x09]
44
45
Owen Andersonce2250f2010-11-11 23:12:55 +000046 vmls.i8 d16, d18, d17
Owen Andersonce2250f2010-11-11 23:12:55 +000047 vmls.i16 d16, d18, d17
Owen Andersonce2250f2010-11-11 23:12:55 +000048 vmls.i32 d16, d18, d17
Owen Andersonce2250f2010-11-11 23:12:55 +000049 vmls.f32 d16, d18, d17
Owen Andersonce2250f2010-11-11 23:12:55 +000050 vmls.i8 q9, q8, q10
Owen Andersonce2250f2010-11-11 23:12:55 +000051 vmls.i16 q9, q8, q10
Owen Andersonce2250f2010-11-11 23:12:55 +000052 vmls.i32 q9, q8, q10
Owen Andersonce2250f2010-11-11 23:12:55 +000053 vmls.f32 q9, q8, q10
Jim Grosbach8bc8bfd2011-10-04 20:46:49 +000054
55@ CHECK: vmls.i8 d16, d18, d17 @ encoding: [0x42,0xff,0xa1,0x09]
56@ CHECK: vmls.i16 d16, d18, d17 @ encoding: [0x52,0xff,0xa1,0x09]
57@ CHECK: vmls.i32 d16, d18, d17 @ encoding: [0x62,0xff,0xa1,0x09]
58@ CHECK: vmls.f32 d16, d18, d17 @ encoding: [0x62,0xef,0xb1,0x0d]
59@ CHECK: vmls.i8 q9, q8, q10 @ encoding: [0x40,0xff,0xe4,0x29]
60@ CHECK: vmls.i16 q9, q8, q10 @ encoding: [0x50,0xff,0xe4,0x29]
61@ CHECK: vmls.i32 q9, q8, q10 @ encoding: [0x60,0xff,0xe4,0x29]
62@ CHECK: vmls.f32 q9, q8, q10 @ encoding: [0x60,0xef,0xf4,0x2d]
63
64
Owen Andersonce2250f2010-11-11 23:12:55 +000065 vmlsl.s8 q8, d19, d18
Owen Andersonce2250f2010-11-11 23:12:55 +000066 vmlsl.s16 q8, d19, d18
Owen Andersonce2250f2010-11-11 23:12:55 +000067 vmlsl.s32 q8, d19, d18
Owen Andersonce2250f2010-11-11 23:12:55 +000068 vmlsl.u8 q8, d19, d18
Owen Andersonce2250f2010-11-11 23:12:55 +000069 vmlsl.u16 q8, d19, d18
Owen Andersonce2250f2010-11-11 23:12:55 +000070 vmlsl.u32 q8, d19, d18
Jim Grosbach8bc8bfd2011-10-04 20:46:49 +000071
72@ CHECK: vmlsl.s8 q8, d19, d18 @ encoding: [0xc3,0xef,0xa2,0x0a]
73@ CHECK: vmlsl.s16 q8, d19, d18 @ encoding: [0xd3,0xef,0xa2,0x0a]
74@ CHECK: vmlsl.s32 q8, d19, d18 @ encoding: [0xe3,0xef,0xa2,0x0a]
75@ CHECK: vmlsl.u8 q8, d19, d18 @ encoding: [0xc3,0xff,0xa2,0x0a]
76@ CHECK: vmlsl.u16 q8, d19, d18 @ encoding: [0xd3,0xff,0xa2,0x0a]
77@ CHECK: vmlsl.u32 q8, d19, d18 @ encoding: [0xe3,0xff,0xa2,0x0a]
78
79
Owen Andersonce2250f2010-11-11 23:12:55 +000080 vqdmlsl.s16 q8, d19, d18
Owen Andersonce2250f2010-11-11 23:12:55 +000081 vqdmlsl.s32 q8, d19, d18
Jim Grosbach8bc8bfd2011-10-04 20:46:49 +000082
83@ CHECK: vqdmlsl.s16 q8, d19, d18 @ encoding: [0xd3,0xef,0xa2,0x0b]
84@ CHECK: vqdmlsl.s32 q8, d19, d18 @ encoding: [0xe3,0xef,0xa2,0x0b]