[PATCH] D138482: [AMDGPU] Add encoding tests for SALU_CYCLE_2/3
Piotr Sobczak via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 22 02:43:49 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGde767db633f6: [AMDGPU] Add encoding tests for SALU_CYCLE_2/3 (authored by piotr).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138482/new/
https://reviews.llvm.org/D138482
Files:
llvm/test/MC/AMDGPU/gfx11_asm_sopp.s
llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_sopp.txt
Index: llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_sopp.txt
===================================================================
--- llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_sopp.txt
+++ llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_sopp.txt
@@ -106,6 +106,12 @@
# GFX11: s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3) ; encoding: [0x91,0x01,0x87,0xbf]
0x91,0x01,0x87,0xbf
+# GFX11: s_delay_alu instid1(SALU_CYCLE_2) ; encoding: [0x00,0x05,0x87,0xbf]
+0x00,0x05,0x87,0xbf
+
+# GFX11: s_delay_alu instid1(SALU_CYCLE_3) ; encoding: [0x80,0x05,0x87,0xbf]
+0x80,0x05,0x87,0xbf
+
# GFX11: s_delay_alu instid0(/* invalid instid value */) | instskip(/* invalid instskip value */) | instid1(/* invalid instid value */) ; encoding: [0xff,0x07,0x87,0xbf]
0xff,0x07,0x87,0xbf
Index: llvm/test/MC/AMDGPU/gfx11_asm_sopp.s
===================================================================
--- llvm/test/MC/AMDGPU/gfx11_asm_sopp.s
+++ llvm/test/MC/AMDGPU/gfx11_asm_sopp.s
@@ -111,6 +111,12 @@
s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
// GFX11: s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3) ; encoding: [0x91,0x01,0x87,0xbf]
+s_delay_alu instid1(SALU_CYCLE_2)
+// GFX11: s_delay_alu instid1(SALU_CYCLE_2) ; encoding: [0x00,0x05,0x87,0xbf]
+
+s_delay_alu instid1(SALU_CYCLE_3)
+// GFX11: s_delay_alu instid1(SALU_CYCLE_3) ; encoding: [0x80,0x05,0x87,0xbf]
+
//===----------------------------------------------------------------------===//
// s_waitcnt_depctr
//===----------------------------------------------------------------------===//
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138482.477124.patch
Type: text/x-patch
Size: 1631 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221122/0795a7a7/attachment.bin>
More information about the llvm-commits
mailing list