Tests for vpkuhum/vpkuhus.

This commit is contained in:
gibbed 2015-08-16 04:07:17 -05:00
parent 003608fa76
commit 9129b9caa9
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,12 @@
#vpkuhum isn't implemented yet
#test_vpkuhum_0:
# # {0, 1, 2, 3, 4, 5, 6, 7}
# # {8, 9, 10, 11, 12, 13, 14, 15}
# #_ REGISTER_IN v3 [FFF8FFF9, FFFAFFFB, FFFCFFFD, FFFEFFFF]
# #_ REGISTER_IN v4 [00000001, 00020003, 00040005, 00060007]
# vpkuhum v5, v3, v4
# blr
# #_ REGISTER_OUT v3 [FFF8FFF9, FFFAFFFB, FFFCFFFD, FFFEFFFF]
# #_ REGISTER_OUT v4 [00000001, 00020003, 00040005, 00060007]
# #_ REGISTER_OUT v5 [00010203, 04050607, 08090A0B, 0C0D0E0F]
# blr

View File

@ -0,0 +1,10 @@
test_vpkuhus_0:
# {-8, -7, -6, -5, -4, -3, -2, -1}
# {0, 1, 2, 3, 4, 5, 6, 7}
#_ REGISTER_IN v3 [FFF8FFF9, FFFAFFFB, FFFCFFFD, FFFEFFFF]
#_ REGISTER_IN v4 [00000001, 00020003, 00040005, 00060007]
vpkuhus v5, v3, v4
blr
#_ REGISTER_OUT v3 [FFF8FFF9, FFFAFFFB, FFFCFFFD, FFFEFFFF]
#_ REGISTER_OUT v4 [00000001, 00020003, 00040005, 00060007]
#_ REGISTER_OUT v5 [F8F9FAFB, FCFDFEFF, 00010203, 04050607]