llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[mc] image_atomic_load/store_mip/pck* -- insns not supported.

Open atamazov opened this issue 10 years ago • 4 comments

Bugzilla Link 28240
Resolution FIXED
Resolved on Oct 12, 2018 11:46
Version trunk
OS Windows NT
Attachments 04919.tests_tg_gfx7_asm_lit1_bug.06.08.min.image_atomic_etc-unsupported.zip - TESTS NEED TO BE VERIFIED.
CC @atamazov,@dpreobra

Extended Description

Unsupported instructions:

image_atomic_fcmpswap image_atomic_fmax image_atomic_fmin image_load_mip_pck image_load_mip_pck_sgn image_load_pck image_load_pck_sgn image_store_mip_pck image_store_pck

Some GFX7 lit tests attached. These tests are not guaranteed to be valid, though.

Tested with r273139 (git # 4a94acfea8bfd6eb6b5809dd40f03e1fa42e673a)

atamazov avatar Jun 21 '16 17:06 atamazov

Bug 39268 created, scope of this bug narrowed.

atamazov avatar Oct 12 '18 18:10 atamazov

If gfx8+ does not support image_atomic_f*, then let's lower the priority of these leftovers until explicit request arrived.

atamazov avatar Oct 12 '18 18:10 atamazov

image_atomic_fmin is missing as well

dpreobra avatar Oct 12 '18 16:10 dpreobra

An update:

The following instructions have been implemented:

image_load_mip_pck image_load_mip_pck_sgn image_load_pck image_load_pck_sgn image_store_mip_pck image_store_pck

There are still 2 instructions missing in GFX7:

image_atomic_fcmpswap image_atomic_fmax

Note that GFX8+ do not support these.

dpreobra avatar Oct 12 '18 16:10 dpreobra