Tests for vpkuwum.

This commit is contained in:
gibbed 2015-08-16 05:55:15 -05:00
parent 5f9ef37e94
commit 8c07a3efdd
1 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,36 @@
#vpkuwum isn't implemented yet
#test_vpkuwum_0:
# # {0, 1, 2, 3}
# #_ REGISTER_IN v3 [00000000, 00000001, 00000002, 00000003]
# # {4, 5, 6, 7}
# #_ REGISTER_IN v4 [00000004, 00000005, 00000006, 00000007]
# vpkuwum v5, v3, v4
# blr
# #_ REGISTER_OUT v3 [00000000, 00000001, 00000002, 00000003]
# #_ REGISTER_OUT v4 [00000004, 00000005, 00000006, 00000007]
# # {0, 1, 2, 3, 4, 5, 6, 7}
# #_ REGISTER_OUT v5 [00000001, 00020003, 00040005, 00060007]
#test_vpkuwum_1:
# # {-4, -3, -2, -1}
# #_ REGISTER_IN v3 [FFFFFFFC, FFFFFFFD, FFFFFFFE, FFFFFFFF]
# # {0, 1, 2, 3}
# #_ REGISTER_IN v4 [00000000, 00000001, 00000002, 00000003]
# vpkuwum v5, v3, v4
# blr
# #_ REGISTER_OUT v3 [FFFFFFFC, FFFFFFFD, FFFFFFFE, FFFFFFFF]
# #_ REGISTER_OUT v4 [00000000, 00000001, 00000002, 00000003]
# # {-4, -3, -2, -1, 0, 1, 2, 3}
# #_ REGISTER_OUT v5 [FFFCFFFD, FFFEFFFF, 00000001, 00020003]
#test_vpkuwum_2:
# # {0, 4294967295, 4294967295, 4294967295}
# #_ REGISTER_IN v3 [00000000, FFFFFFFF, FFFFFFFF, FFFFFFFF]
# # {4294967295, 0, 0, 0}
# #_ REGISTER_IN v4 [FFFFFFFF, 00000000, 00000000, 00000000]
# vpkuwum v5, v3, v4
# blr
# #_ REGISTER_OUT v3 [00000000, FFFFFFFF, FFFFFFFF, FFFFFFFF]
# #_ REGISTER_OUT v4 [FFFFFFFF, 00000000, 00000000, 00000000]
# # {0, 65535, 65535, 65535, 65535, 0, 0, 0}
# #_ REGISTER_OUT v5 [0000FFFF, FFFFFFFF, FFFF0000, 00000000]