Changeset 3818 in CLRX


Ignore:
Timestamp:
Feb 17, 2018, 11:26:45 AM (17 months ago)
Author:
matszpk
Message:

CLRadeonExtender: Missing changes in tests.

File:
1 edited

Legend:

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

    r3808 r3818  
    417417            y28 = al+cl+bl<=@cl+al+bl-99
    418418            y29 = al+cl+bl>=@cl+al+bl-99
     419           
     420            y30 = al&0
     421            y31 = al&-1
     422            y32 = 0&al
     423            y33 = -1&al
     424            y34 = al|0
     425            y35 = al|-1
     426            y36 = 0|al
     427            y37 = -1|al
     428            y38 = al^0
     429            y39 = 0^al
     430            y40 = al!0
     431            y41 = al!-1
     432            y42 = al&&0
     433            y43 = 0&&al
     434            y44 = al||1
     435            y45 = 2||al
     436            y46 = 0!-al
     437            y47 = -1!al
    419438            z0 = al-ae ? bl : ce)ffDXD",
    420439        BinaryFormat::AMD, GPUDeviceType::CAPE_VERDE, false, { "a", "b", "c" },
     
    470489            { "y28", 18446744073709551615U, ASMSECT_ABS, 0U, true, false, false, 0, 0 },
    471490            { "y29", 0U, ASMSECT_ABS, 0U, true, false, false, 0, 0 },
     491            { "y30", 0U, ASMSECT_ABS, 0U, true, false, false, 0, 0 },
     492            { "y31", 3U, 1, 0U, true, false, false, 0, 0 },
     493            { "y32", 0U, ASMSECT_ABS, 0U, true, false, false, 0, 0 },
     494            { "y33", 3U, 1, 0U, true, false, false, 0, 0 },
     495            { "y34", 3U, 1, 0U, true, false, false, 0, 0 },
     496            { "y35", 0xffffffffffffffffULL, ASMSECT_ABS, 0U, true, false, false, 0, 0 },
     497            { "y36", 3U, 1, 0U, true, false, false, 0, 0 },
     498            { "y37", 0xffffffffffffffffULL, ASMSECT_ABS, 0U, true, false, false, 0, 0 },
     499            { "y38", 3U, 1, 0U, true, false, false, 0, 0 },
     500            { "y39", 3U, 1, 0U, true, false, false, 0, 0 },
     501            { "y40", 0xffffffffffffffffULL, ASMSECT_ABS, 0U, true, false, false, 0, 0 },
     502            { "y41", 3U, 1, 0U, true, false, false, 0, 0 },
     503            { "y42", 0U, ASMSECT_ABS, 0U, true, false, false, 0, 0 },
     504            { "y43", 0U, ASMSECT_ABS, 0U, true, false, false, 0, 0 },
     505            { "y44", 1U, ASMSECT_ABS, 0U, true, false, false, 0, 0 },
     506            { "y45", 1U, ASMSECT_ABS, 0U, true, false, false, 0, 0 },
     507            { "y46", 2U, 1, 0U, true, false, false, 0, 0 },
     508            { "y47", 0xffffffffffffffffULL, ASMSECT_ABS, 0U, true, false, false, 0, 0 },
    472509            { "z0", 5U, 2, 0U, true, false, false, 0, 0 }
    473510        }, true, "", ""
     
    501538            e0 = al^6
    502539            e0 = al&&6
    503             e0 = al||6
     540            e0 = al||0
    504541            e0 = al!6
    505542            e0 = al==7
     
    513550            e0 = al<=@7
    514551            e0 = al>=@7
     552            e0 = 2!al
     553            e0 = 6|al
     554            e0 = 6&al
     555            e0 = 6^al
     556            e0 = 6&&al
     557            e0 = 0||al
    515558            z0 = al-bl ? bl : ce)ffDXD",
    516559        BinaryFormat::AMD, GPUDeviceType::CAPE_VERDE, false, { "a", "b", "c" },
     
    563606test.s:38:18: Error: For comparisons two values must have this same relatives!
    564607test.s:39:18: Error: For comparisons two values must have this same relatives!
    565 test.s:40:18: Error: Choice is not allowed for first relative value
     608test.s:40:18: Error: Binary ORNOT is not allowed for any relative value
     609test.s:41:18: Error: Binary OR is not allowed for any relative value
     610test.s:42:18: Error: Binary AND is not allowed for any relative value
     611test.s:43:18: Error: Binary XOR is not allowed for any relative value
     612test.s:44:18: Error: Logical AND is not allowed for any relative value
     613test.s:45:18: Error: Logical OR is not allowed for any relative value
     614test.s:46:18: Error: Choice is not allowed for first relative value
    566615)ffDXD", ""
    567616    },
Note: See TracChangeset for help on using the changeset viewer.