edk2/MdePkg/Include/AArch64
Leif Lindholm 3e7e3e2467 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>
2025-02-24 16:30:19 +00:00
..
AArch64.h MdePkg: Centralize RNDR Register Definition 2025-02-07 02:23:11 +00:00
AArch64Mmu.h MdePkg/AArch64: Add some missing MMU related constants 2024-11-26 23:53:16 +00:00
AsmMacroLib.h MdePkg/AArch64: fix AsmMacroLib signed value handling for MOV32/MOV64 2025-02-24 16:30:19 +00:00
ProcessorBind.h MdePkg/ProcessorBind AARCH64: Add asm macro to emit GNU BTI note 2023-03-30 11:05:22 +00:00