[all-commits] [llvm/llvm-project] e4ebfb: [MCA] Adding an AMDGPUCustomBehaviour implementation.
Patrick Holland via All-commits
all-commits at lists.llvm.org
Tue Aug 24 13:34:42 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e4ebfb5786a1fbd48c67c5e1fe7b295241fe7010
https://github.com/llvm/llvm-project/commit/e4ebfb5786a1fbd48c67c5e1fe7b295241fe7010
Author: Patrick Holland <patrickeholland at gmail.com>
Date: 2021-08-24 (Tue, 24 Aug 2021)
Changed paths:
M llvm/lib/Target/AMDGPU/MCA/AMDGPUCustomBehaviour.cpp
M llvm/lib/Target/AMDGPU/MCA/AMDGPUCustomBehaviour.h
M llvm/lib/Target/AMDGPU/SISchedule.td
M llvm/test/tools/llvm-mca/AMDGPU/gfx10-double.s
A llvm/test/tools/llvm-mca/AMDGPU/gfx9-retireooo.s
Log Message:
-----------
[MCA] Adding an AMDGPUCustomBehaviour implementation.
This implementation allows mca to model the desired behaviour of the s_waitcnt
instruction. This patch also adds the RetireOOO flag to the AMDGPU instructions
within the scheduling model. This flag is only used by mca and allows
instructions to finish out-of-order which helps mca's simulations more closely
model the actual device.
Differential Revision: https://reviews.llvm.org/D104730
More information about the All-commits
mailing list