Displaying 1 result from an estimated 1 matches for "pppc".
Did you mean:
ppc
2009 Jun 17
2
[LLVMdev] possible PowerPC (32bits) backend bug
...gt;,
Requires<[FPContractions]>;
Now I wrote a little toy program that, when compiled, uses this instruction.
Here is the program:
#include<stdio.h>
int main()
{
float a,b,c;
b = b * c;
a = a - b;
return 0;
}
And here is the assembly:
<Insert the pPPC assembly here>
.text
.global main
.type main, @function
.align 2
main:
lfs 0, -8(1)
lfs 1, -12(1)
li 3, 0
fmuls 2, 1, 0
stfs 2, -12(1)
lfs 2, -16(1)
fnmsubs 0, 1, 0, 2
stfs 0, -16(1)
stw 3, -20(1)
stw 3, -4(1)
BB1_1: # return
lwz 3, -4(1)
blr
.size main,.-main
At a glance,...