aboutsummaryrefslogtreecommitdiff
path: root/include/post.h
diff options
context:
space:
mode:
authorAlexander Graf2018-03-15 15:02:28 +0100
committerAlexander Graf2018-04-04 11:08:47 +0200
commitba718e67a27f036093d352af46b8ebcb1bbb8316 (patch)
treefc4d6478cd4f1b2e6e0e1246e913e04313452286 /include/post.h
parent90b658b4cc9f6b9d50a80fac1fbc62bd6420a483 (diff)
efi_loader: Optimize GOP switch
We usually try to compile for size, not for speed. Unfortunately with the more powerful GOP infrastructure to handle all sorts of GOP operations, we end up slowing down our copying hot path quite a lot. So this patch moves the 4 possible GOP operation modes into separate functions which call a common function again. The end result of that is more optimized code that can properly do constant propagation throughout its switch() statements and thus removes compares in the hot path. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/post.h')
0 files changed, 0 insertions, 0 deletions