Skip to content
Snippets Groups Projects
Commit 90ab311a authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Bin Meng
Browse files

x86: simplify ljmp to 32-bit code


You can directly specify the label as the operand for ljmp.

This commit saves 4-byte code.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Tested-by: default avatarBin Meng <bmeng.cn@gmail.com>
[bmeng: fixed the gas warning]
Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 0d915a9a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment