Changeset 1764 in CLRX


Ignore:
Timestamp:
Nov 29, 2015, 3:49:05 PM (4 years ago)
Author:
matszpk
Message:

CLRadeonExtender: Doc updates: Fixed operation listings for S_FLBIT*. Added V_FFB* instructions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/doc/GcnInstrsSop1.md

    r1743 r1764  
    336336```
    337337SDST = -1
    338 for (INT8 i = 31; i >= 0; i++)
     338for (INT8 i = 31; i >= 0; i--)
    339339    if ((1U<<i) & SSRC0) != 0)
    340340    { SDST = 31-i; break; }
     
    350350```
    351351SDST = -1
    352 for (INT8 i = 63; i >= 0; i++)
     352for (INT8 i = 63; i >= 0; i--)
    353353    if ((1ULL<<i) & SSRC0) != 0)
    354354    { SDST = 63-i; break; }
     
    365365SDST = -1
    366366UINT32 bitval = (INT32)SSRC0>=0 ? 1 : 0
    367 for (INT8 i = 31; i >= 0; i++)
     367for (INT8 i = 31; i >= 0; i--)
    368368    if ((1U<<i) & SSRC0) == (bitval<<i))
    369369    { SDST = 31-i; break; }
     
    380380SDST = -1
    381381UINT64 bitval = (INT64)SSRC0>=0 ? 1 : 0
    382 for (INT8 i = 63; i >= 0; i++)
     382for (INT8 i = 63; i >= 0; i--)
    383383    if ((1U<<i) & SSRC0) == (bitval<<i))
    384384    { SDST = 63-i; break; }
Note: See TracChangeset for help on using the changeset viewer.