Changeset 3747 in CLRX


Ignore:
Timestamp:
Feb 7, 2018, 7:44:47 PM (15 months ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmROCm: Add new testcases (errors).

File:
1 edited

Legend:

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

    r3746 r3747  
    10891089        "", true
    10901090    },
    1091     {
     1091    {   // next metadata info example
    10921092        R"ffDXD(.rocm
    10931093        .gpu Fiji
     
    12561256)ffDXD",
    12571257        "", true
    1258     }
     1258    },
     1259    {   // next metadata info (errors)
     1260        R"ffDXD(.rocm
     1261        .gpu Fiji
     1262        .eflags 3
     1263        .newbinfmt
     1264        .md_version 3 , 5
     1265.kernel kxx1
     1266    .config
     1267        .dims x
     1268        .codeversion 1,0
     1269        .call_convention 0x34dac
     1270        .debug_private_segment_buffer_sgpr 98
     1271        .debug_wavefront_private_segment_offset_sgpr 96
     1272        .gds_segment_size 100
     1273        .kernarg_segment_align 32
     1274    # metadata
     1275    .text
     1276        .md_language "jezorx"
     1277        .reqd_work_group_size 6,
     1278        .work_group_size_hint 5,7
     1279        .fixed_work_group_size 3,,71
     1280        .md_kernarg_segment_size 64
     1281        .md_kernarg_segment_align 32
     1282        .md_group_segment_fixed_size 1121
     1283        .md_private_segment_fixed_size 6632
     1284        .md_wavefront_size 64
     1285        .md_sgprsnum 14
     1286        .md_vgprsnum 11
     1287        .spilledsgprs 34
     1288        .spilledvgprs 42
     1289        .runtime_handle "SomeCodeToExec"
     1290        # arg infos
     1291        .arg , "", 8, 8, none, i64
     1292        .arg , "", 8, 8, complact, i64
     1293.kernel kxx1
     1294        .arg , "", 8, 8, printfbuxf, i64
     1295        .arg vx1, "void*", 8, 8, globalbuf, xi8, global, default volatile
     1296        .arg vx1, "void*", 8, 8, globalbuf, xi8, global, default volxx
     1297        .arg vx1, "void*", 8, 8, globalbuf, i8, global, volatile
     1298        .arg vx1, "void*", 8, 8, globalbuf, i8, global :: xx
     1299        .md_language "jezorx", ,
     1300        .md_vgprsnum 
     1301        .runtime_handle 144
     1302.main
     1303        .printf 22,,,"aa"
     1304.text
     1305kxx1:   .skip 256
     1306        s_mov_b32 s7, 0
     1307        s_endpgm
     1308)ffDXD",
     1309        "",
     1310        R"ffDXD(test.s:17:9: Error: Illegal place of configuration pseudo-op
     1311test.s:18:9: Error: Illegal place of configuration pseudo-op
     1312test.s:19:9: Error: Illegal place of configuration pseudo-op
     1313test.s:20:9: Error: Illegal place of configuration pseudo-op
     1314test.s:21:9: Error: Illegal place of configuration pseudo-op
     1315test.s:22:9: Error: Illegal place of configuration pseudo-op
     1316test.s:23:9: Error: Illegal place of configuration pseudo-op
     1317test.s:24:9: Error: Illegal place of configuration pseudo-op
     1318test.s:25:9: Error: Illegal place of configuration pseudo-op
     1319test.s:26:9: Error: Illegal place of configuration pseudo-op
     1320test.s:27:9: Error: Illegal place of configuration pseudo-op
     1321test.s:28:9: Error: Illegal place of configuration pseudo-op
     1322test.s:29:9: Error: Illegal place of configuration pseudo-op
     1323test.s:30:9: Error: Illegal place of configuration pseudo-op
     1324test.s:32:9: Error: Illegal place of configuration pseudo-op
     1325test.s:33:9: Error: Illegal place of configuration pseudo-op
     1326test.s:35:26: Error: Unknown value kind
     1327test.s:36:45: Error: Unknown value type
     1328test.s:37:45: Error: Unknown value type
     1329test.s:37:66: Error: Unknown argument flag
     1330test.s:38:57: Error: Unknown access qualifier
     1331test.s:39:56: Error: Some garbages at argument flag place
     1332test.s:40:32: Error: Expected expression
     1333test.s:40:33: Error: Expected expression
     1334test.s:41:23: Error: Expected expression
     1335test.s:42:25: Error: Expected string
     1336test.s:44:20: Error: Expected expression
     1337test.s:44:21: Error: Expected expression
     1338)ffDXD", false
     1339    },
    12591340};
    12601341
Note: See TracChangeset for help on using the changeset viewer.