From d76db54feeb735ef4b5cdbc83722bae65972aff7 Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Wed, 14 Jan 2015 17:47:54 -0800 Subject: [PATCH] Tests for vmrg* (broken! woo!) --- src/alloy/frontend/ppc/test/bin/instr_vmrghb.bin | Bin 0 -> 8 bytes src/alloy/frontend/ppc/test/bin/instr_vmrghb.dis | 9 +++++++++ src/alloy/frontend/ppc/test/bin/instr_vmrghb.map | 1 + src/alloy/frontend/ppc/test/bin/instr_vmrghh.bin | Bin 0 -> 8 bytes src/alloy/frontend/ppc/test/bin/instr_vmrghh.dis | 9 +++++++++ src/alloy/frontend/ppc/test/bin/instr_vmrghh.map | 1 + src/alloy/frontend/ppc/test/bin/instr_vmrghw.bin | Bin 0 -> 8 bytes src/alloy/frontend/ppc/test/bin/instr_vmrghw.dis | 9 +++++++++ src/alloy/frontend/ppc/test/bin/instr_vmrghw.map | 1 + src/alloy/frontend/ppc/test/bin/instr_vmrglb.bin | Bin 0 -> 8 bytes src/alloy/frontend/ppc/test/bin/instr_vmrglb.dis | 9 +++++++++ src/alloy/frontend/ppc/test/bin/instr_vmrglb.map | 1 + src/alloy/frontend/ppc/test/bin/instr_vmrglh.bin | Bin 0 -> 8 bytes src/alloy/frontend/ppc/test/bin/instr_vmrglh.dis | 9 +++++++++ src/alloy/frontend/ppc/test/bin/instr_vmrglh.map | 1 + src/alloy/frontend/ppc/test/bin/instr_vmrglw.bin | Bin 0 -> 8 bytes src/alloy/frontend/ppc/test/bin/instr_vmrglw.dis | 9 +++++++++ src/alloy/frontend/ppc/test/bin/instr_vmrglw.map | 1 + .../frontend/ppc/test/bin/instr_vrlimi128.bin | Bin 72 -> 72 bytes .../frontend/ppc/test/bin/instr_vrlimi128.dis | 4 ++-- src/alloy/frontend/ppc/test/instr_vmrghb.s | 8 ++++++++ src/alloy/frontend/ppc/test/instr_vmrghh.s | 8 ++++++++ src/alloy/frontend/ppc/test/instr_vmrghw.s | 8 ++++++++ src/alloy/frontend/ppc/test/instr_vmrglb.s | 8 ++++++++ src/alloy/frontend/ppc/test/instr_vmrglh.s | 8 ++++++++ src/alloy/frontend/ppc/test/instr_vmrglw.s | 8 ++++++++ 26 files changed, 110 insertions(+), 2 deletions(-) create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vmrghb.bin create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vmrghb.dis create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vmrghb.map create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vmrghh.bin create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vmrghh.dis create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vmrghh.map create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vmrghw.bin create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vmrghw.dis create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vmrghw.map create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vmrglb.bin create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vmrglb.dis create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vmrglb.map create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vmrglh.bin create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vmrglh.dis create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vmrglh.map create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vmrglw.bin create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vmrglw.dis create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vmrglw.map create mode 100644 src/alloy/frontend/ppc/test/instr_vmrghb.s create mode 100644 src/alloy/frontend/ppc/test/instr_vmrghh.s create mode 100644 src/alloy/frontend/ppc/test/instr_vmrghw.s create mode 100644 src/alloy/frontend/ppc/test/instr_vmrglb.s create mode 100644 src/alloy/frontend/ppc/test/instr_vmrglh.s create mode 100644 src/alloy/frontend/ppc/test/instr_vmrglw.s diff --git a/src/alloy/frontend/ppc/test/bin/instr_vmrghb.bin b/src/alloy/frontend/ppc/test/bin/instr_vmrghb.bin new file mode 100644 index 0000000000000000000000000000000000000000..7d70f7c7897fd37fe557de451b473303fc46c4dd GIT binary patch literal 8 PcmWewtia>fz@PvC2+;w~ literal 0 HcmV?d00001 diff --git a/src/alloy/frontend/ppc/test/bin/instr_vmrghb.dis b/src/alloy/frontend/ppc/test/bin/instr_vmrghb.dis new file mode 100644 index 000000000..cad3a1fec --- /dev/null +++ b/src/alloy/frontend/ppc/test/bin/instr_vmrghb.dis @@ -0,0 +1,9 @@ + +/vagrant/src/alloy/frontend/ppc/test/bin//instr_vmrghb.o: file format elf64-powerpc + + +Disassembly of section .text: + +0000000000100000 : + 100000: 10 a3 20 0c vmrghb v5,v3,v4 + 100004: 4e 80 00 20 blr diff --git a/src/alloy/frontend/ppc/test/bin/instr_vmrghb.map b/src/alloy/frontend/ppc/test/bin/instr_vmrghb.map new file mode 100644 index 000000000..722579e07 --- /dev/null +++ b/src/alloy/frontend/ppc/test/bin/instr_vmrghb.map @@ -0,0 +1 @@ +0000000000000000 t test_vmrghb_1 diff --git a/src/alloy/frontend/ppc/test/bin/instr_vmrghh.bin b/src/alloy/frontend/ppc/test/bin/instr_vmrghh.bin new file mode 100644 index 0000000000000000000000000000000000000000..3db0e559377e8d03cfcb7f446a6650aac0f8cc90 GIT binary patch literal 8 PcmWewtl;C: + 100000: 10 a3 20 4c vmrghh v5,v3,v4 + 100004: 4e 80 00 20 blr diff --git a/src/alloy/frontend/ppc/test/bin/instr_vmrghh.map b/src/alloy/frontend/ppc/test/bin/instr_vmrghh.map new file mode 100644 index 000000000..fa3154185 --- /dev/null +++ b/src/alloy/frontend/ppc/test/bin/instr_vmrghh.map @@ -0,0 +1 @@ +0000000000000000 t test_vmrghh_1 diff --git a/src/alloy/frontend/ppc/test/bin/instr_vmrghw.bin b/src/alloy/frontend/ppc/test/bin/instr_vmrghw.bin new file mode 100644 index 0000000000000000000000000000000000000000..49d6bd213c22217829eb23a16559a644abe9b6f1 GIT binary patch literal 8 PcmWewtkC1vz@PvC3sC}2 literal 0 HcmV?d00001 diff --git a/src/alloy/frontend/ppc/test/bin/instr_vmrghw.dis b/src/alloy/frontend/ppc/test/bin/instr_vmrghw.dis new file mode 100644 index 000000000..836fa3ecc --- /dev/null +++ b/src/alloy/frontend/ppc/test/bin/instr_vmrghw.dis @@ -0,0 +1,9 @@ + +/vagrant/src/alloy/frontend/ppc/test/bin//instr_vmrghw.o: file format elf64-powerpc + + +Disassembly of section .text: + +0000000000100000 : + 100000: 10 a3 20 8c vmrghw v5,v3,v4 + 100004: 4e 80 00 20 blr diff --git a/src/alloy/frontend/ppc/test/bin/instr_vmrghw.map b/src/alloy/frontend/ppc/test/bin/instr_vmrghw.map new file mode 100644 index 000000000..6e75d3e31 --- /dev/null +++ b/src/alloy/frontend/ppc/test/bin/instr_vmrghw.map @@ -0,0 +1 @@ +0000000000000000 t test_vmrghw_1 diff --git a/src/alloy/frontend/ppc/test/bin/instr_vmrglb.bin b/src/alloy/frontend/ppc/test/bin/instr_vmrglb.bin new file mode 100644 index 0000000000000000000000000000000000000000..3065726a5467e43bd00979e149c58a454602a532 GIT binary patch literal 8 PcmWewtjOcnz@PvC2-gA6 literal 0 HcmV?d00001 diff --git a/src/alloy/frontend/ppc/test/bin/instr_vmrglb.dis b/src/alloy/frontend/ppc/test/bin/instr_vmrglb.dis new file mode 100644 index 000000000..0f0eb6667 --- /dev/null +++ b/src/alloy/frontend/ppc/test/bin/instr_vmrglb.dis @@ -0,0 +1,9 @@ + +/vagrant/src/alloy/frontend/ppc/test/bin//instr_vmrglb.o: file format elf64-powerpc + + +Disassembly of section .text: + +0000000000100000 : + 100000: 10 a3 21 0c vmrglb v5,v3,v4 + 100004: 4e 80 00 20 blr diff --git a/src/alloy/frontend/ppc/test/bin/instr_vmrglb.map b/src/alloy/frontend/ppc/test/bin/instr_vmrglb.map new file mode 100644 index 000000000..f453a6a09 --- /dev/null +++ b/src/alloy/frontend/ppc/test/bin/instr_vmrglb.map @@ -0,0 +1 @@ +0000000000000000 t test_vmrglb_1 diff --git a/src/alloy/frontend/ppc/test/bin/instr_vmrglh.bin b/src/alloy/frontend/ppc/test/bin/instr_vmrglh.bin new file mode 100644 index 0000000000000000000000000000000000000000..d057fde54a182bd81fcec28f01827dc040eeea85 GIT binary patch literal 8 PcmWewtmxy{z@PvC3Ks$o literal 0 HcmV?d00001 diff --git a/src/alloy/frontend/ppc/test/bin/instr_vmrglh.dis b/src/alloy/frontend/ppc/test/bin/instr_vmrglh.dis new file mode 100644 index 000000000..af22d8548 --- /dev/null +++ b/src/alloy/frontend/ppc/test/bin/instr_vmrglh.dis @@ -0,0 +1,9 @@ + +/vagrant/src/alloy/frontend/ppc/test/bin//instr_vmrglh.o: file format elf64-powerpc + + +Disassembly of section .text: + +0000000000100000 : + 100000: 10 a3 21 4c vmrglh v5,v3,v4 + 100004: 4e 80 00 20 blr diff --git a/src/alloy/frontend/ppc/test/bin/instr_vmrglh.map b/src/alloy/frontend/ppc/test/bin/instr_vmrglh.map new file mode 100644 index 000000000..79e7d7303 --- /dev/null +++ b/src/alloy/frontend/ppc/test/bin/instr_vmrglh.map @@ -0,0 +1 @@ +0000000000000000 t test_vmrglh_1 diff --git a/src/alloy/frontend/ppc/test/bin/instr_vmrglw.bin b/src/alloy/frontend/ppc/test/bin/instr_vmrglw.bin new file mode 100644 index 0000000000000000000000000000000000000000..5bd3c388379ee0ba5c8ca05a1a986d690dff9e28 GIT binary patch literal 8 PcmWewtk~n%z@PvC3s(Y9 literal 0 HcmV?d00001 diff --git a/src/alloy/frontend/ppc/test/bin/instr_vmrglw.dis b/src/alloy/frontend/ppc/test/bin/instr_vmrglw.dis new file mode 100644 index 000000000..148d0d08a --- /dev/null +++ b/src/alloy/frontend/ppc/test/bin/instr_vmrglw.dis @@ -0,0 +1,9 @@ + +/vagrant/src/alloy/frontend/ppc/test/bin//instr_vmrglw.o: file format elf64-powerpc + + +Disassembly of section .text: + +0000000000100000 : + 100000: 10 a3 21 8c vmrglw v5,v3,v4 + 100004: 4e 80 00 20 blr diff --git a/src/alloy/frontend/ppc/test/bin/instr_vmrglw.map b/src/alloy/frontend/ppc/test/bin/instr_vmrglw.map new file mode 100644 index 000000000..4632cad96 --- /dev/null +++ b/src/alloy/frontend/ppc/test/bin/instr_vmrglw.map @@ -0,0 +1 @@ +0000000000000000 t test_vmrglw_1 diff --git a/src/alloy/frontend/ppc/test/bin/instr_vrlimi128.bin b/src/alloy/frontend/ppc/test/bin/instr_vrlimi128.bin index 954231d04756511295649dd96180f3bb21d070fe..4cddadaff087cc6e99b0c22022c3703ed4b66238 100644 GIT binary patch literal 72 lcmb1WkQeZ4U{H|ghtmO2{sbs}0Zey5: - 100010: 1b 2f d7 55 vrlimi128 v57,v58,15,0 + 100010: 18 8f 1f 50 vrlimi128 v4,v3,15,0 100014: 4e 80 00 20 blr 0000000000100018 : @@ -21,7 +21,7 @@ Disassembly of section .text: 10001c: 4e 80 00 20 blr 0000000000100020 : - 100020: 1a ef c7 d5 vrlimi128 v55,v56,15,2 + 100020: 18 8f 1f d0 vrlimi128 v4,v3,15,2 100024: 4e 80 00 20 blr 0000000000100028 : diff --git a/src/alloy/frontend/ppc/test/instr_vmrghb.s b/src/alloy/frontend/ppc/test/instr_vmrghb.s new file mode 100644 index 000000000..a24a98a86 --- /dev/null +++ b/src/alloy/frontend/ppc/test/instr_vmrghb.s @@ -0,0 +1,8 @@ +test_vmrghb_1: + #_ REGISTER_IN v3 [00010203, 04050607, 08090A0B, 0C0D0E0F] + #_ REGISTER_IN v4 [10111213, 14151617, 18191A1B, 1C1D1E1F] + vmrghb v5, v3, v4 + blr + #_ REGISTER_OUT v3 [00010203, 04050607, 08090A0B, 0C0D0E0F] + #_ REGISTER_OUT v4 [10111213, 14151617, 18191A1B, 1C1D1E1F] + #_ REGISTER_OUT v5 [00100111, 02120313, 04140515, 06160717] diff --git a/src/alloy/frontend/ppc/test/instr_vmrghh.s b/src/alloy/frontend/ppc/test/instr_vmrghh.s new file mode 100644 index 000000000..826a11b3a --- /dev/null +++ b/src/alloy/frontend/ppc/test/instr_vmrghh.s @@ -0,0 +1,8 @@ +test_vmrghh_1: + #_ REGISTER_IN v3 [00010203, 04050607, 08090A0B, 0C0D0E0F] + #_ REGISTER_IN v4 [10111213, 14151617, 18191A1B, 1C1D1E1F] + vmrghh v5, v3, v4 + blr + #_ REGISTER_OUT v3 [00010203, 04050607, 08090A0B, 0C0D0E0F] + #_ REGISTER_OUT v4 [10111213, 14151617, 18191A1B, 1C1D1E1F] + #_ REGISTER_OUT v5 [00011011, 02031213, 04051415, 06071617] diff --git a/src/alloy/frontend/ppc/test/instr_vmrghw.s b/src/alloy/frontend/ppc/test/instr_vmrghw.s new file mode 100644 index 000000000..0aa8f1b08 --- /dev/null +++ b/src/alloy/frontend/ppc/test/instr_vmrghw.s @@ -0,0 +1,8 @@ +test_vmrghw_1: + #_ REGISTER_IN v3 [00010203, 04050607, 08090A0B, 0C0D0E0F] + #_ REGISTER_IN v4 [10111213, 14151617, 18191A1B, 1C1D1E1F] + vmrghw v5, v3, v4 + blr + #_ REGISTER_OUT v3 [00010203, 04050607, 08090A0B, 0C0D0E0F] + #_ REGISTER_OUT v4 [10111213, 14151617, 18191A1B, 1C1D1E1F] + #_ REGISTER_OUT v5 [00010203, 10111213, 04050607, 14151617] diff --git a/src/alloy/frontend/ppc/test/instr_vmrglb.s b/src/alloy/frontend/ppc/test/instr_vmrglb.s new file mode 100644 index 000000000..c21b25283 --- /dev/null +++ b/src/alloy/frontend/ppc/test/instr_vmrglb.s @@ -0,0 +1,8 @@ +test_vmrglb_1: + #_ REGISTER_IN v3 [00010203, 04050607, 08090A0B, 0C0D0E0F] + #_ REGISTER_IN v4 [10111213, 14151617, 18191A1B, 1C1D1E1F] + vmrglb v5, v3, v4 + blr + #_ REGISTER_OUT v3 [00010203, 04050607, 08090A0B, 0C0D0E0F] + #_ REGISTER_OUT v4 [10111213, 14151617, 18191A1B, 1C1D1E1F] + #_ REGISTER_OUT v5 [08180919, 0a1a0b1b, 0c1c0d1d, 0e1e0f1f] diff --git a/src/alloy/frontend/ppc/test/instr_vmrglh.s b/src/alloy/frontend/ppc/test/instr_vmrglh.s new file mode 100644 index 000000000..4f1c647df --- /dev/null +++ b/src/alloy/frontend/ppc/test/instr_vmrglh.s @@ -0,0 +1,8 @@ +test_vmrglh_1: + #_ REGISTER_IN v3 [00010203, 04050607, 08090A0B, 0C0D0E0F] + #_ REGISTER_IN v4 [10111213, 14151617, 18191A1B, 1C1D1E1F] + vmrglh v5, v3, v4 + blr + #_ REGISTER_OUT v3 [00010203, 04050607, 08090A0B, 0C0D0E0F] + #_ REGISTER_OUT v4 [10111213, 14151617, 18191A1B, 1C1D1E1F] + #_ REGISTER_OUT v5 [08091819, 0a0b1a1b, 0c0d1c1d, 0e0f1e1f] diff --git a/src/alloy/frontend/ppc/test/instr_vmrglw.s b/src/alloy/frontend/ppc/test/instr_vmrglw.s new file mode 100644 index 000000000..5567e9fe0 --- /dev/null +++ b/src/alloy/frontend/ppc/test/instr_vmrglw.s @@ -0,0 +1,8 @@ +test_vmrglw_1: + #_ REGISTER_IN v3 [00010203, 04050607, 08090A0B, 0C0D0E0F] + #_ REGISTER_IN v4 [10111213, 14151617, 18191A1B, 1C1D1E1F] + vmrglw v5, v3, v4 + blr + #_ REGISTER_OUT v3 [00010203, 04050607, 08090A0B, 0C0D0E0F] + #_ REGISTER_OUT v4 [10111213, 14151617, 18191A1B, 1C1D1E1F] + #_ REGISTER_OUT v5 [08090a0b, 18191a1b, 0c0d0e0f, 1c1d1e1f]