Displaying 3 results from an estimated 3 matches for "3b7fbde6".
2009 Dec 07
0
[LLVMdev] How to use property 'isCommutable' in target description file?
Hello
> How can i tell the system X=A*B + C == X = B*A + C == X=C+A*B == X=C+B*A by
> property 'isCommutable'? Is it necessary to do that?
Most probably you will need to write a special hook to commute this
instruction. However, everything depends on your target (e.g. if there
is an output register tied to one of the input).
> *** Another question: Why set isCommutable = 1 in
2009 Dec 08
1
[LLVMdev] How to use property 'isCommutable' in target description file?
...imm operations.
>
> --
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091208/3b7fbde6/attachment.html>
2009 Dec 07
2
[LLVMdev] How to use property 'isCommutable' in target description file?
Hi everyone,
I practice writing target description file with MSP430 reference.
I add a multiply-and-add instruction as below:
let isTwoAddress=1 in {
def MULADD:Pseudo<(out GR16:$dst), (ins GR16:$src1, GR16:$src2,
GR16:$src3),
"muladd\t{$dst, $src2, $src3}",
[(set GR16:$dst, (add GR16:$src1, (mul
GR16:$src2,