vrfin test.

This commit is contained in:
Ben Vanik 2015-01-11 13:11:31 -08:00
parent ffe9fad685
commit f2100a78bc
4 changed files with 28 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,13 @@
/vagrant/src/alloy/frontend/ppc/test/bin//instr_vrfin.o: file format elf64-powerpc
Disassembly of section .text:
0000000000100000 <test_vrfin_1>:
100000: 10 60 1a 0a vrfin v3,v3
100004: 4e 80 00 20 blr
0000000000100008 <test_vrfin_2>:
100008: 10 60 1a 0a vrfin v3,v3
10000c: 4e 80 00 20 blr

View File

@ -0,0 +1,2 @@
0000000000000000 t test_vrfin_1
0000000000000008 t test_vrfin_2

View File

@ -0,0 +1,13 @@
test_vrfin_1:
#_ REGISTER_IN v3 [3f800000, 3fc00000, 3f8ccccd, 3ff33333]
# 1.0, 1.5, 1.1, 1.9 -> 1.0, 2.0, 1.0, 2.0
vrfin v3, v3
blr
#_ REGISTER_OUT v3 [3f800000, 40000000, 3f800000, 40000000]
test_vrfin_2:
#_ REGISTER_IN v3 [bf800000, bfc00000, bf8ccccd, bff33333]
# -1.0, -1.5, -1.1, -1.9 -> -1.0, -2.0, -1.0, -2.0
vrfin v3, v3
blr
#_ REGISTER_OUT v3 [bf800000, c0000000, bf800000, c0000000]