Another test for vpkswss.
This commit is contained in:
parent
b9d9486c62
commit
95d9344985
|
@ -15,3 +15,15 @@ test_vpkswss_1:
|
||||||
#_ REGISTER_OUT v3 [7FFFFFFF, 80000000, 00000000, 00000004]
|
#_ REGISTER_OUT v3 [7FFFFFFF, 80000000, 00000000, 00000004]
|
||||||
#_ REGISTER_OUT v4 [7FFFFFFF, 80000000, 00000000, 00000008]
|
#_ REGISTER_OUT v4 [7FFFFFFF, 80000000, 00000000, 00000008]
|
||||||
#_ REGISTER_OUT v5 [7FFF8000, 00000004, 7FFF8000, 00000008]
|
#_ REGISTER_OUT v5 [7FFF8000, 00000004, 7FFF8000, 00000008]
|
||||||
|
|
||||||
|
test_vpkswss_2:
|
||||||
|
# {-1, -32768, 0, 32767}
|
||||||
|
#_ REGISTER_IN v3 [FFFFFFFF, FFFF8000, 00000000, 00007FFF]
|
||||||
|
# {-2, -32769, 1, 32768}
|
||||||
|
#_ REGISTER_IN v4 [FFFFFFFE, FFFF7FFF, 00000001, 00008000]
|
||||||
|
vpkswss v5, v3, v4
|
||||||
|
blr
|
||||||
|
#_ REGISTER_OUT v3 [FFFFFFFF, FFFF8000, 00000000, 00007FFF]
|
||||||
|
#_ REGISTER_OUT v4 [FFFFFFFE, FFFF7FFF, 00000001, 00008000]
|
||||||
|
# {-1, -32768, 0, 32767, -2, -32768, 1, 32767}
|
||||||
|
#_ REGISTER_OUT v5 [FFFF8000, 00007FFF, FFFE8000, 00017FFF]
|
||||||
|
|
Loading…
Reference in New Issue