[JIT] Add another test case to vctuxs

This commit is contained in:
DrChat 2018-03-02 00:05:43 -06:00
parent 0577b6c9be
commit 04d20e33a5
1 changed files with 11 additions and 3 deletions

View File

@ -54,8 +54,16 @@ test_vctuxs_7:
#_ REGISTER_OUT v0 [4F000000, 4F000000, 4F000000, 4F000000] #_ REGISTER_OUT v0 [4F000000, 4F000000, 4F000000, 4F000000]
#_ REGISTER_OUT v3 [80000000, 80000000, 80000000, 80000000] #_ REGISTER_OUT v3 [80000000, 80000000, 80000000, 80000000]
# 2^32 * 2^0 # 2^31 * 1.5 * 2^0
test_vctuxs_8: test_vctuxs_8:
#_ REGISTER_IN v0 [4F400000, 4F400000, 4F400000, 4F400000]
vctuxs v3, v0, 0
blr
#_ REGISTER_OUT v0 [4F400000, 4F400000, 4F400000, 4F400000]
#_ REGISTER_OUT v3 [C0000000, C0000000, C0000000, C0000000]
# 2^32 * 2^0
test_vctuxs_9:
#_ REGISTER_IN v0 [4F800000, 4F800000, 4F800000, 4F800000] #_ REGISTER_IN v0 [4F800000, 4F800000, 4F800000, 4F800000]
vctuxs v3, v0, 0 vctuxs v3, v0, 0
blr blr
@ -63,7 +71,7 @@ test_vctuxs_8:
#_ REGISTER_OUT v3 [FFFFFFFF, FFFFFFFF, FFFFFFFF, FFFFFFFF] #_ REGISTER_OUT v3 [FFFFFFFF, FFFFFFFF, FFFFFFFF, FFFFFFFF]
# +infinity * 2^0 # +infinity * 2^0
test_vctuxs_9: test_vctuxs_10:
#_ REGISTER_IN v0 [7F800000, 7F800000, 7F800000, 7F800000] #_ REGISTER_IN v0 [7F800000, 7F800000, 7F800000, 7F800000]
vctuxs v3, v0, 0 vctuxs v3, v0, 0
blr blr
@ -71,7 +79,7 @@ test_vctuxs_9:
#_ REGISTER_OUT v3 [FFFFFFFF, FFFFFFFF, FFFFFFFF, FFFFFFFF] #_ REGISTER_OUT v3 [FFFFFFFF, FFFFFFFF, FFFFFFFF, FFFFFFFF]
# -infinity * 2^0 # -infinity * 2^0
test_vctuxs_10: test_vctuxs_11:
#_ REGISTER_IN v0 [FF800000, FF800000, FF800000, FF800000] #_ REGISTER_IN v0 [FF800000, FF800000, FF800000, FF800000]
vctuxs v3, v0, 0 vctuxs v3, v0, 0
blr blr