search for: cosval

Displaying 3 results from an estimated 3 matches for "cosval".

2014 Jun 16
2
[LLVMdev] codeGen, instruction write one value to the input register.
...;; “ which takes two inputs and write the result to the $dst register. Then how to define a binary instruction which returns two results, one is written to the $dst register, and the other one is written to one of the inputs? I mean, to implement something like: ” Type sincos( Type input, Type * cosVal) “ the instruction will compute sin and cos value of input, return the sin result and write the cos result to cosVal. Is there anything special constraints or something I should put onto the cos register? Best Kevin -------------- next part -------------- An HTML attachment was scrubbed... UR...
2014 Jul 07
2
[LLVMdev] codeGen, instruction write one value to the input register.
...he $dst register. >> >> Then how to define a binary instruction which returns two results, one is >> written to the $dst register, and the other one is written to one of the >> inputs? I mean, to implement something like: >> ” >> Type sincos( Type input, Type * cosVal) >> “ >> >> the instruction will compute sin and cos value of input, return the sin >> result and write the cos result to cosVal. >> Is there anything special constraints or something I should put onto the cos >> register? >> > > Hey Kevin, > &...
2014 Jul 11
2
[LLVMdev] Lowering to return multiple values: codeGen, instruction write one value to the input register.
Hi All, In XCore backend, I saw “ …... EVT VT = Op.getValueType(); SDValue Data = DAG.getNode(XCoreISD::CRC8, DL, DAG.getVTList(VT, VT), Op.getOperand(1), Op.getOperand(2) , Op.getOperand(3)); SDValue Crc(Data.getNode(), 1); SDValue Results[] = { Crc, Data }; return DAG.getMergeValues(Results, 2, DL); “ which is used to lower an