Changeset 3783 in CLRX


Ignore:
Timestamp:
Feb 13, 2018, 4:04:44 PM (17 months ago)
Author:
matszpk
Message:

CLRadeonExtender: Asm: Update sectiondiffs testcase.

File:
1 edited

Legend:

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

    r3782 r3783  
    21722172.int somesym
    21732173.int vectorAdd-gdata2+2
     2174.byte (vectorAdd+0x100)*4==gdata2+gdata2+gdata2+(0x650+0x100)*4+gdata2
     2175someval1=somesym+10000
     2176someval2=someval1*2
    21742177.kernel vectorAdd
    21752178    .config
     
    21942197somesym=vectorAdd-gdata1
    21952198        s_branch vectorAdd + (vectorAdd-gdata2)
     2199        s_branch vectorAdd + ((vectorAdd-gdata2)&0xffffe0)
    21962200        .int (vectorAdd+0x100)*4==gdata2+gdata2+gdata2+(0x650+0x100)*4+gdata2
    21972201        s_endpgm
     
    22352239                    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    22362240                    0xff, 0x00, 0x81, 0xbe, 0x50, 0x07, 0x00, 0x00,
    2237                     0x51, 0x01, 0x82, 0xbf, 0xff, 0xff, 0xff, 0xff,
    2238                     0x00, 0x00, 0x81, 0xbf
     2241                    0x51, 0x01, 0x82, 0xbf, 0x4c, 0x01, 0x82, 0xbf,
     2242                    0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x81, 0xbf
    22392243                } },
    22402244            { ".rodata", ASMKERN_GLOBAL, AsmSectionType::DATA,
     
    22432247                    0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
    22442248                    0x06, 0x00, 0x00, 0x00, 0x64, 0x06, 0x00, 0x00,
    2245                     0x52, 0x06, 0x00, 0x00
     2249                    0x52, 0x06, 0x00, 0x00, 0xff
    22462250                } },
    22472251            { nullptr, 0, AsmSectionType::CONFIG, { } },
    22482252        },
    22492253        {
    2250             { ".", 276U, 0, 0U, true, false, false, 0, 0 },
     2254            { ".", 280U, 0, 0U, true, false, false, 0, 0 },
    22512255            { "gdata1", 0U, 1, 0U, true, true, false, 16, 0 },
    22522256            { "gdata2", 20U, 1, 0U, true, true, false, 0, 0 },
    22532257            { "somesym", 1636U, ASMSECT_ABS, 0U, true, false, false, 0, 0 },
     2258            { "someval1", 11636U, ASMSECT_ABS, 0U, true, false, false, 0, 0 },
     2259            { "someval2", 23272U, ASMSECT_ABS, 0U, true, false, false, 0, 0 },
    22542260            { "vectorAdd", 0U, 0, 0U, true, true, false, 0, 0 }
    22552261        }, true, "", ""
Note: See TracChangeset for help on using the changeset viewer.