Changeset 4792 in CLRX


Ignore:
Timestamp:
Jul 17, 2019, 7:57:52 AM (5 weeks ago)
Author:
matszpk
Message:

CLRadeonExtender: GCNAsm: Disable TMA and TBA for GFX10.

Location:
CLRadeonExtender/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/amdasm/GCNAsmHelpers.cpp

    r4790 r4792  
    579579            loHiReg = 126;
    580580        }
    581         else if ((arch & ARCH_GCN_1_4) == 0 && regName[0]=='t')
     581        else if ((arch & ARCH_GCN_1_4_5) == 0 && regName[0]=='t')
    582582        {
    583583            /* tma,tba */
  • CLRadeonExtender/trunk/tests/amdasm/GCNAsmOpc15.cpp

    r4791 r4792  
    3939    { "    s_add_u32  ttmp12, s4, s61", 0x80783d04U, 0, false, true, "" },
    4040    { "    s_add_u32  ttmp15, s4, s61", 0x807b3d04U, 0, false, true, "" },
     41    { "    s_add_u32  tba_lo, s4, s61", 0, 0, false, false,
     42        "test.s:1:16: Error: Expected 1 scalar register\n" },
     43    { "    s_add_u32  tba_hi, s4, s61", 0, 0, false, false,
     44        "test.s:1:16: Error: Expected 1 scalar register\n" },
     45    { "    s_add_u32  tma_lo, s4, s61", 0, 0, false, false,
     46        "test.s:1:16: Error: Expected 1 scalar register\n" },
     47    { "    s_add_u32  tma_hi, s4, s61", 0, 0, false, false,
     48        "test.s:1:16: Error: Expected 1 scalar register\n" },
    4149    { nullptr, 0, 0, false, false, 0 }
    4250};
Note: See TracChangeset for help on using the changeset viewer.