diff options
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/qemu-iotests/124 | 1 | ||||
| -rw-r--r-- | tests/qemu-iotests/236.out | 14 | ||||
| -rw-r--r-- | tests/tcg/mips/include/wrappers_msa.h | 25 | ||||
| -rw-r--r-- | tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_b.c (renamed from tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nloc_b.c) | 6 | ||||
| -rw-r--r-- | tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_d.c (renamed from tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nloc_d.c) | 6 | ||||
| -rw-r--r-- | tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_h.c (renamed from tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nloc_h.c) | 6 | ||||
| -rw-r--r-- | tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_w.c (renamed from tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nloc_w.c) | 6 | ||||
| -rw-r--r-- | tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_b.c (renamed from tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nlzc_b.c) | 6 | ||||
| -rw-r--r-- | tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_d.c (renamed from tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nlzc_d.c) | 6 | ||||
| -rw-r--r-- | tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_h.c (renamed from tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nlzc_h.c) | 6 | ||||
| -rw-r--r-- | tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_w.c (renamed from tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nlzc_w.c) | 6 | ||||
| -rw-r--r-- | tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_b.c (renamed from tests/tcg/mips/user/ase/msa/bit-counting/test_msa_pcnt_b.c) | 6 | ||||
| -rw-r--r-- | tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_d.c (renamed from tests/tcg/mips/user/ase/msa/bit-counting/test_msa_pcnt_d.c) | 6 | ||||
| -rw-r--r-- | tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_h.c (renamed from tests/tcg/mips/user/ase/msa/bit-counting/test_msa_pcnt_h.c) | 6 | ||||
| -rw-r--r-- | tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_w.c (renamed from tests/tcg/mips/user/ase/msa/bit-counting/test_msa_pcnt_w.c) | 6 |
15 files changed, 76 insertions, 36 deletions
diff --git a/tests/qemu-iotests/124 b/tests/qemu-iotests/124 index 9f189e3b54..5aa1bf1bd6 100755 --- a/tests/qemu-iotests/124 +++ b/tests/qemu-iotests/124 @@ -350,6 +350,7 @@ class TestIncrementalBackup(TestIncrementalBackupBase): self.assert_qmp(result, 'return[0]/dirty-bitmaps[0]/count', 458752) self.assert_qmp(result, 'return[0]/dirty-bitmaps[0]/granularity', 65536) self.assert_qmp(result, 'return[0]/dirty-bitmaps[0]/status', 'active') + self.assert_qmp(result, 'return[0]/dirty-bitmaps[0]/persistent', False) # Prepare a cluster_size=128k backup target without a backing file. (target, _) = bitmap0.new_target() diff --git a/tests/qemu-iotests/236.out b/tests/qemu-iotests/236.out index bb2d71ea5e..5006f7bca1 100644 --- a/tests/qemu-iotests/236.out +++ b/tests/qemu-iotests/236.out @@ -25,12 +25,14 @@ write -P0xcd 0x3ff0000 64k "count": 262144, "granularity": 65536, "name": "bitmapB", + "persistent": false, "status": "active" }, { "count": 262144, "granularity": 65536, "name": "bitmapA", + "persistent": false, "status": "active" } ] @@ -85,12 +87,14 @@ write -P0xcd 0x3ff0000 64k "count": 262144, "granularity": 65536, "name": "bitmapB", + "persistent": false, "status": "active" }, { "count": 262144, "granularity": 65536, "name": "bitmapA", + "persistent": false, "status": "active" } ] @@ -183,18 +187,21 @@ write -P0xea 0x3fe0000 64k "count": 393216, "granularity": 65536, "name": "bitmapC", + "persistent": false, "status": "disabled" }, { "count": 262144, "granularity": 65536, "name": "bitmapB", + "persistent": false, "status": "disabled" }, { "count": 458752, "granularity": 65536, "name": "bitmapA", + "persistent": false, "status": "disabled" } ] @@ -247,18 +254,21 @@ write -P0xea 0x3fe0000 64k "count": 393216, "granularity": 65536, "name": "bitmapC", + "persistent": false, "status": "disabled" }, { "count": 262144, "granularity": 65536, "name": "bitmapB", + "persistent": false, "status": "disabled" }, { "count": 458752, "granularity": 65536, "name": "bitmapA", + "persistent": false, "status": "disabled" } ] @@ -304,24 +314,28 @@ write -P0xea 0x3fe0000 64k "count": 458752, "granularity": 65536, "name": "bitmapD", + "persistent": false, "status": "disabled" }, { "count": 393216, "granularity": 65536, "name": "bitmapC", + "persistent": false, "status": "disabled" }, { "count": 262144, "granularity": 65536, "name": "bitmapB", + "persistent": false, "status": "disabled" }, { "count": 458752, "granularity": 65536, "name": "bitmapA", + "persistent": false, "status": "disabled" } ] diff --git a/tests/tcg/mips/include/wrappers_msa.h b/tests/tcg/mips/include/wrappers_msa.h index 7a77fb9686..3280f9b084 100644 --- a/tests/tcg/mips/include/wrappers_msa.h +++ b/tests/tcg/mips/include/wrappers_msa.h @@ -97,5 +97,30 @@ DO_MSA__WD__WS_WT(NOR_V, nor.v) DO_MSA__WD__WS_WT(OR_V, or.v) DO_MSA__WD__WS_WT(XOR_V, xor.v) +DO_MSA__WD__WS_WT(CEQ_B, ceq.b) +DO_MSA__WD__WS_WT(CEQ_H, ceq.h) +DO_MSA__WD__WS_WT(CEQ_W, ceq.w) +DO_MSA__WD__WS_WT(CEQ_D, ceq.d) + +DO_MSA__WD__WS_WT(CLE_S_B, cle_s.b) +DO_MSA__WD__WS_WT(CLE_S_H, cle_s.h) +DO_MSA__WD__WS_WT(CLE_S_W, cle_s.w) +DO_MSA__WD__WS_WT(CLE_S_D, cle_s.d) + +DO_MSA__WD__WS_WT(CLE_U_B, cle_u.b) +DO_MSA__WD__WS_WT(CLE_U_H, cle_u.h) +DO_MSA__WD__WS_WT(CLE_U_W, cle_u.w) +DO_MSA__WD__WS_WT(CLE_U_D, cle_u.d) + +DO_MSA__WD__WS_WT(CLT_S_B, clt_s.b) +DO_MSA__WD__WS_WT(CLT_S_H, clt_s.h) +DO_MSA__WD__WS_WT(CLT_S_W, clt_s.w) +DO_MSA__WD__WS_WT(CLT_S_D, clt_s.d) + +DO_MSA__WD__WS_WT(CLT_U_B, clt_u.b) +DO_MSA__WD__WS_WT(CLT_U_H, clt_u.h) +DO_MSA__WD__WS_WT(CLT_U_W, clt_u.w) +DO_MSA__WD__WS_WT(CLT_U_D, clt_u.d) + #endif diff --git a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nloc_b.c b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_b.c index eb46290bff..d62943123e 100644 --- a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nloc_b.c +++ b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_b.c @@ -22,9 +22,9 @@ #include <sys/time.h> #include <stdint.h> -#include "../../../include/wrappers_msa.h" -#include "../../../include/test_inputs.h" -#include "../../../include/test_utils.h" +#include "../../../../include/wrappers_msa.h" +#include "../../../../include/test_inputs.h" +#include "../../../../include/test_utils.h" #define TEST_COUNT_TOTAL (PATTERN_INPUTS_COUNT + RANDOM_INPUTS_COUNT) diff --git a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nloc_d.c b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_d.c index bb1c0cfa3f..fad220ce0f 100644 --- a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nloc_d.c +++ b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_d.c @@ -22,9 +22,9 @@ #include <sys/time.h> #include <stdint.h> -#include "../../../include/wrappers_msa.h" -#include "../../../include/test_inputs.h" -#include "../../../include/test_utils.h" +#include "../../../../include/wrappers_msa.h" +#include "../../../../include/test_inputs.h" +#include "../../../../include/test_utils.h" #define TEST_COUNT_TOTAL (PATTERN_INPUTS_COUNT + RANDOM_INPUTS_COUNT) diff --git a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nloc_h.c b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_h.c index da1cd83448..84cf974635 100644 --- a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nloc_h.c +++ b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_h.c @@ -22,9 +22,9 @@ #include <sys/time.h> #include <stdint.h> -#include "../../../include/wrappers_msa.h" -#include "../../../include/test_inputs.h" -#include "../../../include/test_utils.h" +#include "../../../../include/wrappers_msa.h" +#include "../../../../include/test_inputs.h" +#include "../../../../include/test_utils.h" #define TEST_COUNT_TOTAL (PATTERN_INPUTS_COUNT + RANDOM_INPUTS_COUNT) diff --git a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nloc_w.c b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_w.c index a059763781..a0ed2020d6 100644 --- a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nloc_w.c +++ b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_w.c @@ -22,9 +22,9 @@ #include <sys/time.h> #include <stdint.h> -#include "../../../include/wrappers_msa.h" -#include "../../../include/test_inputs.h" -#include "../../../include/test_utils.h" +#include "../../../../include/wrappers_msa.h" +#include "../../../../include/test_inputs.h" +#include "../../../../include/test_utils.h" #define TEST_COUNT_TOTAL (PATTERN_INPUTS_COUNT + RANDOM_INPUTS_COUNT) diff --git a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nlzc_b.c b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_b.c index 9616d6e1a3..9906eae987 100644 --- a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nlzc_b.c +++ b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_b.c @@ -22,9 +22,9 @@ #include <sys/time.h> #include <stdint.h> -#include "../../../include/wrappers_msa.h" -#include "../../../include/test_inputs.h" -#include "../../../include/test_utils.h" +#include "../../../../include/wrappers_msa.h" +#include "../../../../include/test_inputs.h" +#include "../../../../include/test_utils.h" #define TEST_COUNT_TOTAL (PATTERN_INPUTS_COUNT + RANDOM_INPUTS_COUNT) diff --git a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nlzc_d.c b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_d.c index 801c4bc296..21222e30e8 100644 --- a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nlzc_d.c +++ b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_d.c @@ -22,9 +22,9 @@ #include <sys/time.h> #include <stdint.h> -#include "../../../include/wrappers_msa.h" -#include "../../../include/test_inputs.h" -#include "../../../include/test_utils.h" +#include "../../../../include/wrappers_msa.h" +#include "../../../../include/test_inputs.h" +#include "../../../../include/test_utils.h" #define TEST_COUNT_TOTAL (PATTERN_INPUTS_COUNT + RANDOM_INPUTS_COUNT) diff --git a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nlzc_h.c b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_h.c index 03cb4cd53d..fbab9c3f3a 100644 --- a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nlzc_h.c +++ b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_h.c @@ -22,9 +22,9 @@ #include <sys/time.h> #include <stdint.h> -#include "../../../include/wrappers_msa.h" -#include "../../../include/test_inputs.h" -#include "../../../include/test_utils.h" +#include "../../../../include/wrappers_msa.h" +#include "../../../../include/test_inputs.h" +#include "../../../../include/test_utils.h" #define TEST_COUNT_TOTAL (PATTERN_INPUTS_COUNT + RANDOM_INPUTS_COUNT) diff --git a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nlzc_w.c b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_w.c index 2ca93de73d..dc33366d9e 100644 --- a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_nlzc_w.c +++ b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_w.c @@ -22,9 +22,9 @@ #include <sys/time.h> #include <stdint.h> -#include "../../../include/wrappers_msa.h" -#include "../../../include/test_inputs.h" -#include "../../../include/test_utils.h" +#include "../../../../include/wrappers_msa.h" +#include "../../../../include/test_inputs.h" +#include "../../../../include/test_utils.h" #define TEST_COUNT_TOTAL (PATTERN_INPUTS_COUNT + RANDOM_INPUTS_COUNT) diff --git a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_pcnt_b.c b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_b.c index b4cad43ea9..f9033c7ee1 100644 --- a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_pcnt_b.c +++ b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_b.c @@ -22,9 +22,9 @@ #include <sys/time.h> #include <stdint.h> -#include "../../../include/wrappers_msa.h" -#include "../../../include/test_inputs.h" -#include "../../../include/test_utils.h" +#include "../../../../include/wrappers_msa.h" +#include "../../../../include/test_inputs.h" +#include "../../../../include/test_utils.h" #define TEST_COUNT_TOTAL (PATTERN_INPUTS_COUNT + RANDOM_INPUTS_COUNT) diff --git a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_pcnt_d.c b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_d.c index d6a8b0d091..132b4d0f4d 100644 --- a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_pcnt_d.c +++ b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_d.c @@ -22,9 +22,9 @@ #include <sys/time.h> #include <stdint.h> -#include "../../../include/wrappers_msa.h" -#include "../../../include/test_inputs.h" -#include "../../../include/test_utils.h" +#include "../../../../include/wrappers_msa.h" +#include "../../../../include/test_inputs.h" +#include "../../../../include/test_utils.h" #define TEST_COUNT_TOTAL (PATTERN_INPUTS_COUNT + RANDOM_INPUTS_COUNT) diff --git a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_pcnt_h.c b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_h.c index 1cdcabd00c..f469c09e17 100644 --- a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_pcnt_h.c +++ b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_h.c @@ -22,9 +22,9 @@ #include <sys/time.h> #include <stdint.h> -#include "../../../include/wrappers_msa.h" -#include "../../../include/test_inputs.h" -#include "../../../include/test_utils.h" +#include "../../../../include/wrappers_msa.h" +#include "../../../../include/test_inputs.h" +#include "../../../../include/test_utils.h" #define TEST_COUNT_TOTAL (PATTERN_INPUTS_COUNT + RANDOM_INPUTS_COUNT) diff --git a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_pcnt_w.c b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_w.c index 38ddc146d0..d73eff7a88 100644 --- a/tests/tcg/mips/user/ase/msa/bit-counting/test_msa_pcnt_w.c +++ b/tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_w.c @@ -22,9 +22,9 @@ #include <sys/time.h> #include <stdint.h> -#include "../../../include/wrappers_msa.h" -#include "../../../include/test_inputs.h" -#include "../../../include/test_utils.h" +#include "../../../../include/wrappers_msa.h" +#include "../../../../include/test_inputs.h" +#include "../../../../include/test_utils.h" #define TEST_COUNT_TOTAL (PATTERN_INPUTS_COUNT + RANDOM_INPUTS_COUNT) |