| 1 |
#include <arm_neon.h> |
| 2 |
#include "arm-neon-ref.h" |
| 3 |
#include "compute-ref-data.h" |
| 4 |
|
| 5 |
#define INSN_NAME vmla |
| 6 |
#define TEST_MSG "VMLA_LANE" |
| 7 |
|
| 8 |
/* Expected results. */ |
| 9 |
VECT_VAR_DECL(expected,int,16,4) [] = { 0x3e07, 0x3e08, 0x3e09, 0x3e0a }; |
| 10 |
VECT_VAR_DECL(expected,int,32,2) [] = { 0x3e07, 0x3e08 }; |
| 11 |
VECT_VAR_DECL(expected,uint,16,4) [] = { 0x3e07, 0x3e08, 0x3e09, 0x3e0a }; |
| 12 |
VECT_VAR_DECL(expected,uint,32,2) [] = { 0x3e07, 0x3e08 }; |
| 13 |
VECT_VAR_DECL(expected,hfloat,32,2) [] = { 0x4418c687, 0x44190687 }; |
| 14 |
VECT_VAR_DECL(expected,int,16,8) [] = { 0x3e07, 0x3e08, 0x3e09, 0x3e0a, |
| 15 |
0x3e0b, 0x3e0c, 0x3e0d, 0x3e0e }; |
| 16 |
VECT_VAR_DECL(expected,int,32,4) [] = { 0x3e07, 0x3e08, 0x3e09, 0x3e0a }; |
| 17 |
VECT_VAR_DECL(expected,uint,16,8) [] = { 0x3e07, 0x3e08, 0x3e09, 0x3e0a, |
| 18 |
0x3e0b, 0x3e0c, 0x3e0d, 0x3e0e }; |
| 19 |
VECT_VAR_DECL(expected,uint,32,4) [] = { 0x3e07, 0x3e08, 0x3e09, 0x3e0a }; |
| 20 |
VECT_VAR_DECL(expected,hfloat,32,4) [] = { 0x441a3168, 0x441a7168, |
| 21 |
0x441ab168, 0x441af168 }; |
| 22 |
|
| 23 |
#include "vmlX_lane.inc" |