vcfsx test

This commit is contained in:
Ben Vanik 2015-01-14 17:59:14 -08:00
parent d76db54fee
commit 1d4ee3e6fb
4 changed files with 40 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,17 @@
/vagrant/src/alloy/frontend/ppc/test/bin//instr_vcfsx.o: file format elf64-powerpc
Disassembly of section .text:
0000000000100000 <test_vcfsx_1>:
100000: 10 60 1b 4a vcfsx v3,v3,0
100004: 4e 80 00 20 blr
0000000000100008 <test_vcfsx_2>:
100008: 10 61 1b 4a vcfsx v3,v3,1
10000c: 4e 80 00 20 blr
0000000000100010 <test_vcfsx_3>:
100010: 10 6a 1b 4a vcfsx v3,v3,10
100014: 4e 80 00 20 blr

View File

@ -0,0 +1,3 @@
0000000000000000 t test_vcfsx_1
0000000000000008 t test_vcfsx_2
0000000000000010 t test_vcfsx_3

View File

@ -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]