Tests for vupkhsb/vupklsb.

This commit is contained in:
gibbed 2015-08-16 03:16:25 -05:00
parent 6a675659e4
commit 7256fe6a2b
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,7 @@
test_vupkhsb_0:
# {-8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7}
#_ REGISTER_IN v3 [F8F9FAFB, FCFDFEFF, 00010203, 04050607]
vupkhsb v3, v3
blr
# {-8, -7, -6, -5, -4, -3, -2, -1}
#_ REGISTER_OUT v3 [FFF8FFF9, FFFAFFFB, FFFCFFFD, FFFEFFFF]

View File

@ -0,0 +1,7 @@
test_vupklsb_0:
# {-8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7}
#_ REGISTER_IN v3 [F8F9FAFB, FCFDFEFF, 00010203, 04050607]
vupklsb v3, v3
blr
# {0, 1, 2, 3, 4, 5, 6, 7}
#_ REGISTER_OUT v3 [00000001, 00020003, 00040005, 00060007]