summaryrefslogtreecommitdiffstats
path: root/ArmVirtPkg
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-09-16 11:25:52 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2016-09-21 08:43:17 +0100
commit217b3ac093d2c1ae2ce066984a9c4302331c07c2 (patch)
tree0db89a1337720240e17146e21b02fddacbee55cc /ArmVirtPkg
parent60fe5e8a9c8deafcc302c715a91947d75d38e544 (diff)
downloadedk2-217b3ac093d2c1ae2ce066984a9c4302331c07c2.tar.gz
edk2-217b3ac093d2c1ae2ce066984a9c4302331c07c2.tar.bz2
edk2-217b3ac093d2c1ae2ce066984a9c4302331c07c2.zip
MdePkg/BaseMemoryLibOptDxe ARM|AARCH64: implement accelerated GUID functions
As reported by Vishal, CompareGuid() is a hotspot, and switching from BaseMemoryLibStm in ArmPkg/ to BaseMemoryLibOptDxe causes a noticeable performance regression due to the fact that BaseMemoryLibOptDxe uses unaligned accessors explicitly to implement CompareGuid() and the related functions. Since BaseMemoryLibOptDxe on ARM and AARCH64 can only be used in contexts where unaligned accesses are allowed, reimplement these functions for ARM and AARCH64 specifically, using wide accessors that can tolerate any misalignment. Reported-by: "Oliyil Kunnil, Vishal" <vishalo@qti.qualcomm.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'ArmVirtPkg')
0 files changed, 0 insertions, 0 deletions