2 #include "arm-neon-ref.h"
3 #include "compute-ref-data.h"
6 #define TEST_MSG "VMLA"
8 /* Expected results. */
9 VECT_VAR_DECL(expected
,int,8,8) [] = { 0xdf, 0xe0, 0xe1, 0xe2,
10 0xe3, 0xe4, 0xe5, 0xe6 };
11 VECT_VAR_DECL(expected
,int,16,4) [] = { 0x1f8c, 0x1f8d, 0x1f8e, 0x1f8f };
12 VECT_VAR_DECL(expected
,int,32,2) [] = { 0x2bf7, 0x2bf8 };
13 VECT_VAR_DECL(expected
,uint
,8,8) [] = { 0x20, 0x21, 0x22, 0x23,
14 0x24, 0x25, 0x26, 0x27 };
15 VECT_VAR_DECL(expected
,uint
,16,4) [] = { 0x3e07, 0x3e08, 0x3e09, 0x3e0a };
16 VECT_VAR_DECL(expected
,uint
,32,2) [] = { 0x43ac, 0x43ad };
17 VECT_VAR_DECL(expected
,hfloat
,32,2) [] = { 0x43a14e76, 0x43a1ce76 };
18 VECT_VAR_DECL(expected
,int,8,16) [] = { 0xf, 0x10, 0x11, 0x12,
19 0x13, 0x14, 0x15, 0x16,
20 0x17, 0x18, 0x19, 0x1a,
21 0x1b, 0x1c, 0x1d, 0x1e };
22 VECT_VAR_DECL(expected
,int,16,8) [] = { 0x4830, 0x4831, 0x4832, 0x4833,
23 0x4834, 0x4835, 0x4836, 0x4837 };
24 VECT_VAR_DECL(expected
,int,32,4) [] = { 0x470f, 0x4710, 0x4711, 0x4712 };
25 VECT_VAR_DECL(expected
,uint
,8,16) [] = { 0xac, 0xad, 0xae, 0xaf,
26 0xb0, 0xb1, 0xb2, 0xb3,
27 0xb4, 0xb5, 0xb6, 0xb7,
28 0xb8, 0xb9, 0xba, 0xbb };
29 VECT_VAR_DECL(expected
,uint
,16,8) [] = { 0x3e07, 0x3e08, 0x3e09, 0x3e0a,
30 0x3e0b, 0x3e0c, 0x3e0d, 0x3e0e };
31 VECT_VAR_DECL(expected
,uint
,32,4) [] = { 0x3620, 0x3621, 0x3622, 0x3623 };
32 VECT_VAR_DECL(expected
,hfloat
,32,4) [] = { 0x45f0ae15, 0x45f0b615,
33 0x45f0be15, 0x45f0c615 };