diff options
author | Leif Lindholm <leif.lindholm@oss.qualcomm.com> | 2025-02-14 10:04:10 +0000 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-02-24 16:30:19 +0000 |
commit | 3e7e3e2467445fe3b5931c1423a36df09cc26a80 (patch) | |
tree | accd5a0d30233c5f06d69848fb16fbd1aad4a432 /BaseTools/Source/C/Include/Ia32 | |
parent | 81803b9eba52a48358056dd45a41fd558df5b8a4 (diff) | |
download | edk2-3e7e3e2467445fe3b5931c1423a36df09cc26a80.tar.gz |
MdePkg/AArch64: fix AsmMacroLib signed value handling for MOV32/MOV64
MOV32 and MOV64, defined in AsmMacrolib.h, use a combination of movz and
movk instructions to fill a register with an immediate value. With each
instruction supplying 16 of the bits.
CLANGPDB builds have been reported to fail on the current implementation
when provided with negative values with:
error: immediate must be an integer in range [0, 65535].
To resolve this, add a mask for the line filling the top 16 bits, like
the other lines already had.
Reported-by: Michael Kubacki <mikuback@linux.microsoft.com>
Signed-off-by: Leif Lindholm <leif.lindholm@oss.qualcomm.com>
Diffstat (limited to 'BaseTools/Source/C/Include/Ia32')
0 files changed, 0 insertions, 0 deletions