vaddshs/vadduhm/vsubshs/vsubuhm tests.

This commit is contained in:
Ben Vanik 2015-01-19 12:24:41 -08:00
parent b2e03fa628
commit 056d4ed9b0
16 changed files with 68 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,9 @@
/vagrant/src/alloy/frontend/ppc/test/bin//instr_vaddshs.o: file format elf64-powerpc
Disassembly of section .text:
0000000000100000 <test_vaddshs_1>:
100000: 10 63 23 40 vaddshs v3,v3,v4
100004: 4e 80 00 20 blr

View File

@ -0,0 +1 @@
0000000000000000 t test_vaddshs_1

Binary file not shown.

View File

@ -0,0 +1,9 @@
/vagrant/src/alloy/frontend/ppc/test/bin//instr_vadduhm.o: file format elf64-powerpc
Disassembly of section .text:
0000000000100000 <test_vadduhm_1>:
100000: 10 63 20 40 vadduhm v3,v3,v4
100004: 4e 80 00 20 blr

View File

@ -0,0 +1 @@
0000000000000000 t test_vadduhm_1

Binary file not shown.

View File

@ -0,0 +1,9 @@
/vagrant/src/alloy/frontend/ppc/test/bin//instr_vsubshs.o: file format elf64-powerpc
Disassembly of section .text:
0000000000100000 <test_vsubshs_1>:
100000: 10 63 27 40 .long 0x10632740
100004: 4e 80 00 20 blr

View File

@ -0,0 +1 @@
0000000000000000 t test_vsubshs_1

Binary file not shown.

View File

@ -0,0 +1,9 @@
/vagrant/src/alloy/frontend/ppc/test/bin//instr_vsubuhm.o: file format elf64-powerpc
Disassembly of section .text:
0000000000100000 <test_vsubuhm_1>:
100000: 10 63 24 40 vsubuhm v3,v3,v4
100004: 4e 80 00 20 blr

View File

@ -0,0 +1 @@
0000000000000000 t test_vsubuhm_1

View File

@ -0,0 +1,7 @@
test_vaddshs_1:
#_ REGISTER_IN v3 [7FFF8001, 7FFF8003, 7FFF8005, 80068007]
#_ REGISTER_IN v4 [00018001, 10000000, 42568124, 00000000]
vaddshs v3, v3, v4
blr
#_ REGISTER_OUT v3 [7fff8000, 7fff8003, 7fff8000, 80068007]
#_ REGISTER_OUT v4 [00018001, 10000000, 42568124, 00000000]

View File

@ -0,0 +1,7 @@
test_vadduhm_1:
#_ REGISTER_IN v3 [7FFF8001, 7FFF8003, 7FFF8005, 80068007]
#_ REGISTER_IN v4 [00018001, 10000000, 42568124, 00000000]
vadduhm v3, v3, v4
blr
#_ REGISTER_OUT v3 [80000002, 8fff8003, c2550129, 80068007]
#_ REGISTER_OUT v4 [00018001, 10000000, 42568124, 00000000]

View File

@ -0,0 +1,7 @@
test_vsubshs_1:
#_ REGISTER_IN v3 [7FFF8001, 7FFF8003, 7FFF8005, 80068007]
#_ REGISTER_IN v4 [00018001, 10000000, 42568124, 00000000]
vsubshs v3, v3, v4
blr
#_ REGISTER_OUT v3 [7ffe0000, 6fff8003, 3da9fee1, 80068007]
#_ REGISTER_OUT v4 [00018001, 10000000, 42568124, 00000000]

View File

@ -0,0 +1,7 @@
test_vsubuhm_1:
#_ REGISTER_IN v3 [7FFF8001, 7FFF8003, 7FFF8005, 80068007]
#_ REGISTER_IN v4 [00018001, 10000000, 42568124, 00000000]
vsubuhm v3, v3, v4
blr
#_ REGISTER_OUT v3 [7ffe0000, 6fff8003, 3da9fee1, 80068007]
#_ REGISTER_OUT v4 [00018001, 10000000, 42568124, 00000000]