From nobody Tue Nov 15 03:30:53 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NBBXd2LH5z4dC7D for ; Tue, 15 Nov 2022 03:30:57 +0000 (UTC) (envelope-from DanieltheDeer@outlook.com) Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01olkn2050.outbound.protection.outlook.com [40.92.99.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NBBXc5jMQz4LRF for ; Tue, 15 Nov 2022 03:30:56 +0000 (UTC) (envelope-from DanieltheDeer@outlook.com) Authentication-Results: mx1.freebsd.org; none ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bxlT/91ZOfYGoumfsNzpn3upzTEGyPu/MCHirBkC6bjVhDq2TKBBYuf9FV2TK4rBuSedqS7Mowxy6nCLuhND4Z8rS/ZBlNHs3cTUL8z8l2MlYqf0G1bttNHMu6ngvQiK1ZHuM7NiSvw/fhKDAf+e6riJrT+ReIcx9VTg6hPEnELTu/ia9+k/IgMF3/4zVu3bguq2adNEjT4cdrgEmC1n5ZYPUqoC/Cs3gGQJgY9R9ByjAiC/SVnOjjqrREDyo+HvMIcMEnNVdu9GTaiNiFAXIH4woa6EHEGKX1ZHPqQ62X2uXIm0RVnUKp0+BfoRh687NilgSbsy4j8w6znQWwzwhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ciCoe/8D1v1CH3OkAwoXzzRyPFuMZNU4dycBKc20xQs=; b=e+yE8zKqVcXC211/wB0EDXhYqrz14ZWleQXPQLB4nbUN9GBw8YBQXDI78tqTXuhEPUR9+v6kUS+cnsD0RaPgzwvStn5Dn4OmpT4JXQR9yJNhPV376qTOzCkWeK2t989FiwDy080rY9z00jrHAgLfO4wp8Y2bSueQf6q54BjS9EH7W2bDQgijBmxOVyKvvVK6up3VIST0NjdQ2X3HwQFjDp1zBvbkAGCm7rrJo3n2RWrxWkoUjb4qJ3wBwdtvNBh9vBbvXAC+vw84Uem+S9SFHBmjUQOBOJs0D4F6M+WRuwQ49gf3wZJHIs1Q9i91Fn+h+/Oa168MhwCbNp8SxuGTNw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ciCoe/8D1v1CH3OkAwoXzzRyPFuMZNU4dycBKc20xQs=; b=dzFcA/VrD0aSwToz93cnl1xfHGBUwuR5MYnT/X7fVdF7yOj0eARaruJU0VUS78Zdf5dDhD+ncdSlqpqJUFxeGqsNDCsmVRUxtZGjftkdKz1anTK542aS4/D1DH/TZBLsvk1uEnISJPdCK29H12sFdplhPAICuS1YxF/Q87NV12WdKOFdIlPpGiyMiQV5F0Mk9nz3GPPhTnJUVIE865t9V4CBBN6wJw24bBnZeDwO6pF2iUS7Qt9wSeL2QxaJOU2FC+a97yjizEy167gw1JUFMKtrUr5XxsCUWzILZcs4kAjnDpAa7WPMAv94OKCTqte+GwZsN78vr9W2jnOyI6VMJw== Received: from TYWP286MB2667.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:24e::7) by OS3P286MB2374.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:150::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.17; Tue, 15 Nov 2022 03:30:53 +0000 Received: from TYWP286MB2667.JPNP286.PROD.OUTLOOK.COM ([fe80::9dea:e459:886c:fdb4]) by TYWP286MB2667.JPNP286.PROD.OUTLOOK.COM ([fe80::9dea:e459:886c:fdb4%8]) with mapi id 15.20.5813.018; Tue, 15 Nov 2022 03:30:53 +0000 From: Daniel Cervus To: Paul Procacci CC: "freebsd-questions@freebsd.org" Subject: Re: Question about AMD64 ABI Thread-Topic: Question about AMD64 ABI Thread-Index: AQHY9xBRX3VzmlcDHUStdiXKxdM61648jFkAgAAEVQCAAAvUAIAAL7k2gAAyxYCAALNmgIAAKjkAgAAEtwCAAV+bNIAAAjkAgAAEuoCAAA9PmQ== Date: Tue, 15 Nov 2022 03:30:53 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US, zh-CN Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [eeS5Zzgut2/MLS5coPKHQzcGKq41synw] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TYWP286MB2667:EE_|OS3P286MB2374:EE_ x-ms-office365-filtering-correlation-id: e8fc7830-84e2-40f9-0b8a-08dac6b9cccb x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KkP5mAHPfJ4nl7/MhNfTtGjQxd4zCjHOVA78MITRViDP/avU5X8NHxJOE2RUEi5AbnWrJQElapgUs6gb7Y3SuHGqdjDmuzp7gxpb8qw92s5hnk+SgDb7JD7CSrrH6BHkLDtKmnnxdL6e2gzj3EgOmqHUyPvfp1a5OAYSkGmroIIIp7n7pbrmw9B7W/AniZKVS+jplGHxpabHUSslQEEV64rvY4GwmhdgZ/eXdu3bvudsW4GMLHEwgXrk8ZS4KLSz4hg96a+KPAsZ0Bb3wO5yW/h7vu/57ioyZH3/q1KAiwzCQTGbdu460G2dhcaCZRQngc5yTP8flQ5gyT9faPzAxKhRMcDnKsz3jKP9qGkGESpDZZSJ1UA1stBO4Xqx1PU44cC3jlKai6/XxqJ32dumO3W5aZIRCP9mFfuyjbQqbxBFHLTWLfxM6mHdgLCbZTyCLOEKqnJR2nm6QmFxa/Cd8FLAADvGGtV2jUphBaTueYy3Hcjms3gzkRp80cf8sEcJHcVyu794Fj4tPeIFeD5vQfoTcnZ+a6zqty64g9y59YC/ry8izSS/AwbEEtUbsPu5o/hlg2fUuZEb9sdLr3YuvDzIRxkwFl6W/HGJqfUNRvCh00fYyDMGasJ2tfSFTECgaNJn8il70egsVyFGj/pJkdOGPhVyCAkljflVfbqe7QfHzla1Xe9om/StYgc78ihEGtcOEQV8VuK5T7qRW+cwTkfEFOxLk7hbIBcgkA8yee4= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?tDmQOoGvRtqVzK48K3RpNzj/J9j1i+PefxO0/IKIg912HbctciKi7W4aI6ew?= =?us-ascii?Q?o7Oc/OU5V6AMOR4lbIKdULyDJ8FruJfTrKFW8SOjdwkzLQuBJho4YG0mGuRl?= =?us-ascii?Q?X6iBMw4bbOGBOrRBlWLQufjA5K7VKPdGBEl6HVnYCUoZqFCzGRL9wz8ByyWI?= =?us-ascii?Q?0pnN9e2CTKdQSBlATOd3h8o5yyGPgf42noiN7uKgNfDrnwPx7Z/F9mzM8+CV?= =?us-ascii?Q?l4xlr+P6cSWnAbqnorQ/SlYPFTfzqc0+Q8lJ9SukWXQVNENo4FlckF3EN4jQ?= =?us-ascii?Q?AIrECR/J7SVYE6CR4nwxGLzbd+emktDvLmVxZ79IVTydRtWtI1TNF1vlvmBZ?= =?us-ascii?Q?yTUdm6fq6kCl7SKml6WZHFgDzbAM7/tC6LJG2tAwsCCf+MgKLffZv46Zextn?= =?us-ascii?Q?RKD4P4hfUC2NHwtVEW67L1R33z868nAYlkaIgRDfbgsLAB0dDG6bqX9FT7cR?= =?us-ascii?Q?73NmKrp+tCHcoCvnPv6dRlcLt0azPpYs6KeXDDVqxKNseEA1fVLOpbbvfIE8?= =?us-ascii?Q?zBsxqAvKxuY6LrY9pOs6jv2Pn10XCEVJ/Y54fsZfo76F9KvRTjyHcIV1QzJW?= =?us-ascii?Q?igqxKiMFGXKPEzszH+tLjvcqW55HLFRBUoUVy4KuF4DjSVRaIrPgD4lo9lxC?= =?us-ascii?Q?yYh55HF+pDhp/zYV45Mk3iYJDBBSpArgMx7mkUQ9b8lGaCXG7Bng98UzM1s0?= =?us-ascii?Q?U7QHVqJgOnRe+Zx9oJYUgMpc2x3+J2a+qA6W069PuTq9pdax4qwdRTbq2Y2N?= =?us-ascii?Q?5/rq49vZBG/5T96diL1zU3F9lnkS/KcRj9iW4h8ojbYIWxL0Ngw+NzBkqBT/?= =?us-ascii?Q?tbt2ZgyngSPkDxGYSwDGJ8GAOkIFmFmgHytRUNvDHVbr0geKBHRmGVwCNqCy?= =?us-ascii?Q?6Qs6JIj7TqdyzP7psihrydEZVVxkykSXidYomWVrxHWz7DfwW+IbgS3BqZrx?= =?us-ascii?Q?eMSKFiEAuT8z7onLBm8V2eOSREmg+/DYbziSmq9juRGo2nrT8FDsRmbKRsIH?= =?us-ascii?Q?of4yDUrncPIFRjBX3AEcUghsuJanbbB+0YsGgNQNr25o7viMj4olQYPYvYb+?= =?us-ascii?Q?0NGUk6bq+XY44sUb+7TcyGU33J92geV8UlJdx7wMDcXRENCEq4Yo25iToizu?= =?us-ascii?Q?XAOw203aazglM/ZsfJ0uJzSA5MJW9F7HyuPIkUuaym4UEr5su3VsU7Jv4zQ6?= =?us-ascii?Q?cIwaD/VH3fC641A4hj6JlHvjIQTzbtu32NqPT3IUxfzwhCBJJVZAzKQ07O6f?= =?us-ascii?Q?9yhqUptrjVeFw0VY3daXkxYilrqTHHu4vBNF+Rm2WQ=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYWP286MB2667.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: e8fc7830-84e2-40f9-0b8a-08dac6b9cccb X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Nov 2022 03:30:53.3142 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3P286MB2374 X-Rspamd-Queue-Id: 4NBBXc5jMQz4LRF X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Um... let me get my thoughts clear. I have already known when instructions can clear higher 32 bits for me. /When passing integers to functions written by others, always pass 64-bit o= nes, if they are shorter, pad them by ZEROs (no matter automatically or man= ually), if not doing so, it is NOT safe./ This should be what you mean! Sorry for taking up so much of your time, thank you for your patience. Yours, Daniel