diff options
author | wenyi,xie via groups.io <xiewenyi2=huawei.com@groups.io> | 2020-12-08 21:07:49 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-12-08 13:58:33 +0000 |
commit | 8e4cb8fbceb84b66b3b2fc45b9e93d70f732e970 (patch) | |
tree | e5de2caed2bbdbe11a80ca9484949d380c536f39 /ArmVirtPkg | |
parent | 4b69fab6e20a98f56acd3c717bd53812950fe5b5 (diff) | |
download | edk2-8e4cb8fbceb84b66b3b2fc45b9e93d70f732e970.tar.gz edk2-8e4cb8fbceb84b66b3b2fc45b9e93d70f732e970.tar.bz2 edk2-8e4cb8fbceb84b66b3b2fc45b9e93d70f732e970.zip |
ArmPkg/ArmDisassemblerLib: fix incorrect comparison
As shift = (OpCode >> 5) & 0x3, shift will never be larger than 0x3,
so the comparison between shift and 0x12 will always be false. The right
shift type of ASR is 0x2.
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Wenyi Xie <xiewenyi2@huawei.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
Diffstat (limited to 'ArmVirtPkg')
0 files changed, 0 insertions, 0 deletions