Skip to content

Commit

Permalink
Add tests file for IAX DSA1 and DSA2
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Sun <[email protected]>
  • Loading branch information
ysun committed May 31, 2024
1 parent adc61c6 commit caba533
Show file tree
Hide file tree
Showing 3 changed files with 171 additions and 0 deletions.
105 changes: 105 additions & 0 deletions BM/dsa/tests-dsa1
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@

#DSA_XS_FUNC_GUEST_USER_MEMMOVE_4D4G4Q
./dsa_user_test.sh -c 4d4g4q_user -o 0x03 -g 1
#DSA_XS_FUNC_GUEST_USER_MEMFILL_4D4G4Q
./dsa_user_test.sh -c 4d4g4q_user -o 0x04 -g 1
#DSA_XS_FUNC_GUEST_USER_COMPARE_4D4G4Q
./dsa_user_test.sh -c 4d4g4q_user -o 0x05 -g 1
#DSA_XS_FUNC_GUEST_USER_COMPVAL_4D4G4Q
./dsa_user_test.sh -c 4d4g4q_user -o 0x06 -g 1
#DSA_XS_FUNC_USER_MEMMOVE_1D2G2Q
./dsa_user_test.sh -c 1d2g2q_user -o 0x03
#DSA_XS_FUNC_USER_MEMMOVE_1D4G8Q
./dsa_user_test.sh -c 1d4g8q_user -o 0x03
#DSA_XS_FUNC_USER_MEMMOVE_4D4G4Q
./dsa_user_test.sh -c 4d4g4q_user -o 0x03
#DSA_XS_FUNC_USER_MEMMOVE_4D16G32Q
./dsa_user_test.sh -c 4d16g32q_user -o 0x03
#DSA_XS_FUNC_USER_MEMMOVE_8D8G8Q
./dsa_user_test.sh -c 8d8g8q_user -o 0x03
#DSA_XS_FUNC_USER_MEMMOVE_8D32G64Q
./dsa_user_test.sh -c 8d32g64q_user -o 0x03
#DSA_XS_FUNC_USER_MEMFILL_1D2G2Q
./dsa_user_test.sh -c 1d2g2q_user -o 0x04
#DSA_XS_FUNC_USER_MEMFILL_1D4G8Q
./dsa_user_test.sh -c 1d4g8q_user -o 0x04
#DSA_XS_FUNC_USER_MEMFILL_4D4G4Q
./dsa_user_test.sh -c 4d4g4q_user -o 0x04
#DSA_XS_FUNC_USER_MEMFILL_4D16G32Q
./dsa_user_test.sh -c 4d16g32q_user -o 0x04
#DSA_XS_FUNC_USER_MEMFILL_8D8G8Q
./dsa_user_test.sh -c 8d8g8q_user -o 0x04
#DSA_XS_FUNC_USER_MEMFILL_8D32G64Q
./dsa_user_test.sh -c 8d32g64q_user -o 0x04
#DSA_XS_FUNC_USER_COMPARE_1D2G2Q
./dsa_user_test.sh -c 1d2g2q_user -o 0x05
#DSA_XS_FUNC_USER_COMPARE_1D4G8Q
./dsa_user_test.sh -c 1d4g8q_user -o 0x05
#DSA_XS_FUNC_USER_COMPARE_4D4G4Q
./dsa_user_test.sh -c 4d4g4q_user -o 0x05
#DSA_XS_FUNC_USER_COMPARE_4D16G32Q
./dsa_user_test.sh -c 4d16g32q_user -o 0x05
#DSA_XS_FUNC_USER_COMPARE_8D8G8Q
./dsa_user_test.sh -c 8d8g8q_user -o 0x05
#DSA_XS_FUNC_USER_COMPARE_8D32G64Q
./dsa_user_test.sh -c 8d32g64q_user -o 0x05
#DSA_XS_FUNC_USER_COMPVAL_1D2G2Q
./dsa_user_test.sh -c 1d2g2q_user -o 0x06
#DSA_XS_FUNC_USER_COMPVAL_1D4G8Q
./dsa_user_test.sh -c 1d4g8q_user -o 0x06
#DSA_XS_FUNC_USER_COMPVAL_4D4G4Q
./dsa_user_test.sh -c 4d4g4q_user -o 0x06
#DSA_XS_FUNC_USER_COMPVAL_4D16G32Q
./dsa_user_test.sh -c 4d16g32q_user -o 0x06
#DSA_XS_FUNC_USER_COMPVAL_8D8G8Q
./dsa_user_test.sh -c 8d8g8q_user -o 0x06
#DSA_XS_FUNC_USER_COMPVAL_8D32G64Q
./dsa_user_test.sh -c 8d32g64q_user -o 0x06
#DSA_XS_FUNC_USER_DUALCAST_1D2G2Q
./dsa_user_test.sh -c 1d2g2q_user -o 0x09
#DSA_XS_FUNC_USER_DUALCAST_1D4G8Q
./dsa_user_test.sh -c 1d4g8q_user -o 0x09
#DSA_XS_FUNC_USER_DUALCAST_4D4G4Q
./dsa_user_test.sh -c 4d4g4q_user -o 0x09
#DSA_XS_FUNC_USER_DUALCAST_4D16G32Q
./dsa_user_test.sh -c 4d16g32q_user -o 0x09
#DSA_XS_FUNC_USER_DUALCAST_8D8G8Q
./dsa_user_test.sh -c 8d8g8q_user -o 0x09
#DSA_XS_FUNC_USER_DUALCAST_8D32G64Q
./dsa_user_test.sh -c 8d32g64q_user -o 0x09
#DSA_XS_FUNC_USER_NOOP_1D2G2Q
./dsa_user_test.sh -c 1d2g2q_user -o 0x0
#DSA_XS_FUNC_USER_NOOP_1D4G8Q
./dsa_user_test.sh -c 1d4g8q_user -o 0x0
#DSA_XS_FUNC_USER_DRAIN_1D2G2Q
./dsa_user_test.sh -c 1d2g2q_user -o 0x2
#DSA_XS_FUNC_USER_DRAIN_1D4G8Q
./dsa_user_test.sh -c 1d4g8q_user -o 0x2
#DSA_XS_FUNC_USER_CRCGEN_1D2G2Q
./dsa_user_test.sh -c 1d2g2q_user -o 0x10
#DSA_XS_FUNC_USER_CRCGEN_1D4G8Q
./dsa_user_test.sh -c 1d4g8q_user -o 0x10
#DSA_XS_FUNC_USER_COPYCRC_1D2G2Q
./dsa_user_test.sh -c 1d2g2q_user -o 0x11
#DSA_XS_FUNC_USER_COPYCRC_1D4G8Q
./dsa_user_test.sh -c 1d4g8q_user -o 0x11
#DSA_XS_FUNC_USER_CFLUSH_1D2G2Q
./dsa_user_test.sh -c 1d2g2q_user -o 0x20
#DSA_XS_FUNC_USER_CFLUSH_1D4G8Q
./dsa_user_test.sh -c 1d4g8q_user -o 0x20
#DSA_XS_FUNC_USER_DIFCHECK_1D2G2Q
./dsa_user_test.sh -c 1d2g2q_user -o 0x12
#DSA_XS_FUNC_USER_DIFCHECK_1D4G8Q
./dsa_user_test.sh -c 1d4g8q_user -o 0x12
#DSA_XS_FUNC_USER_DIFINS_1D2G2Q
./dsa_user_test.sh -c 1d2g2q_user -o 0x13
#DSA_XS_FUNC_USER_DIFINS_1D4G8Q
./dsa_user_test.sh -c 1d4g8q_user -o 0x13
#DSA_XS_FUNC_USER_DIFSTRP_1D2G2Q
./dsa_user_test.sh -c 1d2g2q_user -o 0x14
#DSA_XS_FUNC_USER_DIFSTRP_1D4G8Q
./dsa_user_test.sh -c 1d4g8q_user -o 0x14
#DSA_XS_FUNC_USER_DIFUPDT_1D2G2Q
./dsa_user_test.sh -c 1d2g2q_user -o 0x15
#DSA_XS_FUNC_USER_DIFUPDT_1D4G8Q
./dsa_user_test.sh -c 1d4g8q_user -o 0x15
9 changes: 9 additions & 0 deletions BM/dsa/tests-dsa2
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

#DSA_XS_FUNC_USER_TRANSLFETCH_1D2G2Q
./dsa_user_test.sh -c 1d2g2q_user -o 0xa
#DSA_XS_FUNC_USER_TRANSLFETCH_1D4G8Q
./dsa_user_test.sh -c 1d4g8q_user -o 0xa
#DSA_XS_FUNC_USER_DIXGEN_1D2G2Q
./dsa_user_test.sh -c 1d2g2q_user -o 0x17
#DSA_XS_FUNC_USER_DIXGEN_1D4G8Q
./dsa_user_test.sh -c 1d4g8q_user -o 0x17
57 changes: 57 additions & 0 deletions BM/dsa/tests-iax
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@

#IAX_XS_FUNC_USER_DECOMPRESS_DEDICATED
./iax_user_test.sh -c 2g2q_user_2 -o 0x42 -w 0
#IAX_XS_FUNC_USER_COMPRESS_DEDICATED
./iax_user_test.sh -c 2g2q_user_2 -o 0x43 -w 0
#IAX_XS_FUNC_USER_CRC64_DEDICATED
./iax_user_test.sh -c 2g2q_user_2 -o 0x44 -w 0
#IAX_XS_FUNC_USER_ZDECOMPRESS32_DEDICATED
./iax_user_test.sh -c 2g2q_user_2 -o 0x48 -0
#IAX_XS_FUNC_USER_ZDECOMPRESS16_DEDICATED
./iax_user_test.sh -c 2g2q_user_2 -o 0x49 -w 0
#IAX_XS_FUNC_USER_ZCOMPRESS32_DEDICATED
./iax_user_test.sh -c 2g2q_user_2 -o 0x4c -w 0
#IAX_XS_FUNC_USER_ZCOMPRESS16_DEDICATED
./iax_user_test.sh -c 2g2q_user_2 -o 0x4d -w 0
#IAX_XS_FUNC_USER_SCAN_DEDICATED
./iax_user_test.sh -c 2g2q_user_2 -o 0x50 -w 0
#IAX_XS_FUNC_USER_SET_DEDICATED
./iax_user_test.sh -c 2g2q_user_2 -o 0x51 -w 0
#IAX_XS_FUNC_USER_EXTRACT_DEDICATED
./iax_user_test.sh -c 2g2q_user_2 -o 0x52 -w 0
#IAX_XS_FUNC_USER_SELECT_DEDICATED
./iax_user_test.sh -c 2g2q_user_2 -o 0x53 -w 0
#IAX_XS_FUNC_USER_RLE_DEDICATED
./iax_user_test.sh -c 2g2q_user_2 -o 0x54 -w 0
#IAX_XS_FUNC_USER_FIND_DEDICATED
./iax_user_test.sh -c 2g2q_user_2 -o 0x55 -w 0
#IAX_XS_FUNC_USER_EXPAND_DEDICATED
./iax_user_test.sh -c 2g2q_user_2 -o 0x56 -w 0
#IAX_XS_FUNC_USER_DECOMPRESS_SHARED
./iax_user_test.sh -c 2g2q_user_2 -o 0x42 -w 1
#IAX_XS_FUNC_USER_COMPRESS_SHARED
./iax_user_test.sh -c 2g2q_user_2 -o 0x43 -w 1
#IAX_XS_FUNC_USER_CRC64_SHARED
./iax_user_test.sh -c 2g2q_user_2 -o 0x44 -w 1
#IAX_XS_FUNC_USER_ZDECOMPRESS32_SHARED
./iax_user_test.sh -c 2g2q_user_2 -o 0x48 -w 1
#IAX_XS_FUNC_USER_ZDECOMPRESS16_SHARED
./iax_user_test.sh -c 2g2q_user_2 -o 0x49 -w 1
#IAX_XS_FUNC_USER_ZCOMPRESS32_SHARED
./iax_user_test.sh -c 2g2q_user_2 -o 0x4c -w 1
#IAX_XS_FUNC_USER_ZCOMPRESS16_SHARED
./iax_user_test.sh -c 2g2q_user_2 -o 0x4d -w 1
#IAX_XS_FUNC_USER_SCAN_SHARED
./iax_user_test.sh -c 2g2q_user_2 -o 0x50 -w 1
#IAX_XS_FUNC_USER_SET_SHARED
./iax_user_test.sh -c 2g2q_user_2 -o 0x51 -w 1
#IAX_XS_FUNC_USER_EXTRACT_SHARED
./iax_user_test.sh -c 2g2q_user_2 -o 0x52 -w 1
#IAX_XS_FUNC_USER_SELECT_SHARED
./iax_user_test.sh -c 2g2q_user_2 -o 0x53 -w 1
#IAX_XS_FUNC_USER_RLE_SHARED
./iax_user_test.sh -c 2g2q_user_2 -o 0x54 -w 1
#IAX_XS_FUNC_USER_FIND_SHARED
./iax_user_test.sh -c 2g2q_user_2 -o 0x55 -w 1
#IAX_XS_FUNC_USER_EXPAND_SHARED
./iax_user_test.sh -c 2g2q_user_2 -o 0x56 -w 1

0 comments on commit caba533

Please sign in to comment.