CLRX / CLRX-mirror

CLRadeonExtender (GCN assembler, Radeon assembler) mirror
http://clrx.nativeboinc.org
GNU General Public License v2.0
96 stars 27 forks source link

RDNA (gfx1010) Unknown instruction #31

Open qinapps opened 4 years ago

qinapps commented 4 years ago

When I trie to use v_addc_co_u32 for a gfx1010 kernel I have Unknown instruction. But in the documentation shows me the command exist. I make something wrong? I saw that s_set_gpr_idx_on or off don't exist anymore on RDNA, how I can find a work around?

Lolliedieb commented 4 years ago

If I read gfx1010 ISA right the Vega op "v_addc_co_u32" was replaced by "v_add_co_ci_u32"

See here: https://developer.amd.com/wp-content/resources/RDNA_Shader_ISA.pdf