OSDN Git Service

[MCA] Improved handling of in-order issue/dispatch resources.
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Fri, 4 Jan 2019 15:08:38 +0000 (15:08 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Fri, 4 Jan 2019 15:08:38 +0000 (15:08 +0000)
commit7fccc80ce9b28befc0c161a9c6caede3d78b3257
treef0910f864b617e806463433423aeae5fbf90f6b1
parentfa3569084292237811271b34078d8be9961e113c
[MCA] Improved handling of in-order issue/dispatch resources.

Added field 'MustIssueImmediately' to the instruction descriptor of instructions
that only consume in-order issue/dispatch processor resources.
This speeds up queries from the hardware Scheduler, and gives an average ~5%
speedup on a release build.

No functional change intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350397 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MCA/HardwareUnits/ResourceManager.h
include/llvm/MCA/Instruction.h
lib/MCA/HardwareUnits/ResourceManager.cpp
lib/MCA/HardwareUnits/Scheduler.cpp
lib/MCA/InstrBuilder.cpp