Changes between Version 12 and Version 13 of GcnInstrsVop3


Ignore:
Timestamp:
12/11/15 12:00:26 (8 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GcnInstrsVop3

    v12 v13  
    986986else
    987987    VDST = SF0</code></p>
     988<h4>V_DIV_FMAS_F32</h4>
     989<p>Opcode: 367 (0x16f) for GCN 1.0/1.1; 482 (0x1e2) for GCN 1.2<br />
     990Syntax: V_DIV_FMAS_F32 VDST, SRC0, SRC1, SRC2<br />
     991Description: Special case divide FMA with scale and flags.
     992SRC0 is quotient, SRC1 is denominator, SRC2 is nominator.
     993All input values are floating point values. Instruction does fussed multiply and addition,
     994multiply result by POW(2.0, -64) if absolute value of the SRC2 less than 2.0,
     995otherwise multiply by POW(2.0, 64); and store result to VDST.<br />
     996Operation:<br />
     997<code>// SRC0*SRC1+SRC2
     998VDST = FMA(ASFLOAT(SRC0), ASFLOAT(SRC1), ASFLOAT(SRC2))
     999if (ABS(ASFLOAT(SRC2)) &gt;= 2.0)
     1000    VDST = ASFLOAT(VDST)*POW(2.0,64)
     1001else
     1002    VDST = ASFLOAT(VDST)*POW(-2.0,64)</code></p>
     1003<h4>V_DIV_FMAS_F64</h4>
     1004<p>Opcode: 367 (0x16f) for GCN 1.0/1.1; 482 (0x1e2) for GCN 1.2<br />
     1005Syntax: V_DIV_FMAS_F64 VDST(2), SRC0(2), SRC1(2), SRC2(2)<br />
     1006Description: Special case divide FMA with scale and flags.
     1007SRC0 is quotient, SRC1 is denominator, SRC2 is nominator.
     1008All input values are double floating point values.
     1009Instruction does fussed multiply and addition,
     1010multiply result by POW(2.0, -128) if absolute value of the SRC2 less than 2.0,
     1011otherwise multiply by POW(2.0, 128); and store result to VDST.<br />
     1012Operation:<br />
     1013<code>// SRC0*SRC1+SRC2
     1014VDST = FMA(ASDOUBLE(SRC0), ASDOUBLE(SRC1), ASDOUBLE(SRC2))
     1015if (ABS(ASDOUBLE(SRC2)) &gt;= 2.0)
     1016    VDST = ASDOUBLE(VDST)*POW(2.0,128)
     1017else
     1018    VDST = ASDOUBLE(VDST)*POW(-2.0,128)</code></p>
    9881019<h4>V_DIV_SCALE_F32</h4>
    9891020<p>Opcode (VOP3B): 365 (0x16d) for GCN 1.0/1.1; 480 (0x1e0) for GCN 1.2<br />