From 1d4ee3e6fb1dac4a399d97a9979fba5135c1685d Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Wed, 14 Jan 2015 17:59:14 -0800 Subject: [PATCH] vcfsx test --- .../frontend/ppc/test/bin/instr_vcfsx.bin | Bin 0 -> 24 bytes .../frontend/ppc/test/bin/instr_vcfsx.dis | 17 +++++++++++++++ .../frontend/ppc/test/bin/instr_vcfsx.map | 3 +++ src/alloy/frontend/ppc/test/instr_vcfsx.s | 20 ++++++++++++++++++ 4 files changed, 40 insertions(+) create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vcfsx.bin create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vcfsx.dis create mode 100644 src/alloy/frontend/ppc/test/bin/instr_vcfsx.map create mode 100644 src/alloy/frontend/ppc/test/instr_vcfsx.s diff --git a/src/alloy/frontend/ppc/test/bin/instr_vcfsx.bin b/src/alloy/frontend/ppc/test/bin/instr_vcfsx.bin new file mode 100644 index 0000000000000000000000000000000000000000..37185319aa8b0fa034ce1c918c5e030774c7547d GIT binary patch literal 24 VcmWegkoNLxU{DZ9gwk0M8URAs1yuk5 literal 0 HcmV?d00001 diff --git a/src/alloy/frontend/ppc/test/bin/instr_vcfsx.dis b/src/alloy/frontend/ppc/test/bin/instr_vcfsx.dis new file mode 100644 index 000000000..4a48e6f4b --- /dev/null +++ b/src/alloy/frontend/ppc/test/bin/instr_vcfsx.dis @@ -0,0 +1,17 @@ + +/vagrant/src/alloy/frontend/ppc/test/bin//instr_vcfsx.o: file format elf64-powerpc + + +Disassembly of section .text: + +0000000000100000 : + 100000: 10 60 1b 4a vcfsx v3,v3,0 + 100004: 4e 80 00 20 blr + +0000000000100008 : + 100008: 10 61 1b 4a vcfsx v3,v3,1 + 10000c: 4e 80 00 20 blr + +0000000000100010 : + 100010: 10 6a 1b 4a vcfsx v3,v3,10 + 100014: 4e 80 00 20 blr diff --git a/src/alloy/frontend/ppc/test/bin/instr_vcfsx.map b/src/alloy/frontend/ppc/test/bin/instr_vcfsx.map new file mode 100644 index 000000000..73c00c6e1 --- /dev/null +++ b/src/alloy/frontend/ppc/test/bin/instr_vcfsx.map @@ -0,0 +1,3 @@ +0000000000000000 t test_vcfsx_1 +0000000000000008 t test_vcfsx_2 +0000000000000010 t test_vcfsx_3 diff --git a/src/alloy/frontend/ppc/test/instr_vcfsx.s b/src/alloy/frontend/ppc/test/instr_vcfsx.s new file mode 100644 index 000000000..86986f309 --- /dev/null +++ b/src/alloy/frontend/ppc/test/instr_vcfsx.s @@ -0,0 +1,20 @@ +test_vcfsx_1: + #_ REGISTER_IN v3 [3f800000, 3fc00000, 3f8ccccd, 3ff33333] + # 1.0, 1.5, 1.1, 1.9 + vcfsx v3, v3, 0 + blr + #_ REGISTER_OUT v3 [4e7e0000, 4e7f0000, 4e7e3333, 4e7fcccd] + +test_vcfsx_2: + #_ REGISTER_IN v3 [3f800000, 3fc00000, 3f8ccccd, 3ff33333] + # 1.0, 1.5, 1.1, 1.9 + vcfsx v3, v3, 1 + blr + #_ REGISTER_OUT v3 [4dfe0000, 4dff0000, 4dfe3333, 4dffcccd] + +test_vcfsx_3: + #_ REGISTER_IN v3 [3f800000, 3fc00000, 3f8ccccd, 3ff33333] + # 1.0, 1.5, 1.1, 1.9 + vcfsx v3, v3, 10 + blr + #_ REGISTER_OUT v3 [497e0000, 497f0000, 497e3333, 497fcccd]