Tests for vminsh, vminuh.

This commit is contained in:
gibbed 2015-08-16 16:21:58 -05:00
parent 9fa7ec5c1f
commit 5621f63001
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,17 @@
test_vminsh_1:
#_ REGISTER_IN v3 [00000001, 00020003, 00040005, 00060007]
#_ REGISTER_IN v4 [00080009, 000A000B, 000C000D, 000E000F]
vminsh v5, v3, v4
blr
#_ REGISTER_OUT v3 [00000001, 00020003, 00040005, 00060007]
#_ REGISTER_OUT v4 [00080009, 000A000B, 000C000D, 000E000F]
#_ REGISTER_OUT v5 [00000001, 00020003, 00040005, 00060007]
test_vminsh_2:
#_ REGISTER_IN v3 [00000009, 0002000B, 0004000D, 0006000F]
#_ REGISTER_IN v4 [00080001, 000A0003, 000C0005, 000E0007]
vminsh v5, v3, v4
blr
#_ REGISTER_OUT v3 [00000009, 0002000B, 0004000D, 0006000F]
#_ REGISTER_OUT v4 [00080001, 000A0003, 000C0005, 000E0007]
#_ REGISTER_OUT v5 [00000001, 00020003, 00040005, 00060007]

View File

@ -0,0 +1,17 @@
test_vminuh_1:
#_ REGISTER_IN v3 [00000001, 00020003, 00040005, 00060007]
#_ REGISTER_IN v4 [00080009, 000A000B, 000C000D, 000E000F]
vminuh v5, v3, v4
blr
#_ REGISTER_OUT v3 [00000001, 00020003, 00040005, 00060007]
#_ REGISTER_OUT v4 [00080009, 000A000B, 000C000D, 000E000F]
#_ REGISTER_OUT v5 [00000001, 00020003, 00040005, 00060007]
test_vminuh_2:
#_ REGISTER_IN v3 [00000009, 0002000B, 0004000D, 0006000F]
#_ REGISTER_IN v4 [00080001, 000A0003, 000C0005, 000E0007]
vminuh v5, v3, v4
blr
#_ REGISTER_OUT v3 [00000009, 0002000B, 0004000D, 0006000F]
#_ REGISTER_OUT v4 [00080001, 000A0003, 000C0005, 000E0007]
#_ REGISTER_OUT v5 [00000001, 00020003, 00040005, 00060007]