Displaying 4 results from an estimated 4 matches for "vreg1024".
Did you mean:
reg1024
2006 Jun 26
0
[LLVMdev] Mapping bytecode to X86
...moving one of the operands of a two address instruction.
Whether you choose to use the two-address pass or not (your choice), you
should make sure that the first two operands of the instructions are
assigned to the same register, and then you delete one. For example,
before RA you might have:
vreg1024 = ADDxxx vreg1025, 123
after, you should have:
ADDxxx EAX, 123
Where the "EAX" operand is marked as a def&use operand.
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
2006 Jun 27
2
[LLVMdev] Mapping bytecode to X86
...s of a two address instruction.
> Whether you choose to use the two-address pass or not (your choice), you
> should make sure that the first two operands of the instructions are
> assigned to the same register, and then you delete one. For example,
> before RA you might have:
>
> vreg1024 = ADDxxx vreg1025, 123
>
> after, you should have:
>
> ADDxxx EAX, 123
>
> Where the "EAX" operand is marked as a def&use operand.
>
> -Chris
>
> --
> http://nondot.org/sabre/
> http://llvm.org/
> _______________________________________________
&...
2006 Jun 26
2
[LLVMdev] Mapping bytecode to X86
Dear guys,
I am in need of more of your help. I'm implementing a register
allocator, and I am having problems to make it produce correct code.
Consider this program here:
int main(int argc, char ** argv) {
int i, j, sum;
i = argv[0][0];
j = argv[0][1];
sum = (i + j) * j;
printf("Sum = %d\n", sum);
}
that maps to this llvm bytecode:
entry (0xa785590, LLVM
2006 Jun 27
0
[LLVMdev] Mapping bytecode to X86
...uction.
>> Whether you choose to use the two-address pass or not (your choice), you
>> should make sure that the first two operands of the instructions are
>> assigned to the same register, and then you delete one. For example,
>> before RA you might have:
>>
>> vreg1024 = ADDxxx vreg1025, 123
>>
>> after, you should have:
>>
>> ADDxxx EAX, 123
>>
>> Where the "EAX" operand is marked as a def&use operand.
>>
>> -Chris
>>
>> --
>> http://nondot.org/sabre/
>> http://llvm.org/
>&g...