I would very much like to have a MOV64 that's universally usable. That's sort of the point.
However, I'm wondering if the error is in fact triggered by the first stanza (movz), which doesn't mask its result, and will have 48 sign extended bits above the ones we care about for the instruction. Annoyingly I cannot reproduce the build error in my setup, so I can't verify if that is the problem. Michael, could you possibly do a test and change movz Reg, (Val) >> 48, lsl #48 ; \ to movz Reg, ((Val) >> 48) & 0xffff, lsl #48 ; \ on line 51 in MdePkg/Include/AArch64/AsmMacroLib.h ? And then rebuild the MOV64 version of ArmStandaloneMmCoreEntryPoint? / Leif -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#121119): https://edk2.groups.io/g/devel/message/121119 Mute This Topic: https://groups.io/mt/111172486/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-