Changeset 4804 in CLRX


Ignore:
Timestamp:
Jul 17, 2019, 10:38:56 PM (5 weeks ago)
Author:
matszpk
Message:

CLRadeonExtender: GCNAsm: Add SMEM instructions testcases for GFX10.

File:
1 edited

Legend:

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

    r4803 r4804  
    630630    { "    s_dcache_discard_x2 s[20:21], s4\n", 0xf4a4000aU, 0x08000000U, true, true, "" },
    631631    { "    s_get_waveid_in_workgroup s7\n", 0xf4a801c0U, 0x00000000U, true, true, "" },
     632    { "    s_buffer_atomic_swap s3, s[20:23], s4\n",
     633                0xf50000caU, 0x08000000U, true, true, "" },
     634    { "    s_buffer_atomic_cmpswap s[10:11], s[20:23], s4\n",
     635                0xf504028aU, 0x08000000U, true, true, "" },
     636    { "    s_buffer_atomic_add s3, s[20:23], s4\n",
     637                0xf50800caU, 0x08000000U, true, true, "" },
     638    { "    s_buffer_atomic_sub s3, s[20:23], s4\n",
     639                0xf50c00caU, 0x08000000U, true, true, "" },
     640    { "    s_buffer_atomic_smin s3, s[20:23], s4\n",
     641                0xf51000caU, 0x08000000U, true, true, "" },
     642    { "    s_buffer_atomic_umin s3, s[20:23], s4\n",
     643                0xf51400caU, 0x08000000U, true, true, "" },
     644    { "    s_buffer_atomic_smax s3, s[20:23], s4\n",
     645                0xf51800caU, 0x08000000U, true, true, "" },
     646    { "    s_buffer_atomic_umax s3, s[20:23], s4\n",
     647                0xf51c00caU, 0x08000000U, true, true, "" },
     648    { "    s_buffer_atomic_and s3, s[20:23], s4\n",
     649                0xf52000caU, 0x08000000U, true, true, "" },
     650    { "    s_buffer_atomic_or s3, s[20:23], s4\n",
     651                0xf52400caU, 0x08000000U, true, true, "" },
     652    { "    s_buffer_atomic_xor s3, s[20:23], s4\n",
     653                0xf52800caU, 0x08000000U, true, true, "" },
     654    { "    s_buffer_atomic_inc s3, s[20:23], s4\n",
     655                0xf52c00caU, 0x08000000U, true, true, "" },
     656    { "    s_buffer_atomic_dec s3, s[20:23], s4\n",
     657                0xf53000caU, 0x08000000U, true, true, "" },
     658    { "    s_buffer_atomic_swap_x2 s[6:7], s[20:23], s4\n",
     659                0xf580018aU, 0x08000000U, true, true, "" },
     660    { "    s_buffer_atomic_cmpswap_x2 s[12:15], s[20:23], s4\n",
     661                0xf584030aU, 0x08000000U, true, true, "" },
     662    { "    s_buffer_atomic_add_x2 s[10:11], s[20:23], s4\n",
     663                0xf588028aU, 0x08000000U, true, true, "" },
     664    { "    s_buffer_atomic_sub_x2 s[10:11], s[20:23], s4\n",
     665                0xf58c028aU, 0x08000000U, true, true, "" },
     666    { "    s_buffer_atomic_smin_x2 s[10:11], s[20:23], s4\n",
     667                0xf590028aU, 0x08000000U, true, true, "" },
     668    { "    s_buffer_atomic_umin_x2 s[10:11], s[20:23], s4\n",
     669                0xf594028aU, 0x08000000U, true, true, "" },
     670    { "    s_buffer_atomic_smax_x2 s[10:11], s[20:23], s4\n",
     671                0xf598028aU, 0x08000000U, true, true, "" },
     672    { "    s_buffer_atomic_umax_x2 s[10:11], s[20:23], s4\n",
     673                0xf59c028aU, 0x08000000U, true, true, "" },
     674    { "    s_buffer_atomic_and_x2 s[10:11], s[20:23], s4\n",
     675                0xf5a0028aU, 0x08000000U, true, true, "" },
     676    { "    s_buffer_atomic_or_x2 s[10:11], s[20:23], s4\n",
     677                0xf5a4028aU, 0x08000000U, true, true, "" },
     678    { "    s_buffer_atomic_xor_x2 s[10:11], s[20:23], s4\n",
     679                0xf5a8028aU, 0x08000000U, true, true, "" },
     680    { "    s_buffer_atomic_inc_x2 s[10:11], s[20:23], s4\n",
     681                0xf5ac028aU, 0x08000000U, true, true, "" },
     682    { "    s_buffer_atomic_dec_x2 s[10:11], s[20:23], s4\n",
     683                0xf5b0028aU, 0x08000000U, true, true, "" },
     684    { "    s_atomic_swap   s3, s[20:21], s4\n", 0xf60000caU, 0x08000000U, true, true, "" },
     685    { "    s_atomic_cmpswap s[10:11], s[20:21], s4\n",
     686                0xf604028aU, 0x08000000U, true, true, "" },
     687    { "    s_atomic_add    s3, s[20:21], s4\n", 0xf60800caU, 0x08000000U, true, true, "" },
     688    { "    s_atomic_sub    s3, s[20:21], s4\n", 0xf60c00caU, 0x08000000U, true, true, "" },
     689    { "    s_atomic_smin   s3, s[20:21], s4\n", 0xf61000caU, 0x08000000U, true, true, "" },
     690    { "    s_atomic_umin   s3, s[20:21], s4\n", 0xf61400caU, 0x08000000U, true, true, "" },
     691    { "    s_atomic_smax   s3, s[20:21], s4\n", 0xf61800caU, 0x08000000U, true, true, "" },
     692    { "    s_atomic_umax   s3, s[20:21], s4\n", 0xf61c00caU, 0x08000000U, true, true, "" },
     693    { "    s_atomic_and    s3, s[20:21], s4\n", 0xf62000caU, 0x08000000U, true, true, "" },
     694    { "    s_atomic_or     s3, s[20:21], s4\n", 0xf62400caU, 0x08000000U, true, true, "" },
     695    { "    s_atomic_xor    s3, s[20:21], s4\n", 0xf62800caU, 0x08000000U, true, true, "" },
     696    { "    s_atomic_inc    s3, s[20:21], s4\n", 0xf62c00caU, 0x08000000U, true, true, "" },
     697    { "    s_atomic_dec    s3, s[20:21], s4\n", 0xf63000caU, 0x08000000U, true, true, "" },
     698    { "    s_atomic_swap_x2 s[6:7], s[20:21], s4\n",
     699                0xf680018aU, 0x08000000U, true, true, "" },
     700    { "    s_atomic_cmpswap_x2 s[12:15], s[20:21], s4\n",
     701                0xf684030aU, 0x08000000U, true, true, "" },
     702    { "    s_atomic_add_x2 s[10:11], s[20:21], s4\n",
     703                0xf688028aU, 0x08000000U, true, true, "" },
     704    { "    s_atomic_sub_x2 s[10:11], s[20:21], s4\n",
     705                0xf68c028aU, 0x08000000U, true, true, "" },
     706    { "    s_atomic_smin_x2 s[10:11], s[20:21], s4\n",
     707                0xf690028aU, 0x08000000U, true, true, "" },
     708    { "    s_atomic_umin_x2 s[10:11], s[20:21], s4\n",
     709                0xf694028aU, 0x08000000U, true, true, "" },
     710    { "    s_atomic_smax_x2 s[10:11], s[20:21], s4\n",
     711                0xf698028aU, 0x08000000U, true, true, "" },
     712    { "    s_atomic_umax_x2 s[10:11], s[20:21], s4\n",
     713                0xf69c028aU, 0x08000000U, true, true, "" },
     714    { "    s_atomic_and_x2 s[10:11], s[20:21], s4\n",
     715                0xf6a0028aU, 0x08000000U, true, true, "" },
     716    { "    s_atomic_or_x2  s[10:11], s[20:21], s4\n",
     717                0xf6a4028aU, 0x08000000U, true, true, "" },
     718    { "    s_atomic_xor_x2 s[10:11], s[20:21], s4\n",
     719                0xf6a8028aU, 0x08000000U, true, true, "" },
     720    { "    s_atomic_inc_x2 s[10:11], s[20:21], s4\n",
     721                0xf6ac028aU, 0x08000000U, true, true, "" },
     722    { "    s_atomic_dec_x2 s[10:11], s[20:21], s4\n",
     723                0xf6b0028aU, 0x08000000U, true, true, "" },
    632724    { nullptr, 0, 0, false, false, 0 }
    633725};
Note: See TracChangeset for help on using the changeset viewer.