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

[mc] Disassembler incorrectly decodes v_fract_f64_e64

Open dpreobra opened this issue 9 years ago • 3 comments

Bugzilla Link 33018
Resolution FIXED
Resolved on May 16, 2017 05:13
Version trunk
OS All
CC @arsenm

Extended Description

v_fract_f64_e64 is decoded as v_mqsad_u16_u8.

Looks like v_mqsad_u16_u8 has the same opcode as v_fract_f64_e64:

v_mqsad_u16_u8 v5, s0, s0 encoding: [0x05,0x00,0x72,0xd1,0x00,0x00,0x00,0x00] v_fract_f64_e64 v[5:6], s[0:1] encoding: [0x05,0x00,0x72,0xd1,0x00,0x00,0x00,0x00]

dpreobra avatar May 12 '17 10:05 dpreobra

Fixed in r303055

dpreobra avatar May 16 '17 12:05 dpreobra

v_mqsad_u16_u8 should be removed - there is no such instruction. Confirmed by Arten Tamazov

dpreobra avatar May 12 '17 12:05 dpreobra

assigned to @dpreobra

dpreobra avatar May 12 '17 10:05 dpreobra