From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 1F099740038 for ; Thu, 13 Feb 2025 22:33:51 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=8rxXTVGiIu9sE8zmnjm7epvfmoeC+tgfFdSTLqXohg4=; c=relaxed/simple; d=groups.io; h=MIME-Version:From:Date:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240830; t=1739486031; v=1; x=1739745230; b=hlHkYPSMNjpMGsI9EL8b2JDDeXNhaoH9/y3HzBglwl/w3EkgRvpAYA+5mCI0kNZyVddPJOno 5LbZdEK1RCmf+Iio1ZwroFyfk3O8KhCvQqLJpqkIHmWjrOQNPB8j3zyobCqn4GvRBJTa3ZcrLsU 6rDYuhb7eQvU4SfPXkcIoUEI6EVahtiYvTfBZDEg1G0EhOjqeY8Q25/feDSmrawgz1BMmnTL8h5 aEBgqGyhZ8gWdjyS7ashg4kgRbrHOpd/+rVVpQxV0x4qjfbHiI3bFI1y9Umt34XcBweBl/8Qkw0 +avF8p32a+EwG+FJhTYn/FvpTe/jz5Co4fwcO13Iz51rA== X-Received: by 127.0.0.2 with SMTP id aQgBYY7687511xH8KDDasMOZ; Thu, 13 Feb 2025 14:33:50 -0800 X-Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by mx.groups.io with SMTP id smtpd.web10.7185.1739486029502101731 for ; Thu, 13 Feb 2025 14:33:49 -0800 X-Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 51DJrBgF001322 for ; Thu, 13 Feb 2025 22:33:48 GMT X-Received: from mail-yw1-f199.google.com (mail-yw1-f199.google.com [209.85.128.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 44seq01rvf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 13 Feb 2025 22:33:48 +0000 (GMT) X-Received: by mail-yw1-f199.google.com with SMTP id 00721157ae682-6f9a88fc521so20884947b3.3 for ; Thu, 13 Feb 2025 14:33:48 -0800 (PST) X-Gm-Message-State: C884Gxntg3dIMGdVYDLYrnRix7686176AA= X-Gm-Gg: ASbGncu7B4JuX+qG/yiQMzr0kQMw08HqsWSIZXUJVjJgXapgE1H2xxzhCa0Czs8Ekau j/yB3x6cgMqo8IdRsYTebNxOK9I0iIqMcV7gAaT5y0fI/0nC886qudj7AlxJe8PAe4PGXVQ78CR NXLKMD8krhmxpITb2E7Jk= X-Received: by 2002:a05:6902:1409:b0:e57:37d5:e271 with SMTP id 3f1490d57ef6-e5d9f1872cdmr8677389276.47.1739486028048; Thu, 13 Feb 2025 14:33:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IGTGcuBTKQsBM5UI0eo3Vxrg/wGnCnhRCPj8m4FCWzsAC6J5H8Uvr/OfPauuSZyDIoM796T+K5N09vXArzgdy0= X-Received: by 2002:a05:6902:1409:b0:e57:37d5:e271 with SMTP id 3f1490d57ef6-e5d9f1872cdmr8677368276.47.1739486027741; Thu, 13 Feb 2025 14:33:47 -0800 (PST) MIME-Version: 1.0 From: "Leif Lindholm via groups.io" Date: Thu, 13 Feb 2025 22:33:36 +0000 X-Gm-Features: AWEUYZnbqoD6wAvHNlsRbyCqnwkmkYxG4S1FRTwZAsN8DRPu1HoC9eMrE2xCKI8 Message-ID: Subject: [edk2-devel] MOV64 and CLANGPDB To: devel@edk2.groups.io Cc: Michael Kubacki , Ard Biesheuvel X-Proofpoint-GUID: s9JiEiow6XaanHMdTvfDZW-dvjcDnTFc X-Proofpoint-ORIG-GUID: s9JiEiow6XaanHMdTvfDZW-dvjcDnTFc Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Thu, 13 Feb 2025 14:33:49 -0800 Resent-From: leif.lindholm@oss.qualcomm.com Reply-To: devel@edk2.groups.io,leif.lindholm@oss.qualcomm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=hlHkYPSM; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io 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/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-