More tests for vupkhsb, vupkhsh, vupklsb, vupklsh.
This commit is contained in:
parent
90b33fd49f
commit
ba9d2f0d7c
|
@ -5,3 +5,11 @@ test_vupkhsb_0:
|
|||
blr
|
||||
# {-8, -7, -6, -5, -4, -3, -2, -1}
|
||||
#_ REGISTER_OUT v3 [FFF8FFF9, FFFAFFFB, FFFCFFFD, FFFEFFFF]
|
||||
|
||||
test_vupkhsb_1:
|
||||
# {0, 255, 255, 0, 0, 0, 255, 0, 255, 0, 0, 255, 255, 255, 0, 255}
|
||||
#_ REGISTER_IN v3 [00FFFF00, 0000FF00, FF0000FF, FFFF00FF]
|
||||
vupkhsb v3, v3
|
||||
blr
|
||||
# {0, 65535, 65535, 0, 0, 0, 65535, 0}
|
||||
#_ REGISTER_OUT v3 [0000FFFF, FFFF0000, 00000000, FFFF0000]
|
||||
|
|
|
@ -11,6 +11,14 @@ test_vupkhsh_1:
|
|||
#_ REGISTER_OUT v3 [00007f80, 00000203, 00000405, 00000607]
|
||||
|
||||
test_vupkhsh_2:
|
||||
# {0, 65535, 65535, 0, 0, 0, 65535, 0}
|
||||
#_ REGISTER_IN v3 [0000FFFF, FFFF0000, 00000000, FFFF0000]
|
||||
vupkhsh v3, v3
|
||||
blr
|
||||
# {0, 4294967295, 4294967295, 0}
|
||||
#_ REGISTER_OUT v3 [00000000, FFFFFFFF, FFFFFFFF, 00000000]
|
||||
|
||||
test_vupkhsh_3:
|
||||
# {-4, -3, -2, -1, 0, 1, 2, 3}
|
||||
#_ REGISTER_IN v3 [FFFCFFFD, FFFEFFFF, 00000001, 00020003]
|
||||
vupkhsh v3, v3
|
||||
|
|
|
@ -5,3 +5,11 @@ test_vupklsb_0:
|
|||
blr
|
||||
# {0, 1, 2, 3, 4, 5, 6, 7}
|
||||
#_ REGISTER_OUT v3 [00000001, 00020003, 00040005, 00060007]
|
||||
|
||||
test_vupklsb_1:
|
||||
# {0, 255, 255, 0, 0, 0, 255, 0, 255, 0, 0, 255, 255, 255, 0, 255}
|
||||
#_ REGISTER_IN v3 [00FFFF00, 0000FF00, FF0000FF, FFFF00FF]
|
||||
vupklsb v3, v3
|
||||
blr
|
||||
# {65535, 0, 0, 65535, 65535, 65535, 0, 65535}
|
||||
#_ REGISTER_OUT v3 [FFFF0000, 0000FFFF, FFFFFFFF, 0000FFFF]
|
||||
|
|
|
@ -17,3 +17,11 @@ test_vupklsh_2:
|
|||
blr
|
||||
# {-4, -3, -2, -1}
|
||||
#_ REGISTER_OUT v3 [00000000, 00000001, 00000002, 00000003]
|
||||
|
||||
test_vupklsh_3:
|
||||
# {0, 65535, 65535, 0, 0, 0, 65535, 0}
|
||||
#_ REGISTER_IN v3 [0000FFFF, FFFF0000, 00000000, FFFF0000]
|
||||
vupklsh v3, v3
|
||||
blr
|
||||
# {0, 0, 4294967295, 0}
|
||||
#_ REGISTER_OUT v3 [00000000, 00000000, FFFFFFFF, 00000000]
|
||||
|
|
Loading…
Reference in New Issue