Changeset 4820 in CLRX


Ignore:
Timestamp:
Jul 22, 2019, 2:47:33 PM (4 weeks ago)
Author:
matszpk
Message:

CLRadeonExtender: GCNAsm: Add next VOP1 testcases for SDWA and DPP(8).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/tests/amdasm/GCNAsmOpc15.cpp

    r4819 r4820  
    15401540    { "    v_swaprel_b32  v158, v79", 0x7f3cd14fU, 0, false, true, "" },
    15411541    { "    v_swaprel_b32  v55, v27 vop3", 0xd5e80037U, 0x0000011bU, true, true, "" },
     1542    /* VOP1 SDWA */
     1543    { "    v_sin_f32  v158, -abs(v79) dst_sel:word1",
     1544            0x7f3c6af9U, 0x36054fU, true, true, "" },
     1545    { "    v_sin_f32  v158, -abs(v79) dst_sel:word1 src0_sel:word0",
     1546            0x7f3c6af9U, 0x34054fU, true, true, "" },
     1547    { "    v_sin_f32  v158, -abs(s79) dst_sel:word1",
     1548            0x7f3c6af9U, 0xb6054fU, true, true, "" },
     1549    /* VOP DPP */
     1550    { "    v_sin_f32  v158, v79 row_shr:14", 0x7f3c6afaU, 0xff011e4fU, true, true, "" },
     1551    /* VOP DPP8 */
     1552    { "    v_sin_f32  v158, v79 dpp8:[1,7,2,5,6,3,6,4]",
     1553        0x7f3c6ae9U, 0x99eab94fU, true, true, "" },
     1554        { "    v_sin_f32  v158, v79 dpp8:[1,7,2,5,6,3,6,4] fi",
     1555        0x7f3c6aeaU, 0x99eab94fU, true, true, "" },
     1556    /* VOP1 errors */
     1557    { "    v_mov_b32  v15, 133 vop3", 0, 0, false, false,
     1558        "test.s:1:5: Error: Literal in VOP3 encoding is illegal\n" },
     1559    { "    v_rcp_f64  v[158:], v[79:80]", 0, 0, false, false,
     1560        "test.s:1:22: Error: Expected expression\n"
     1561        "test.s:1:22: Error: Expected ',' before argument\n" },
     1562    { "    v_rcp_f64  v[158:159, v[79:80]", 0, 0, false, false,
     1563        "test.s:1:16: Error: Unterminated vector register range\n" },
     1564    { "    v_rcp_f64  v158, s79", 0, 0, false, false,
     1565        "test.s:1:16: Error: Required 2 vector registers\n"
     1566        "test.s:1:25: Error: Required 2 scalar registers\n" },
     1567    { "    v_mov_b32  v[48:59], s[80:81]", 0, 0, false, false,
     1568        "test.s:1:16: Error: Required 1 vector register\n"
     1569        "test.s:1:26: Error: Required 1 scalar register\n" },
    15421570    { nullptr, 0, 0, false, false, 0 }
    15431571};
Note: See TracChangeset for help on using the changeset viewer.