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

[mc][gfx8] Many f16 insns do not support VOP3 encoding

Open atamazov opened this issue 10 years ago • 1 comments

Bugzilla Link 30524
Resolution INVALID
Resolved on Feb 14, 2017 01:47
Version trunk
OS Windows NT
Attachments 00022.tests_tg_gfx8_asm_lit1_bug.06.24.F16-VOP3-MUST-FAIL.zip
CC @atamazov,@dpreobra

Extended Description

The following instructions do not have e64 (VOP3) encoding:

v_add_f16 v_ceil_f16 v_cos_f16 v_exp_f16 v_fract_f16 v_cvt_i16_f16 v_frexp_exp_i16_f16 v_frexp_mant_f16 v_ldexp_f16 v_log_f16 v_mac_f16 v_max_f16 v_min_f16 v_mul_f16 v_rcp_f16 v_rndne_f16 v_rsq_f16 v_sin_f16 v_sqrt_f16 v_sub_f16 v_subrev_f16 v_trunc_f16

Assembly of these instructions with enforced e64 encoding should lead to errors. Subsequently, output and input modifiers are not supported as well and should lead to errors.

Tested with r282249 (git# 3b62127, 2016-09-23 16:35:43 +0300).

atamazov avatar Sep 26 '16 13:09 atamazov

Not an issue. These instructions should be supported.

dpreobra avatar Feb 14 '17 09:02 dpreobra