mirror of https://gitee.com/openkylin/qemu.git
tests/tcg: target/mips: Include isa/ase and group name in test output
For better appearance and usefullnes, include ISA/ASE name and instruction group name in the output of tests. For example, all this data will be displayed for FMAX_A.W test: | MSA | Float Max Min | FMAX_A.W | | PASS: 80 | FAIL: 0 | elapsed time: 0.16 ms | (the data will be displayed in one row; they are presented here in two rows not to exceed the width of the commit message) Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com> Reviewed-by: Aleksandar Rikalo <arikalo@wavecomp.com> Message-Id: <1561031359-6727-2-git-send-email-aleksandar.markovic@rt-rk.com>
This commit is contained in:
parent
1f8929d241
commit
8e6fe6b8ba
|
@ -30,11 +30,13 @@
|
|||
#define PRINT_RESULTS 0
|
||||
|
||||
|
||||
static inline int32_t check_results(const char *instruction_name,
|
||||
const uint32_t test_count,
|
||||
const double elapsed_time,
|
||||
const uint64_t *b128_result,
|
||||
const uint64_t *b128_expect)
|
||||
static inline int32_t check_results_128(const char *isa_ase_name,
|
||||
const char *group_name,
|
||||
const char *instruction_name,
|
||||
const uint32_t test_count,
|
||||
const double elapsed_time,
|
||||
const uint64_t *b128_result,
|
||||
const uint64_t *b128_expect)
|
||||
{
|
||||
#if PRINT_RESULTS
|
||||
uint32_t ii;
|
||||
|
@ -56,7 +58,8 @@ static inline int32_t check_results(const char *instruction_name,
|
|||
uint32_t pass_count = 0;
|
||||
uint32_t fail_count = 0;
|
||||
|
||||
printf("%s: ", instruction_name);
|
||||
printf("| %-10s \t| %-20s\t| %-16s \t|",
|
||||
isa_ase_name, group_name, instruction_name);
|
||||
for (i = 0; i < test_count; i++) {
|
||||
if ((b128_result[2 * i] == b128_expect[2 * i]) &&
|
||||
(b128_result[2 * i + 1] == b128_expect[2 * i + 1])) {
|
||||
|
@ -66,7 +69,7 @@ static inline int32_t check_results(const char *instruction_name,
|
|||
}
|
||||
}
|
||||
|
||||
printf("\tPASS: %3d \tFAIL: %3d \telapsed time: %5.2f ms\n",
|
||||
printf(" PASS: %3d \t| FAIL: %3d \t| elapsed time: %5.2f ms \t|\n",
|
||||
pass_count, fail_count, elapsed_time);
|
||||
|
||||
if (fail_count > 0) {
|
||||
|
|
|
@ -30,7 +30,9 @@
|
|||
#define PRINT_RESULTS 0
|
||||
|
||||
|
||||
static inline int32_t check_results_64(const char *instruction_name,
|
||||
static inline int32_t check_results_64(const char *isa_ase_name,
|
||||
const char *group_name,
|
||||
const char *instruction_name,
|
||||
const uint32_t test_count,
|
||||
const double elapsed_time,
|
||||
const uint64_t *b64_result,
|
||||
|
@ -55,7 +57,8 @@ static inline int32_t check_results_64(const char *instruction_name,
|
|||
uint32_t pass_count = 0;
|
||||
uint32_t fail_count = 0;
|
||||
|
||||
printf("%s: ", instruction_name);
|
||||
printf("| %-10s \t| %-20s\t| %-16s \t|",
|
||||
isa_ase_name, group_name, instruction_name);
|
||||
for (i = 0; i < test_count; i++) {
|
||||
if (b64_result[i] == b64_expect[i]) {
|
||||
pass_count++;
|
||||
|
@ -64,7 +67,7 @@ static inline int32_t check_results_64(const char *instruction_name,
|
|||
}
|
||||
}
|
||||
|
||||
printf("PASS: %3d FAIL: %3d elapsed time: %5.2f ms\n",
|
||||
printf(" PASS: %3d \t| FAIL: %3d \t| elapsed time: %5.2f ms \t|\n",
|
||||
pass_count, fail_count, elapsed_time);
|
||||
|
||||
if (fail_count > 0) {
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "NLOC.B";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Count";
|
||||
char *instruction_name = "NLOC.B";
|
||||
int32_t ret;
|
||||
uint32_t i;
|
||||
struct timeval start, end;
|
||||
|
@ -139,8 +141,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "NLOC.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Count";
|
||||
char *instruction_name = "NLOC.D";
|
||||
int32_t ret;
|
||||
uint32_t i;
|
||||
struct timeval start, end;
|
||||
|
@ -139,8 +141,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "NLOC.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Count";
|
||||
char *instruction_name = "NLOC.H";
|
||||
int32_t ret;
|
||||
uint32_t i;
|
||||
struct timeval start, end;
|
||||
|
@ -139,8 +141,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "NLOC.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Count";
|
||||
char *instruction_name = "NLOC.W";
|
||||
int32_t ret;
|
||||
uint32_t i;
|
||||
struct timeval start, end;
|
||||
|
@ -139,8 +141,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "NLZC.B";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Count";
|
||||
char *instruction_name = "NLZC.B";
|
||||
int32_t ret;
|
||||
uint32_t i;
|
||||
struct timeval start, end;
|
||||
|
@ -139,8 +141,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "NLZC.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Count";
|
||||
char *instruction_name = "NLZC.D";
|
||||
int32_t ret;
|
||||
uint32_t i;
|
||||
struct timeval start, end;
|
||||
|
@ -139,8 +141,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "NLZC.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Count";
|
||||
char *instruction_name = "NLZC.H";
|
||||
int32_t ret;
|
||||
uint32_t i;
|
||||
struct timeval start, end;
|
||||
|
@ -139,8 +141,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "NLZC.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Count";
|
||||
char *instruction_name = "NLZC.W";
|
||||
int32_t ret;
|
||||
uint32_t i;
|
||||
struct timeval start, end;
|
||||
|
@ -139,8 +141,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "PCNT.B";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Count";
|
||||
char *instruction_name = "PCNT.B";
|
||||
int32_t ret;
|
||||
uint32_t i;
|
||||
struct timeval start, end;
|
||||
|
@ -139,8 +141,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "PCNT.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Count";
|
||||
char *instruction_name = "PCNT.D";
|
||||
int32_t ret;
|
||||
uint32_t i;
|
||||
struct timeval start, end;
|
||||
|
@ -139,8 +141,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "PCNT.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Count";
|
||||
char *instruction_name = "PCNT.H";
|
||||
int32_t ret;
|
||||
uint32_t i;
|
||||
struct timeval start, end;
|
||||
|
@ -139,8 +141,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "PCNT.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Count";
|
||||
char *instruction_name = "PCNT.W";
|
||||
int32_t ret;
|
||||
uint32_t i;
|
||||
struct timeval start, end;
|
||||
|
@ -139,8 +141,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "BCLR.B";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Set";
|
||||
char *instruction_name = "BCLR.B";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -148,8 +150,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "BCLR.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Set";
|
||||
char *instruction_name = "BCLR.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -148,8 +150,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "BCLR.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Set";
|
||||
char *instruction_name = "BCLR.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -148,8 +150,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "BCLR.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Set";
|
||||
char *instruction_name = "BCLR.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -148,8 +150,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "BNEG.B";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Set";
|
||||
char *instruction_name = "BNEG.B";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -148,8 +150,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "BNEG.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Set";
|
||||
char *instruction_name = "BNEG.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -148,8 +150,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "BNEG.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Set";
|
||||
char *instruction_name = "BNEG.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -148,8 +150,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "BNEG.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Set";
|
||||
char *instruction_name = "BNEG.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -148,8 +150,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "BSET.B";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Set";
|
||||
char *instruction_name = "BSET.B";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -148,8 +150,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "BSET.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Set";
|
||||
char *instruction_name = "BSET.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -148,8 +150,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "BSET.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Set";
|
||||
char *instruction_name = "BSET.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -148,8 +150,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "BSET.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Bit Set";
|
||||
char *instruction_name = "BSET.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -148,8 +150,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "MUL_Q.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Fixed Multiply";
|
||||
char *instruction_name = "MUL_Q.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "MUL_Q.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Fixed Multiply";
|
||||
char *instruction_name = "MUL_Q.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "MULR_Q.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Fixed Multiply";
|
||||
char *instruction_name = "MULR_Q.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "MULR_Q.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Fixed Multiply";
|
||||
char *instruction_name = "MULR_Q.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "FMAX_A.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Float Max Min";
|
||||
char *instruction_name = "FMAX_A.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -148,8 +150,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "FMAX_A.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Float Max Min";
|
||||
char *instruction_name = "FMAX_A.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -148,8 +150,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "FMAX.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Float Max Min";
|
||||
char *instruction_name = "FMAX.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -148,8 +150,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "FMAX.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Float Max Min";
|
||||
char *instruction_name = "FMAX.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -148,8 +150,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "FMIN_A.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Float Max Min";
|
||||
char *instruction_name = "FMIN_A.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -148,8 +150,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "FMIN_A.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Float Max Min";
|
||||
char *instruction_name = "FMIN_A.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -148,8 +150,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "FMIN.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Float Max Min";
|
||||
char *instruction_name = "FMIN.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -148,8 +150,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "FMIN.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Float Max Min";
|
||||
char *instruction_name = "FMIN.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -148,8 +150,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "ADD_A.B";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "ADD_A.B";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "ADD_A.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "ADD_A.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "ADD_A.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "ADD_A.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "ADD_A.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "ADD_A.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "ADDS_A.B";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "ADDS_A.B";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "ADDS_A.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "ADDS_A.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "ADDS_A.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "ADDS_A.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "ADDS_A.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "ADDS_A.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "ADDS_S.B";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "ADDS_S.B";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "ADDS_S.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "ADDS_S.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "ADDS_S.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "ADDS_S.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "ADDS_S.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "ADDS_S.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "ADDS_U.B";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "ADDS_U.B";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "ADDS_U.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "ADDS_U.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "ADDS_U.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "ADDS_U.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "ADDS_U.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "ADDS_U.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "ADDV.B";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "ADDV.B";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "ADDV.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "ADDV.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "ADDV.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "ADDV.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "ADDV.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "ADDV.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "HADD_S.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "HADD_S.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "HADD_S.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "HADD_S.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "HADD_S.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "HADD_S.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "HADD_U.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "HADD_U.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "HADD_U.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "HADD_U.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "HADD_U.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Add";
|
||||
char *instruction_name = "HADD_U.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "AVE_S.B";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Average";
|
||||
char *instruction_name = "AVE_S.B";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "AVE_S.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Average";
|
||||
char *instruction_name = "AVE_S.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "AVE_S.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Average";
|
||||
char *instruction_name = "AVE_S.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "AVE_S.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Average";
|
||||
char *instruction_name = "AVE_S.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "AVE_U.B";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Average";
|
||||
char *instruction_name = "AVE_U.B";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "AVE_U.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Average";
|
||||
char *instruction_name = "AVE_U.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "AVE_U.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Average";
|
||||
char *instruction_name = "AVE_U.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "AVE_U.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Average";
|
||||
char *instruction_name = "AVE_U.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "AVER_S.B";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Average";
|
||||
char *instruction_name = "AVER_S.B";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "AVER_S.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Average";
|
||||
char *instruction_name = "AVER_S.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "AVER_S.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Average";
|
||||
char *instruction_name = "AVER_S.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "AVER_S.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Average";
|
||||
char *instruction_name = "AVER_S.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "AVER_U.B";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Average";
|
||||
char *instruction_name = "AVER_U.B";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "AVER_U.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Average";
|
||||
char *instruction_name = "AVER_U.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "AVER_U.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Average";
|
||||
char *instruction_name = "AVER_U.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "AVER_U.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Average";
|
||||
char *instruction_name = "AVER_U.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "CEQ.B";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Compare";
|
||||
char *instruction_name = "CEQ.B";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "CEQ.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Compare";
|
||||
char *instruction_name = "CEQ.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "CEQ.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Compare";
|
||||
char *instruction_name = "CEQ.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "CEQ.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Compare";
|
||||
char *instruction_name = "CEQ.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "CLE_S.B";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Compare";
|
||||
char *instruction_name = "CLE_S.B";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "CLE_S.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Compare";
|
||||
char *instruction_name = "CLE_S.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "CLE_S.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Compare";
|
||||
char *instruction_name = "CLE_S.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "CLE_S.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Compare";
|
||||
char *instruction_name = "CLE_S.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "CLE_U.B";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Compare";
|
||||
char *instruction_name = "CLE_U.B";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "CLE_U.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Compare";
|
||||
char *instruction_name = "CLE_U.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "CLE_U.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Compare";
|
||||
char *instruction_name = "CLE_U.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "CLE_U.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Compare";
|
||||
char *instruction_name = "CLE_U.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "CLT_S.B";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Compare";
|
||||
char *instruction_name = "CLT_S.B";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "CLT_S.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Compare";
|
||||
char *instruction_name = "CLT_S.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "CLT_S.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Compare";
|
||||
char *instruction_name = "CLT_S.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "CLT_S.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Compare";
|
||||
char *instruction_name = "CLT_S.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "CLT_U.B";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Compare";
|
||||
char *instruction_name = "CLT_U.B";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "CLT_U.D";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Compare";
|
||||
char *instruction_name = "CLT_U.D";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "CLT_U.H";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Compare";
|
||||
char *instruction_name = "CLT_U.H";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
|
||||
int32_t main(void)
|
||||
{
|
||||
char *instruction_name = "CLT_U.W";
|
||||
char *isa_ase_name = "MSA";
|
||||
char *group_name = "Int Compare";
|
||||
char *instruction_name = "CLT_U.W";
|
||||
int32_t ret;
|
||||
uint32_t i, j;
|
||||
struct timeval start, end;
|
||||
|
@ -150,8 +152,9 @@ int32_t main(void)
|
|||
elapsed_time = (end.tv_sec - start.tv_sec) * 1000.0;
|
||||
elapsed_time += (end.tv_usec - start.tv_usec) / 1000.0;
|
||||
|
||||
ret = check_results(instruction_name, TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
ret = check_results_128(isa_ase_name, group_name, instruction_name,
|
||||
TEST_COUNT_TOTAL, elapsed_time,
|
||||
&b128_result[0][0], &b128_expect[0][0]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue