Skip to content

[AMDGPU][True16][MC] update vop1 mc test with update script #119778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,437 changes: 1,219 additions & 1,218 deletions llvm/test/MC/AMDGPU/gfx11_asm_vop1.s

Large diffs are not rendered by default.

1,877 changes: 939 additions & 938 deletions llvm/test/MC/AMDGPU/gfx11_asm_vop1_dpp16.s

Large diffs are not rendered by default.

435 changes: 218 additions & 217 deletions llvm/test/MC/AMDGPU/gfx11_asm_vop1_dpp8.s

Large diffs are not rendered by default.

1,965 changes: 983 additions & 982 deletions llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp16_from_vop1.s

Large diffs are not rendered by default.

567 changes: 284 additions & 283 deletions llvm/test/MC/AMDGPU/gfx11_asm_vop3_dpp8_from_vop1.s

Large diffs are not rendered by default.

2,429 changes: 1,215 additions & 1,214 deletions llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vop1.s

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions llvm/test/MC/AMDGPU/gfx12_asm_vop1.s
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --version 5
// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize32,+real-true16 -show-encoding -comment-column=0 %s | FileCheck --strict-whitespace --check-prefixes=GFX12,GFX12-ASM %s
// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize32,+real-true16 -show-encoding %s | %extract-encodings | llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize32,+real-true16 -disassemble -show-encoding -comment-column=0 | FileCheck --strict-whitespace --check-prefixes=GFX12,GFX12-DIS %s
// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize32,+real-true16 -show-encoding %s | grep -oE '\[0x[0-9a-fx,]+\]' | llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize32,+real-true16 -disassemble -show-encoding -comment-column=0 | FileCheck --strict-whitespace --check-prefixes=GFX12,GFX12-DIS %s
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kosarev may want to look into this grep vs extract-encodings when he is available. But the round tripping is preserved with this implementation, so LGTM

// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize64,+real-true16 -show-encoding -comment-column=0 %s | FileCheck --strict-whitespace --check-prefixes=GFX12,GFX12-ASM %s
// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize64,+real-true16 -show-encoding %s | %extract-encodings | llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize64,+real-true16 -disassemble -show-encoding -comment-column=0 | FileCheck --strict-whitespace --check-prefixes=GFX12,GFX12-DIS %s
// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize64,+real-true16 -show-encoding %s | grep -oE '\[0x[0-9a-fx,]+\]' | llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=+wavefrontsize64,+real-true16 -disassemble -show-encoding -comment-column=0 | FileCheck --strict-whitespace --check-prefixes=GFX12,GFX12-DIS %s

v_bfrev_b32_e32 v5, v1
// GFX12: v_bfrev_b32_e32 v5, v1 ; encoding: [0x01,0x71,0x0a,0x7e]
Expand Down
1,921 changes: 961 additions & 960 deletions llvm/test/MC/AMDGPU/gfx12_asm_vop1_dpp16.s

Large diffs are not rendered by default.

447 changes: 224 additions & 223 deletions llvm/test/MC/AMDGPU/gfx12_asm_vop1_dpp8.s

Large diffs are not rendered by default.

2,485 changes: 1,243 additions & 1,242 deletions llvm/test/MC/AMDGPU/gfx12_asm_vop3_from_vop1.s

Large diffs are not rendered by default.

1,847 changes: 924 additions & 923 deletions llvm/test/MC/AMDGPU/gfx12_asm_vop3_from_vop1_dpp16.s

Large diffs are not rendered by default.

515 changes: 258 additions & 257 deletions llvm/test/MC/AMDGPU/gfx12_asm_vop3_from_vop1_dpp8.s

Large diffs are not rendered by default.

Loading