| 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_N" |
| 7 |
|
| 8 |
/* Expected results. */ |
| 9 |
VECT_VAR_DECL(expected,int,16,4) [] = { 0x595, 0x596, 0x597, 0x598 }; |
| 10 |
VECT_VAR_DECL(expected,int,32,2) [] = { 0xb3a, 0xb3b }; |
| 11 |
VECT_VAR_DECL(expected,uint,16,4) [] = { 0x10df, 0x10e0, 0x10e1, 0x10e2 }; |
| 12 |
VECT_VAR_DECL(expected,uint,32,2) [] = { 0x1684, 0x1685 }; |
| 13 |
VECT_VAR_DECL(expected,hfloat,32,2) [] = { 0x4497deb8, 0x4497feb8 }; |
| 14 |
VECT_VAR_DECL(expected,int,16,8) [] = { 0x1c29, 0x1c2a, 0x1c2b, 0x1c2c, |
| 15 |
0x1c2d, 0x1c2e, 0x1c2f, 0x1c30 }; |
| 16 |
VECT_VAR_DECL(expected,int,32,4) [] = { 0x21ce, 0x21cf, 0x21d0, 0x21d1 }; |
| 17 |
VECT_VAR_DECL(expected,uint,16,8) [] = { 0x2773, 0x2774, 0x2775, 0x2776, |
| 18 |
0x2777, 0x2778, 0x2779, 0x277a }; |
| 19 |
VECT_VAR_DECL(expected,uint,32,4) [] = { 0x2d18, 0x2d19, 0x2d1a, 0x2d1b }; |
| 20 |
VECT_VAR_DECL(expected,hfloat,32,4) [] = { 0x4568087b, 0x4568187b, |
| 21 |
0x4568287b, 0x4568387b }; |
| 22 |
|
| 23 |
#include "vmlX_n.inc" |