target/mips: Amend tests for MSA binary integer operations
PATCH 1/1 target/mips: Amend tests for MSA binary integer operations
From: Mateja Marjanovic <[email protected]>
Amend tests for certain MSA binary integer instructions (for example DIV_S.B) by appending two missing test cases to complete standard battery of 80 test cases for each such instruction. Expected values were pulled from the results of the MIPS64r6 machine that executed those instruction, and QEMU emulation should produce the same results.
--- .../mips/user/ase/msa/int-add/test_msa_add_a_b.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_add_a_d.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_add_a_h.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_add_a_w.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_adds_a_b.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_adds_a_d.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_adds_a_h.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_adds_a_w.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_adds_s_b.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_adds_s_d.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_adds_s_h.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_adds_s_w.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_adds_u_b.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_adds_u_d.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_adds_u_h.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_adds_u_w.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_addv_b.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_addv_d.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_addv_h.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_addv_w.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_hadd_s_d.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_hadd_s_h.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_hadd_s_w.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_hadd_u_d.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_hadd_u_h.c | 4 +- .../mips/user/ase/msa/int-add/test_msa_hadd_u_w.c | 4 +- .../user/ase/msa/int-average/test_msa_ave_s_b.c | 2 + .../user/ase/msa/int-average/test_msa_ave_s_d.c | 2 + .../user/ase/msa/int-average/test_msa_ave_s_h.c | 2 + .../user/ase/msa/int-average/test_msa_ave_s_w.c | 2 + .../user/ase/msa/int-average/test_msa_ave_u_b.c | 2 + .../user/ase/msa/int-average/test_msa_ave_u_d.c | 2 + .../user/ase/msa/int-average/test_msa_ave_u_h.c | 2 + .../user/ase/msa/int-average/test_msa_ave_u_w.c | 2 + .../user/ase/msa/int-average/test_msa_aver_s_b.c | 2 + .../user/ase/msa/int-average/test_msa_aver_s_d.c | 2 + .../user/ase/msa/int-average/test_msa_aver_s_h.c | 2 + .../user/ase/msa/int-average/test_msa_aver_s_w.c | 2 + .../user/ase/msa/int-average/test_msa_aver_u_b.c | 2 + .../user/ase/msa/int-average/test_msa_aver_u_d.c | 2 + .../user/ase/msa/int-average/test_msa_aver_u_h.c | 2 + .../user/ase/msa/int-average/test_msa_aver_u_w.c | 2 + .../user/ase/msa/int-divide/test_msa_div_s_b.c | 2 + .../user/ase/msa/int-divide/test_msa_div_s_d.c | 2 + .../user/ase/msa/int-divide/test_msa_div_s_h.c | 2 + .../user/ase/msa/int-divide/test_msa_div_s_w.c | 2 + .../user/ase/msa/int-divide/test_msa_div_u_b.c | 2 + .../user/ase/msa/int-divide/test_msa_div_u_d.c | 2 + .../user/ase/msa/int-divide/test_msa_div_u_h.c | 2 + .../user/ase/msa/int-divide/test_msa_div_u_w.c | 2 + .../ase/msa/int-dot-product/test_msa_dotp_s_d.c | 2 + .../ase/msa/int-dot-product/test_msa_dotp_s_h.c | 2 + .../ase/msa/int-dot-product/test_msa_dotp_s_w.c | 2 + .../ase/msa/int-dot-product/test_msa_dotp_u_d.c | 2 + .../ase/msa/int-dot-product/test_msa_dotp_u_h.c | 2 + .../ase/msa/int-dot-product/test_msa_dotp_u_w.c | 2 + .../user/ase/msa/int-modulo/test_msa_mod_s_b.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-modulo/test_msa_mod_s_d.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-modulo/test_msa_mod_s_h.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-modulo/test_msa_mod_s_w.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-modulo/test_msa_mod_u_b.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-modulo/test_msa_mod_u_d.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-modulo/test_msa_mod_u_h.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-modulo/test_msa_mod_u_w.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-multiply/test_msa_mul_q_h.c | 2 + .../user/ase/msa/int-multiply/test_msa_mul_q_w.c | 2 + .../user/ase/msa/int-multiply/test_msa_mulr_q_h.c | 2 + .../user/ase/msa/int-multiply/test_msa_mulr_q_w.c | 2 + .../user/ase/msa/int-multiply/test_msa_mulv_b.c | 2 + .../user/ase/msa/int-multiply/test_msa_mulv_d.c | 2 + .../user/ase/msa/int-multiply/test_msa_mulv_h.c | 2 + .../user/ase/msa/int-multiply/test_msa_mulv_w.c | 2 + .../user/ase/msa/int-subtract/test_msa_asub_s_b.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-subtract/test_msa_asub_s_d.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-subtract/test_msa_asub_s_h.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-subtract/test_msa_asub_s_w.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-subtract/test_msa_asub_u_b.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-subtract/test_msa_asub_u_d.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-subtract/test_msa_asub_u_h.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-subtract/test_msa_asub_u_w.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-subtract/test_msa_hsub_s_d.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-subtract/test_msa_hsub_s_h.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-subtract/test_msa_hsub_s_w.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-subtract/test_msa_hsub_u_d.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-subtract/test_msa_hsub_u_h.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-subtract/test_msa_hsub_u_w.c | 153 +++++++++++++++++++++ .../user/ase/msa/int-subtract/test_msa_subs_s_b.c | 2 + .../user/ase/msa/int-subtract/test_msa_subs_s_d.c | 2 + .../user/ase/msa/int-subtract/test_msa_subs_s_h.c | 2 + .../user/ase/msa/int-subtract/test_msa_subs_s_w.c | 2 + .../user/ase/msa/int-subtract/test_msa_subs_u_b.c | 2 + .../user/ase/msa/int-subtract/test_msa_subs_u_d.c | 2 + .../user/ase/msa/int-subtract/test_msa_subs_u_h.c | 2 + .../user/ase/msa/int-subtract/test_msa_subs_u_w.c | 2 + .../ase/msa/int-subtract/test_msa_subsus_u_b.c | 2 + .../ase/msa/int-subtract/test_msa_subsus_u_d.c | 2 + .../ase/msa/int-subtract/test_msa_subsus_u_h.c | 2 + .../ase/msa/int-subtract/test_msa_subsus_u_w.c | 2 + .../ase/msa/int-subtract/test_msa_subsuu_s_b.c | 2 + .../ase/msa/int-subtract/test_msa_subsuu_s_d.c | 2 + .../ase/msa/int-subtract/test_msa_subsuu_s_h.c | 2 + .../ase/msa/int-subtract/test_msa_subsuu_s_w.c | 2 + .../user/ase/msa/int-subtract/test_msa_subv_b.c | 2 + .../user/ase/msa/int-subtract/test_msa_subv_d.c | 2 + .../user/ase/msa/int-subtract/test_msa_subv_h.c | 2 + 105 files changed, 3558 insertions(+), 26 deletions(-) create mode 100644 tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_s_b.c create mode 100644 tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_s_d.c create mode 100644 tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_s_h.c create mode 100644 tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_s_w.c create mode 100644 tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_u_b.c create mode 100644 tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_u_d.c create mode 100644 tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_u_h.c create mode 100644 tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_u_w.c create mode 100644 tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_s_b.c create mode 100644 tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_s_d.c create mode 100644 tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_s_h.c create mode 100644 tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_s_w.c create mode 100644 tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_u_b.c create mode 100644 tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_u_d.c create mode 100644 tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_u_h.c create mode 100644 tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_u_w.c create mode 100644 tests/tcg/mips/user/ase/msa/int-subtract/test_msa_hsub_s_d.c create mode 100644 tests/tcg/mips/user/ase/msa/int-subtract/test_msa_hsub_s_h.c create mode 100644 tests/tcg/mips/user/ase/msa/int-subtract/test_msa_hsub_s_w.c create mode 100644 tests/tcg/mips/user/ase/msa/int-subtract/test_msa_hsub_u_d.c create mode 100644 tests/tcg/mips/user/ase/msa/int-subtract/test_msa_hsub_u_h.c create mode 100644 tests/tcg/mips/user/ase/msa/int-subtract/test_msa_hsub_u_w.c
tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_b.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction ADD_A.B * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0xc4a968a3a56293ceULL, 0x9a37b229ac6d4374ULL, }, { 0xe8b930818693738eULL, 0xbe76838659bd6e6cULL, }, { 0x759116b0ab9e5756ULL, 0x8518bd426c817064ULL, }, + { 0xc4a968a3a56293ceULL, 0x9a37b229ac6d4374ULL, }, + { 0xe09e2c9abc623c9cULL, 0xe61ef050ae843cc0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_d.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction ADD_A.D * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0xc3f467a2a46256ceULL, 0x99e73e2701e84274ULL, }, { 0xe7e42f8135cf8d0eULL, 0xbd7582865538cd6cULL, }, { 0x749115ea109e1b46ULL, 0x850632416bfc705cULL, }, + { 0xc3f467a2a46256ceULL, 0x99e73e2701e84274ULL, }, + { 0xe09e2c9abc63c49cULL, 0xe41cee4ead7a3ac0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_h.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction ADD_A.H * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0xc3f567a3a4629232ULL, 0x99e7b029ab934274ULL, }, { 0xe7e52f81869372f2ULL, 0xbd76828658436d54ULL, }, { 0x749116b0abc456aaULL, 0x8506bc0e6bfd705cULL, }, + { 0xc3f567a3a4629232ULL, 0x99e7b029ab934274ULL, }, + { 0xe09e2c9abc623b64ULL, 0xe41eee50ad7c3ac0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_w.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction ADD_A.W * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0xc3f467a3a46256ceULL, 0x99e73e27ab91f84cULL, }, { 0xe7e42f818694378eULL, 0xbd75828658416d54ULL, }, { 0x749115eaabc5a956ULL, 0x850632426bfc705cULL, }, + { 0xc3f467a3a46256ceULL, 0x99e73e27ab91f84cULL, }, + { 0xe09e2c9abc63c49cULL, 0xe41cee50ad7a3ac0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_b.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction ADDS_A.B * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0x7f7f687f7f627f7fULL, 0x7f377f297f6d4374ULL, }, { 0x7f7f307f7f7f737fULL, 0x7f767f7f597f6e6cULL, }, { 0x757f167f7f7f5756ULL, 0x7f187f426c7f7064ULL, }, + { 0x7f7f687f7f627f7fULL, 0x7f377f297f6d4374ULL, }, + { 0x7f7f2c7f7f623c7fULL, 0x7f1e7f507f7f3c7fULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_d.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction ADDS_A.D * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0x7fffffffffffffffULL, 0x7fffffffffffffffULL, }, { 0x7fffffffffffffffULL, 0x7fffffffffffffffULL, }, { 0x749115ea109e1b46ULL, 0x7fffffffffffffffULL, }, + { 0x7fffffffffffffffULL, 0x7fffffffffffffffULL, }, + { 0x7fffffffffffffffULL, 0x7fffffffffffffffULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_h.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction ADDS_A.H * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0x7fff67a37fff7fffULL, 0x7fff7fff7fff4274ULL, }, { 0x7fff2f817fff72f2ULL, 0x7fff7fff58436d54ULL, }, { 0x749116b07fff56aaULL, 0x7fff7fff6bfd705cULL, }, + { 0x7fff67a37fff7fffULL, 0x7fff7fff7fff4274ULL, }, + { 0x7fff2c9a7fff3b64ULL, 0x7fff7fff7fff3ac0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_w.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction ADDS_A.W * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0x7fffffff7fffffffULL, 0x7fffffff7fffffffULL, }, { 0x7fffffff7fffffffULL, 0x7fffffff58416d54ULL, }, { 0x749115ea7fffffffULL, 0x7fffffff6bfc705cULL, }, + { 0x7fffffff7fffffffULL, 0x7fffffff7fffffffULL, }, + { 0x7fffffff7fffffffULL, 0x7fffffff7fffffffULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_b.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction ADDS_S.B * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0x1c7fc4f7170080ceULL, 0xb4c980d7806d07b4ULL, }, { 0xf87ffc197f7f377fULL, 0xd8589336a77f92acULL, }, { 0x6b0d167f7fc4a956ULL, 0x9fe880f2be7f349cULL, }, + { 0x1c7fc4f7170080ceULL, 0xb4c980d7806d07b4ULL, }, + { 0x7f7f2c7f7f62c47fULL, 0x80e280b0807fc480ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_d.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction ADDS_S.D * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0x1ca9c4f818016dceULL, 0xb5ca4fd8546e07b4ULL, }, { 0xf8b9fd198694378eULL, 0xd9589437a7be92acULL, }, { 0x6c0d16b0abc5a956ULL, 0xa0e943f2be82359cULL, }, + { 0x1ca9c4f818016dceULL, 0xb5ca4fd8546e07b4ULL, }, + { 0x7fffffffffffffffULL, 0x8000000000000000ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_h.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction ADDS_S.H * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0x1ca9c4f718008000ULL, 0xb5c98000800007b4ULL, }, { 0xf8b9fd197fff378eULL, 0xd9589436a7bd92acULL, }, { 0x6c0d16b07fffa956ULL, 0xa0e88000be81359cULL, }, + { 0x1ca9c4f718008000ULL, 0xb5c98000800007b4ULL, }, + { 0x7fff2c9a7fffc49cULL, 0x800080008000c540ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_w.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction ADDS_S.W * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0x1ca9c4f718016dceULL, 0xb5ca4fd780000000ULL, }, { 0xf8b9fd197fffffffULL, 0xd9589436a7be92acULL, }, { 0x6c0d16b07fffffffULL, 0xa0e943f2be82359cULL, }, + { 0x1ca9c4f718016dceULL, 0xb5ca4fd780000000ULL, }, + { 0x7fffffff7fffffffULL, 0x8000000080000000ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_b.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction ADDS_U.B * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0xffa9c4f7ffffffceULL, 0xb4ffffffff6dffb4ULL, }, { 0xf8b9fcff8693ff8eULL, 0xd8ff93ffffbdffacULL, }, { 0xffff16b0abc4ff56ULL, 0x9ffffff2be81ffffULL, }, + { 0xffa9c4f7ffffffceULL, 0xb4ffffffff6dffb4ULL, }, + { 0xe09e2c9abc62ff9cULL, 0xffffffffff84ffffULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_d.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction ADDS_U.D * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0xffffffffffffffffULL, 0xb5ca4fd8546e07b4ULL, }, { 0xf8b9fd198694378eULL, 0xd9589437a7be92acULL, }, { 0xffffffffffffffffULL, 0xa0e943f2be82359cULL, }, + { 0xffffffffffffffffULL, 0xb5ca4fd8546e07b4ULL, }, + { 0xe09e2c9abc63c49cULL, 0xffffffffffffffffULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_h.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction ADDS_U.H * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0xffffc4f7ffffffffULL, 0xb5c9ffffffffffffULL, }, { 0xf8b9fd198693ffffULL, 0xd9589436ffffffffULL, }, { 0xffff16b0abc4ffffULL, 0xa0e8ffffbe81ffffULL, }, + { 0xffffc4f7ffffffffULL, 0xb5c9ffffffffffffULL, }, + { 0xe09e2c9abc62ffffULL, 0xffffffffffffffffULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_w.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction ADDS_U.W * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0xffffffffffffffffULL, 0xb5ca4fd7ffffffffULL, }, { 0xf8b9fd198694378eULL, 0xd9589436ffffffffULL, }, { 0xffffffffabc5a956ULL, 0xa0e943f2be82359cULL, }, + { 0xffffffffffffffffULL, 0xb5ca4fd7ffffffffULL, }, + { 0xe09e2c9abc63c49cULL, 0xffffffffffffffffULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_b.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction ADDV.B * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0x1ca9c4f717006dceULL, 0xb4c94ed7546d07b4ULL, }, { 0xf8b9fc198693378eULL, 0xd8589336a7bd92acULL, }, { 0x6b0d16b0abc4a956ULL, 0x9fe843f2be81349cULL, }, + { 0x1ca9c4f717006dceULL, 0xb4c94ed7546d07b4ULL, }, + { 0xe09e2c9abc62c49cULL, 0x1ae210b05284c440ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_d.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction ADDV.D * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0x1ca9c4f818016dceULL, 0xb5ca4fd8546e07b4ULL, }, { 0xf8b9fd198694378eULL, 0xd9589437a7be92acULL, }, { 0x6c0d16b0abc5a956ULL, 0xa0e943f2be82359cULL, }, + { 0x1ca9c4f818016dceULL, 0xb5ca4fd8546e07b4ULL, }, + { 0xe09e2c9abc63c49cULL, 0x1be311b15285c540ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_h.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction ADDV.H * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0x1ca9c4f718006dceULL, 0xb5c94fd7546d07b4ULL, }, { 0xf8b9fd198693378eULL, 0xd9589436a7bd92acULL, }, { 0x6c0d16b0abc4a956ULL, 0xa0e843f2be81359cULL, }, + { 0x1ca9c4f718006dceULL, 0xb5c94fd7546d07b4ULL, }, + { 0xe09e2c9abc62c49cULL, 0x1be211b05284c540ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_w.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction ADDV.W * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0x1ca9c4f718016dceULL, 0xb5ca4fd7546e07b4ULL, }, { 0xf8b9fd198694378eULL, 0xd9589436a7be92acULL, }, { 0x6c0d16b0abc5a956ULL, 0xa0e943f2be82359cULL, }, + { 0x1ca9c4f718016dceULL, 0xb5ca4fd7546e07b4ULL, }, + { 0xe09e2c9abc63c49cULL, 0x1be311b05285c540ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_d.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction HADD_S.D * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0x000000000a8c90f8ULL, 0xffffffffd11ba99fULL, }, { 0x0000000098b16b8dULL, 0xffffffff8c6d38e4ULL, }, { 0x00000000bde2dd55ULL, 0xffffffffa330dbd4ULL, }, + { 0x000000002a1ea1cdULL, 0xffffffff391cadecULL, }, + { 0x00000000ce80f89bULL, 0xffffffff37346b78ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_h.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction HADD_S.H * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0xfffbfffbffeaffd9ULL, 0x0018ff9effedffc5ULL, }, { 0x00daffe200c00022ULL, 0xfff4ffe60024ffeeULL, }, { 0x002e0079fff1ffeaULL, 0xff84ffa2ffe8ffdeULL, }, + { 0x00caffc0002dff62ULL, 0xff65ff87ffd4fff6ULL, }, + { 0x00bf0063008f0030ULL, 0xff7eff60ffebff82ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_w.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction HADD_S.W * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0xffffc2a7ffff9c1dULL, 0xffffb0b0ffff8dcbULL, }, { 0x0000571b0000b371ULL, 0xffff994fffff594eULL, }, { 0x000070b200002539ULL, 0xffff490bfffffc3eULL, }, + { 0x00001ef9ffffe9b1ULL, 0xffff54f0ffffce56ULL, }, + { 0x0000869c0000407fULL, 0xffff16c9ffff8be2ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_d.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction HADD_U.D * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0x000000010a8c90f8ULL, 0x00000000d11ba99fULL, }, { 0x0000000098b16b8dULL, 0x000000018c6d38e4ULL, }, { 0x00000000bde2dd55ULL, 0x00000000a330dbd4ULL, }, + { 0x000000012a1ea1cdULL, 0x00000001391cadecULL, }, + { 0x00000000ce80f89bULL, 0x0000000137346b78ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_h.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction HADD_U.H * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0x00fb00fb00ea00d9ULL, 0x0118019e00ed00c5ULL, }, { 0x00da00e200c00122ULL, 0x00f400e6012400eeULL, }, { 0x012e007900f100eaULL, 0x018400a200e801deULL, }, + { 0x00ca00c0012d0162ULL, 0x0165018700d400f6ULL, }, + { 0x00bf0063008f0130ULL, 0x017e016000eb0182ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_w.c +3 -1
@@ -2,7 +2,7 @@* Test program for MSA instruction HADD_U.W * * Copyright (C) 2018 Wave Computing, Inc. -* Copyright (C) 2018 Aleksandar Markovic <[email protected]> +* Copyright (C) 2018 Mateja Marjanovic <[email protected]> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
@@ -119,6 +119,8 @@ int32_t main(void) { 0x0000c2a700019c1dULL, 0x0000b0b000018dcbULL, }, { 0x0001571b0000b371ULL, 0x0000994f0001594eULL, }, { 0x000070b200012539ULL, 0x0001490b0000fc3eULL, }, + { 0x00011ef90000e9b1ULL, 0x000154f00000ce56ULL, }, + { 0x0000869c0001407fULL, 0x000116c900018be2ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_s_b.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x0e54e2fb0b00b6e7ULL, 0xdae4a7ebaa3603daULL, }, { 0xfc5cfe0c43491b47ULL, 0xec2cc91bd35ec9d6ULL, }, { 0x35060b5855e2d42bULL, 0xcff4a1f9df401aceULL, }, + { 0x0e54e2fb0b00b6e7ULL, 0xdae4a7ebaa3603daULL, }, + { 0x704f164d5e31e24eULL, 0x8df188d8a942e2a0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_s_d.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x0e54e27c0c00b6e7ULL, 0xdae527ec2a3703daULL, }, { 0xfc5cfe8cc34a1bc7ULL, 0xecac4a1bd3df4956ULL, }, { 0x36068b5855e2d4abULL, 0xd074a1f95f411aceULL, }, + { 0x0e54e27c0c00b6e7ULL, 0xdae527ec2a3703daULL, }, + { 0x704f164d5e31e24eULL, 0x8df188d8a942e2a0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_s_h.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x0e54e27b0c00b6e7ULL, 0xdae4a7ebaa3603daULL, }, { 0xfc5cfe8c43491bc7ULL, 0xecacca1bd3dec956ULL, }, { 0x36060b5855e2d4abULL, 0xd074a1f9df401aceULL, }, + { 0x0e54e27b0c00b6e7ULL, 0xdae4a7ebaa3603daULL, }, + { 0x704f164d5e31e24eULL, 0x8df188d8a942e2a0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_s_w.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x0e54e27b0c00b6e7ULL, 0xdae527ebaa3703daULL, }, { 0xfc5cfe8c434a1bc7ULL, 0xecac4a1bd3df4956ULL, }, { 0x36068b5855e2d4abULL, 0xd074a1f9df411aceULL, }, + { 0x0e54e27b0c00b6e7ULL, 0xdae527ebaa3703daULL, }, + { 0x704f164d5e31e24eULL, 0x8df188d8a942e2a0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_u_b.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x8e54627b8b80b667ULL, 0x5ae4a7ebaa36835aULL, }, { 0x7c5c7e8c43499b47ULL, 0x6cac499bd35ec956ULL, }, { 0xb5860b585562d42bULL, 0x4ff4a1795f409aceULL, }, + { 0x8e54627b8b80b667ULL, 0x5ae4a7ebaa36835aULL, }, + { 0x704f164d5e31e24eULL, 0x8df188d8a942e2a0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_u_d.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x8e54e27c0c00b6e7ULL, 0x5ae527ec2a3703daULL, }, { 0x7c5cfe8cc34a1bc7ULL, 0x6cac4a1bd3df4956ULL, }, { 0xb6068b5855e2d4abULL, 0x5074a1f95f411aceULL, }, + { 0x8e54e27c0c00b6e7ULL, 0x5ae527ec2a3703daULL, }, + { 0x704f164d5e31e24eULL, 0x8df188d8a942e2a0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_u_h.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x8e54627b8c00b6e7ULL, 0x5ae4a7ebaa3683daULL, }, { 0x7c5c7e8c43499bc7ULL, 0x6cac4a1bd3dec956ULL, }, { 0xb6060b5855e2d4abULL, 0x5074a1f95f409aceULL, }, + { 0x8e54627b8c00b6e7ULL, 0x5ae4a7ebaa3683daULL, }, + { 0x704f164d5e31e24eULL, 0x8df188d8a942e2a0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_u_w.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x8e54e27b8c00b6e7ULL, 0x5ae527ebaa3703daULL, }, { 0x7c5cfe8c434a1bc7ULL, 0x6cac4a1bd3df4956ULL, }, { 0xb6068b5855e2d4abULL, 0x5074a1f95f411aceULL, }, + { 0x8e54e27b8c00b6e7ULL, 0x5ae527ebaa3703daULL, }, + { 0x704f164d5e31e24eULL, 0x8df188d8a942e2a0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_s_b.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x0e55e2fc0c00b7e7ULL, 0xdae5a7ecaa3704daULL, }, { 0xfc5dfe0d434a1c47ULL, 0xec2cca1bd45fc9d6ULL, }, { 0x36070b5856e2d52bULL, 0xd0f4a2f9df411aceULL, }, + { 0x0e55e2fc0c00b7e7ULL, 0xdae5a7ecaa3704daULL, }, + { 0x704f164d5e31e24eULL, 0x8df188d8a942e2a0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_s_d.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x0e54e27c0c00b6e7ULL, 0xdae527ec2a3703daULL, }, { 0xfc5cfe8cc34a1bc7ULL, 0xecac4a1bd3df4956ULL, }, { 0x36068b5855e2d4abULL, 0xd074a1f95f411aceULL, }, + { 0x0e54e27c0c00b6e7ULL, 0xdae527ec2a3703daULL, }, + { 0x704f164d5e31e24eULL, 0x8df188d8a942e2a0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_s_h.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x0e55e27c0c00b6e7ULL, 0xdae5a7ecaa3703daULL, }, { 0xfc5dfe8d434a1bc7ULL, 0xecacca1bd3dfc956ULL, }, { 0x36070b5855e2d4abULL, 0xd074a1f9df411aceULL, }, + { 0x0e55e27c0c00b6e7ULL, 0xdae5a7ecaa3703daULL, }, + { 0x704f164d5e31e24eULL, 0x8df188d8a942e2a0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_s_w.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x0e54e27c0c00b6e7ULL, 0xdae527ecaa3703daULL, }, { 0xfc5cfe8d434a1bc7ULL, 0xecac4a1bd3df4956ULL, }, { 0x36068b5855e2d4abULL, 0xd074a1f9df411aceULL, }, + { 0x0e54e27c0c00b6e7ULL, 0xdae527ecaa3703daULL, }, + { 0x704f164d5e31e24eULL, 0x8df188d8a942e2a0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_u_b.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x8e55627c8c80b767ULL, 0x5ae5a7ecaa37845aULL, }, { 0x7c5d7e8d434a9c47ULL, 0x6cac4a9bd45fc956ULL, }, { 0xb6870b585662d52bULL, 0x50f4a2795f419aceULL, }, + { 0x8e55627c8c80b767ULL, 0x5ae5a7ecaa37845aULL, }, + { 0x704f164d5e31e24eULL, 0x8df188d8a942e2a0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_u_d.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x8e54e27c0c00b6e7ULL, 0x5ae527ec2a3703daULL, }, { 0x7c5cfe8cc34a1bc7ULL, 0x6cac4a1bd3df4956ULL, }, { 0xb6068b5855e2d4abULL, 0x5074a1f95f411aceULL, }, + { 0x8e54e27c0c00b6e7ULL, 0x5ae527ec2a3703daULL, }, + { 0x704f164d5e31e24eULL, 0x8df188d8a942e2a0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_u_h.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x8e55627c8c00b6e7ULL, 0x5ae5a7ecaa3783daULL, }, { 0x7c5d7e8d434a9bc7ULL, 0x6cac4a1bd3dfc956ULL, }, { 0xb6070b5855e2d4abULL, 0x5074a1f95f419aceULL, }, + { 0x8e55627c8c00b6e7ULL, 0x5ae5a7ecaa3783daULL, }, + { 0x704f164d5e31e24eULL, 0x8df188d8a942e2a0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_u_w.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x8e54e27c8c00b6e7ULL, 0x5ae527ecaa3703daULL, }, { 0x7c5cfe8d434a1bc7ULL, 0x6cac4a1bd3df4956ULL, }, { 0xb6068b5855e2d4abULL, 0x5074a1f95f411aceULL, }, + { 0x8e54e27c8c00b6e7ULL, 0x5ae527ecaa3703daULL, }, + { 0x704f164d5e31e24eULL, 0x8df188d8a942e2a0ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_s_b.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x0001fdff00ff03ffULL, 0x000200000000ff00ULL, }, { 0x000000ff02000001ULL, 0xff00f6002b0000f8ULL, }, { 0xeaffff0001000009ULL, 0xfa0101fffc010018ULL, }, + { 0xff000000ffff0000ULL, 0xfe000228010100fcULL, }, + { 0x0101010101010101ULL, 0x0101010101010101ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_s_d.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x0000000000000000ULL, 0x0000000000000000ULL, }, { 0x0000000000000000ULL, 0xffffffffffffffffULL, }, { 0xffffffffffffffe6ULL, 0xfffffffffffffffaULL, }, + { 0xffffffffffffffffULL, 0xfffffffffffffffeULL, }, + { 0x0000000000000001ULL, 0x0000000000000001ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_s_h.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x0000fffd00000003ULL, 0x000000000000ffffULL, }, { 0x0000000000020000ULL, 0xfffffff600390000ULL, }, { 0xffe6003900010000ULL, 0xfffa0001fffc0000ULL, }, + { 0xffff0000ffff0000ULL, 0xfffe000200010000ULL, }, + { 0x0001000100010001ULL, 0x0001000100010001ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_s_w.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x0000000000000000ULL, 0x0000000000000000ULL, }, { 0x0000000000000002ULL, 0xffffffff00000039ULL, }, { 0xffffffe600000001ULL, 0xfffffffafffffffcULL, }, + { 0xffffffffffffffffULL, 0xfffffffe00000001ULL, }, + { 0x0000000100000001ULL, 0x0000000100000001ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_u_b.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x0101070201040001ULL, 0x0000010101000000ULL, }, { 0x0000000002000201ULL, 0x01020c020000010dULL, }, { 0x0000ff0001000109ULL, 0x0700000808010200ULL, }, + { 0x0000000000000100ULL, 0x0301000000010608ULL, }, + { 0x0101010101010101ULL, 0x0101010101010101ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_u_d.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x0000000000000001ULL, 0x0000000000000000ULL, }, { 0x0000000000000000ULL, 0x0000000000000001ULL, }, { 0x0000000000000000ULL, 0x0000000000000007ULL, }, + { 0x0000000000000000ULL, 0x0000000000000003ULL, }, + { 0x0000000000000001ULL, 0x0000000000000001ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_u_h.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x0001000700010000ULL, 0x0000000100010000ULL, }, { 0x0000000000020002ULL, 0x0001000c00000001ULL, }, { 0x0000003900010001ULL, 0x0007000000070002ULL, }, + { 0x0000000000000001ULL, 0x0003000000000006ULL, }, + { 0x0001000100010001ULL, 0x0001000100010001ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_u_w.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x0000000100000001ULL, 0x0000000000000001ULL, }, { 0x0000000000000002ULL, 0x0000000100000000ULL, }, { 0x0000000000000001ULL, 0x0000000700000007ULL, }, + { 0x0000000000000000ULL, 0x0000000300000000ULL, }, + { 0x0000000100000001ULL, 0x0000000100000001ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dotp_s_d.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0xc17a5d0372a2a622ULL, 0x0afd6368668933a8ULL, }, { 0xda65cd5e9f696cdcULL, 0xdeeb6bec644a26d0ULL, }, { 0x1aad30609bff5437ULL, 0xf059a43d01b40370ULL, }, + { 0xc17a5d0372a2a622ULL, 0x0afd6368668933a8ULL, }, + { 0x53edf7dbd76122edULL, 0x50347e61c2f51a40ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dotp_s_h.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0xf706df16dc8de6b6ULL, 0xf0d31b5827f9f42aULL, }, { 0xec36ee202172098aULL, 0xd846ec28206404e0ULL, }, { 0xe9721dc70769091eULL, 0xf8711c48091bf7e4ULL, }, + { 0xf706df16dc8de6b6ULL, 0xf0d31b5827f9f42aULL, }, + { 0x4961190d2be51b48ULL, 0x348a3e802e952784ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dotp_s_w.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0xd437b4e8f3b0139fULL, 0x08c7d980187d5896ULL, }, { 0xc9576c1204f83042ULL, 0xd91d3e4709b06e36ULL, }, { 0xfe2a6f6923268793ULL, 0x179e9377ef4766beULL, }, + { 0xd437b4e8f3b0139fULL, 0x08c7d980187d5896ULL, }, + { 0x33368b8a2619d525ULL, 0x6a47932120c31904ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dotp_u_d.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x8ffb559e72a2a622ULL, 0x8744321b668933a8ULL, }, { 0x4ab4e3ab9f696cdcULL, 0xd21109f6644a26d0ULL, }, { 0x8afc46ad9bff5437ULL, 0x1890b25301b40370ULL, }, + { 0x8ffb559e72a2a622ULL, 0x8744321b668933a8ULL, }, + { 0x53edf7dbd76122edULL, 0xbe9d5551c2f51a40ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dotp_u_h.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x670642166b8da1b6ULL, 0xe0d340587bf92d2aULL, }, { 0x5c36512021725e8aULL, 0x8a465528c764a2e0ULL, }, { 0xa8721dc73869b21eULL, 0xf27179481e1be5e4ULL, }, + { 0x670642166b8da1b6ULL, 0xe0d340587bf92d2aULL, }, + { 0x4961190d2be5df48ULL, 0x308afe8080952b84ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dotp_u_w.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x5ad3b4e8bfaf139fULL, 0x8076d98091fe5896ULL, }, { 0x4ff36c125a383042ULL, 0x2fe23e4744196e36ULL, }, { 0x6e796f69cc7c8793ULL, 0x6e879377578266beULL, }, + { 0x5ad3b4e8bfaf139fULL, 0x8076d98091fe5896ULL, }, + { 0x33368b8aeab5d525ULL, 0x97d9932138871904ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_s_b.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_s_d.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_s_h.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_s_w.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_u_b.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_u_d.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_u_h.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_u_w.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mul_q_h.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0xb69bf1d4cc591b07ULL, 0xdc7e3510397df77dULL, }, { 0x9712fb9b1db7ec38ULL, 0xbccff56b01071259ULL, }, { 0xfc43001139150d37ULL, 0xef194023f19aecf4ULL, }, + { 0xb69bf1d4cc591b07ULL, 0xdc7e3510397df77dULL, }, + { 0x628a03e2455006e3ULL, 0x65a26eec3ac806bdULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mul_q_w.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0xb69baa39cc590fcdULL, 0xdc7e6df7397c58d9ULL, }, { 0x9713a7171db7f3a5ULL, 0xbccfb4690107236fULL, }, { 0xfc439edc3916c1e4ULL, 0xef19389cf19a0fddULL, }, + { 0xb69baa39cc590fcdULL, 0xdc7e6df7397c58d9ULL, }, + { 0x628a97e4455157d3ULL, 0x65a1c5e13ac736e1ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mulr_q_h.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0xb69bf1d4cc591b07ULL, 0xdc7f3511397df77eULL, }, { 0x9713fb9c1db7ec39ULL, 0xbccff56b01081259ULL, }, { 0xfc44001139160d37ULL, 0xef1a4023f19aecf5ULL, }, + { 0xb69bf1d4cc591b07ULL, 0xdc7f3511397df77eULL, }, + { 0x628a03e3455006e4ULL, 0x65a36eec3ac806beULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mulr_q_w.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0xb69baa3acc590fcdULL, 0xdc7e6df7397c58daULL, }, { 0x9713a7171db7f3a6ULL, 0xbccfb46a0107236fULL, }, { 0xfc439edd3916c1e4ULL, 0xef19389cf19a0fdeULL, }, + { 0xb69baa3acc590fcdULL, 0xdc7e6df7397c58daULL, }, + { 0x628a97e4455157d3ULL, 0x65a1c5e23ac736e2ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mulv_b.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x40c6f422ee9fb600ULL, 0x7b583028e316aa80ULL, }, { 0x80b6c45cb0c20a80ULL, 0x4ff7d850aeb66080ULL, }, { 0xd0a200c74623ae70ULL, 0xea8758f0dd3e6480ULL, }, + { 0x40c6f422ee9fb600ULL, 0x7b583028e316aa80ULL, }, + { 0x0061e429846184c4ULL, 0xa9e1404091048400ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mulv_d.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x76a5ab8089e38100ULL, 0xa1019a60d4dad480ULL, }, { 0xfbe1883aee787980ULL, 0x821d25438dd09f80ULL, }, { 0xedbf72842143b470ULL, 0x7f8223caefce5580ULL, }, + { 0x76a5ab8089e38100ULL, 0xa1019a60d4dad480ULL, }, + { 0x4bb436d5b1e9cfc4ULL, 0x12d1ceb0e31ee400ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mulv_h.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0x8fc62522929f8100ULL, 0x7a585f288416d480ULL, }, { 0x78b6f35cb6c27980ULL, 0xb6f78750ceb69f80ULL, }, { 0xcfa29fc7d323b470ULL, 0xe587adf0113e5580ULL, }, + { 0x8fc62522929f8100ULL, 0x7a585f288416d480ULL, }, + { 0x386153290561cfc4ULL, 0x5ce136403504e400ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mulv_w.c +2 -0
@@ -119,6 +119,8 @@ int32_t main(void) { 0xe8bf252289e38100ULL, 0x91ae5f28d4dad480ULL, }, { 0xb0f0f35cee787980ULL, 0xd67987508dd09f80ULL, }, { 0x7abb9fc72143b470ULL, 0x11e5adf0efce5580ULL, }, + { 0xe8bf252289e38100ULL, 0x91ae5f28d4dad480ULL, }, + { 0x25775329b1e9cfc4ULL, 0xdfd63640e31ee400ULL, }, };gettimeofday (&start,NULL );
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_s_b.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_s_d.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_s_h.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_s_w.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_u_b.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_u_d.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_u_h.c new file +153 -0
138 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_u_w.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_hsub_s_d.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_hsub_s_h.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_hsub_s_w.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_hsub_u_d.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_hsub_u_h.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_hsub_u_w.c new file +153 -0
153 lines not on this page · raw message
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_s_b.c +2 -0
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_s_d.c +2 -0
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_s_h.c +2 -0
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_s_w.c +2 -0
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_u_b.c +2 -0
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_u_d.c +2 -0
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_u_h.c +2 -0
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_u_w.c +2 -0
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsus_u_b.c +2 -0
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsus_u_d.c +2 -0
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsus_u_h.c +2 -0
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsus_u_w.c +2 -0
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsuu_s_b.c +2 -0
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsuu_s_d.c +2 -0
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsuu_s_h.c +2 -0
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsuu_s_w.c +2 -0
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subv_b.c +2 -0
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subv_d.c +2 -0
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subv_h.c +2 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.7.4
Part of the diff is not shown here. View the raw message.
Quoted 11 lines
From: Mateja Marjanovic <[email protected]>
Subject: [PATCH] target/mips: Amend tests for MSA binary integer operationsAmend tests for certain MSA binary integer instructions (for example DIV_S.B) by appending two missing test cases to complete standard battery of 80 test cases for each such instruction. Expected values were pulled from the results of the MIPS64r6 machine that executed those instruction, and QEMU emulation should produce the same results.
Quoted 2 lines
Signed-off-by Mateja Marjanovic <[email protected]>---
I'm afraid your patch doesn't apply to the tip of the source tree:
$ git am target-mips-Amend-tests-for-MSA-binary-integer-operations.patch Applying: target/mips: Amend tests for MSA binary integer operations error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_b.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_b.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_d.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_d.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_h.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_h.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_w.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_w.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_b.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_b.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_d.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_d.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_h.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_h.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_w.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_w.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_b.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_b.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_d.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_d.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_h.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_h.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_w.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_w.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_b.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_b.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_d.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_d.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_h.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_h.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_w.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_w.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_b.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_b.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_d.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_d.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_h.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_h.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_w.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_w.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_d.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_d.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_h.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_h.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_w.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_w.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_d.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_d.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_h.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_h.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_w.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_w.c: patch does not apply Patch failed at 0001 target/mips: Amend tests for MSA binary integer operations The copy of the patch that failed is found in: .git/rebase-apply/patch When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort".
Please update/rebase your tree before sending patches in future.
Thanks,
Aleksandar
Quoted 14 lines
From: Aleksandar Markovic
Subject: Re: [PATCH] target/mips: Amend tests for MSA binary integer operationsQuoted 11 lines
From: Mateja Marjanovic <[email protected]>
Subject: [PATCH] target/mips: Amend tests for MSA binary integer operationsAmend tests for certain MSA binary integer instructions (for example DIV_S.B) by appending two missing test cases to complete standard battery of 80 test cases for each such instruction. Expected values were pulled from the results of the MIPS64r6 machine that executed those instruction, and QEMU emulation should produce the same results.
Quoted 4 lines
Quoted 2 lines
Signed-off-by Mateja Marjanovic <[email protected]>---
I'm afraid your patch doesn't apply to the tip of the source tree:
Unfortunately, Mateja, even after resolving patch application conflicts, the code doesn't build.
For example, wrappers for many MSA instructions are missing, and there are other problems too.
The patch needs a major amending and refactoring, which I will do tomorrow, or in next few days, so that you can focus on your other remaining tasks (for example, explaining "active_fpu" role from another series, and big endian host MSA test failures).
The good thing is that we will eventually expand test coverage.
Thanks,
Aleksandar
Quoted 20 lines · Aleksandar Markovic
Quoted 14 lines
From: Aleksandar Markovic
Subject: Re: [PATCH] target/mips: Amend tests for MSA binary integer operationsQuoted 11 lines
From: Mateja Marjanovic <[email protected]>
Subject: [PATCH] target/mips: Amend tests for MSA binary integer operationsAmend tests for certain MSA binary integer instructions (for example DIV_S.B) by appending two missing test cases to complete standard battery of 80 test cases for each such instruction. Expected values were pulled from the results of the MIPS64r6 machine that executed those instruction, and QEMU emulation should produce the same results.
Quoted 3 lines
Quoted 2 lines
Signed-off-by Mateja Marjanovic <[email protected]>---
I'm afraid your patch doesn't apply to the tip of the source tree:
Unfortunately, Mateja, even after resolving patch application conflicts, the code doesn't build.
Quoted 7 lines
For example, wrappers for many MSA instructions are missing, and there are other problems too.
The patch needs a major amending and refactoring, which I will do tomorrow, or in next few days, so that you can focus on your other remaining tasks (for example, explaining "
active_fpu" role from another series, and big endian host MSA test failures).
Alright, I will focus on those tasks.
Thanks,
Mateja
Quoted 5 lines
The good thing is that we will eventually expand test coverage.
Thanks,
Aleksandar
Quoted 74 lines · Aleksandar Markovic
Quoted 11 lines
From: Mateja Marjanovic <[email protected]>
Subject: [PATCH] target/mips: Amend tests for MSA binary integer operationsAmend tests for certain MSA binary integer instructions (for example DIV_S.B) by appending two missing test cases to complete standard battery of 80 test cases for each such instruction. Expected values were pulled from the results of the MIPS64r6 machine that executed those instruction, and QEMU emulation should produce the same results.
Quoted 2 lines
Signed-off-by Mateja Marjanovic <[email protected]>---
I'm afraid your patch doesn't apply to the tip of the source tree:
$ git am target-mips-Amend-tests-for-MSA-binary-integer-operations.patch Applying: target/mips: Amend tests for MSA binary integer operations error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_b.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_b.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_d.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_d.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_h.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_h.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_w.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_w.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_b.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_b.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_d.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_d.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_h.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_h.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_w.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_w.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_b.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_b.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_d.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_d.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_h.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_h.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_w.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_w.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_b.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_b.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_d.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_d.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_h.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_h.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_w.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_w.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_b.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_b.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_d.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_d.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_h.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_h.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_w.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_w.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_d.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_d.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_h.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_h.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_w.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_w.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_d.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_d.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_h.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_h.c: patch does not apply error: patch failed: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_w.c:2 error: tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_w.c: patch does not apply Patch failed at 0001 target/mips: Amend tests for MSA binary integer operations The copy of the patch that failed is found in: .git/rebase-apply/patch When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort".
Quoted 1 line
Please update/rebase your tree before sending patches in future.
I will do that from now on.
Thanks,
Mateja
Quoted 3 lines
Thanks,
Aleksandar