Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2022 03:30:53 +0000
From:      Daniel Cervus <DanieltheDeer@outlook.com>
To:        Paul Procacci <pprocacci@gmail.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Question about AMD64 ABI
Message-ID:  <TYWP286MB26678175325F38BD53C057E7B8049@TYWP286MB2667.JPNP286.PROD.OUTLOOK.COM>
In-Reply-To: <CAFbbPuhLw5jmTJ4vRHzipRyXOMibvGf3sVTfT3-SvYJE9KTQ-g@mail.gmail.com>
References:  <TYWP286MB2667CF3A93A8F585030D4883B8049@TYWP286MB2667.JPNP286.PROD.OUTLOOK.COM> <TYWP286MB26671E6E71B017771F2FFEACB8049@TYWP286MB2667.JPNP286.PROD.OUTLOOK.COM> <CAFbbPuhLw5jmTJ4vRHzipRyXOMibvGf3sVTfT3-SvYJE9KTQ-g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?TYWP286MB26678175325F38BD53C057E7B8049>