PTX comment for POW operations
@@ -159,6 +159,15 @@ public class PTXFPBinaryIntrinsicNode extends BinaryNode implements ArithmeticLI
*
* Because the log function only operates on single precision FPU , we must
* convert the inputs and output to and from double precision FPU, if necessary.
+ *
+ * This snipet generates the following code:
+ *
+ * <code>
+ * cvt.rn.f32.f64 rfi1, rfd0;
+ * mul.rn.f32 rfi2, rfi1, 0F3FB8AA3B;
+ * ex2.approx.f32 rfi3, rfi2;
+ * </code>
+ *
*/
private void generatePow(NodeLIRBuilderTool builder, PTXArithmeticTool lirGen, PTXBuiltinTool gen, Value x, Value y) {
LIRGeneratorTool genTool = builder.getLIRGeneratorTool();
