[all-commits] [llvm/llvm-project] 524c89: AMDGPU/MC: Add assembler tests for v2f32 and v2b32...

petar-avramovic via All-commits all-commits at lists.llvm.org
Thu Feb 9 03:17:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 524c89e837ec19529f6190d1def7cb7cd345166b
      https://github.com/llvm/llvm-project/commit/524c89e837ec19529f6190d1def7cb7cd345166b
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2023-02-09 (Thu, 09 Feb 2023)

  Changed paths:
    M llvm/test/MC/AMDGPU/gfx90a_asm_features.s
    M llvm/test/MC/Disassembler/AMDGPU/gfx90a_features.txt

  Log Message:
  -----------
  AMDGPU/MC: Add assembler tests for v2f32 and v2b32 with imm operand

Add test coverage for https://github.com/llvm/llvm-project/issues/60563.
D142636 introduced a bug: incorrect disassembly of floating point inline
constants for v_pk_mov_b32, v_pk_add_f32, v_pk_mul_f32 and v_pk_fma_f32.
Precommit for D143574.

Differential Revision: https://reviews.llvm.org/D143573


  Commit: 13512f84f342d8b6ec23ebcc903ac8b5e2eaad39
      https://github.com/llvm/llvm-project/commit/13512f84f342d8b6ec23ebcc903ac8b5e2eaad39
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2023-02-09 (Thu, 09 Feb 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.td
    M llvm/test/MC/Disassembler/AMDGPU/gfx90a_features.txt

  Log Message:
  -----------
  AMDGPU/MC: Fix decoders for VSrc_v2b32 and VSrc_v2f32 RegisterOperands

Decoder should make 32 bit value when decoding immediates, not 64 bit.

Differential Revision: https://reviews.llvm.org/D143574


Compare: https://github.com/llvm/llvm-project/compare/a85bd1b11934...13512f84f342


More information about the All-commits mailing list