| 1365 | <h4>V_RCP_F64</h4> |
| 1366 | <p>Opcode VOP1: 47 (0x2f) for GCN 1.0/1.1; 37 (0x25) for GCN 2.0<br /> |
| 1367 | Opcode VOP3A: 431 (0x1af) for GCN 1.0/1.1; 357 (0x165) for GCN 2.0<br /> |
| 1368 | Syntax: V_RCP_F64 VDST(2), SRC0(2)<br /> |
| 1369 | Description: Approximate reciprocal from double FP value SRC0 and store it to VDST. |
| 1370 | Relative error of approximation is ~1e-8.<br /> |
| 1371 | Description:<br /> |
| 1372 | <code>VDST = APPROX_RCP(ASDOUBLE(SRC0))</code></p> |
| 1373 | <h4>V_RCP_CLAMP_F64</h4> |
| 1374 | <p>Opcode VOP1: 48 (0x30) for GCN 1.0/1.1<br /> |
| 1375 | Opcode VOP3A: 432 (0x1b0) for GCN 1.0/1.1<br /> |
| 1376 | Syntax: V_RCP_CLAMP_F64 VDST(2), SRC0(2)<br /> |
| 1377 | Description: Approximate reciprocal from double FP value SRC0 and store it to VDST. |
| 1378 | Relative error of approximation is ~1e-8. |
| 1379 | Result is clamped to MAX_DOUBLE value including sign of a result.<br /> |
| 1380 | Description:<br /> |
| 1381 | <code>VDST = APPROX_RCP(ASDOUBLE(SRC0)) |
| 1382 | if (ABS(ASDOUBLE(VDST))==INF) |
| 1383 | VDST = SIGN(ASDOUBLE(VDST)) * MAX_DOUBLE</code></p> |
| 1442 | <h4>V_RSQ_F32</h4> |
| 1443 | <p>Opcode VOP1: 46 (0x2e) for GCN 1.0/1.1; 36 (0x24) for GCN 2.0<br /> |
| 1444 | Opcode VOP3A: 430 (0x1ae) for GCN 1.0/1.1; 356 (0x164) for GCN 2.0<br /> |
| 1445 | Syntax: V_RCP_F32 VDST, SRC0<br /> |
| 1446 | Description: Approximate reciprocal square root from floating point value SRC0 and |
| 1447 | store it to VDST. If SRC0 is negative value, store -NAN to VDST. |
| 1448 | This instruction doesn't handle denormalized values regardless FLOAT MODE register setup.<br /> |
| 1449 | Description:<br /> |
| 1450 | <code>VDST = APPROX_RSQRT(ASFLOAT(SRC0))</code></p> |
1435 | | <h4>V_RSQ_F32</h4> |
1436 | | <p>Opcode VOP1: 46 (0x2e) for GCN 1.0/1.1; 36 (0x24) for GCN 2.0<br /> |
1437 | | Opcode VOP3A: 430 (0x1ae) for GCN 1.0/1.1; 356 (0x164) for GCN 2.0<br /> |
1438 | | Syntax: V_RCP_F32 VDST, SRC0<br /> |
1439 | | Description: Approximate reciprocal square root from floating point value SRC0 and |
1440 | | store it to VDST. If SRC0 is negative value, store -NAN to VDST. |
1441 | | This instruction doesn't handle denormalized values regardless FLOAT MODE register setup.<br /> |
1442 | | Description:<br /> |
1443 | | <code>VDST = APPROX_RSQRT(ASFLOAT(SRC0))</code></p> |