On Tuesday, 20 June 2023 17:46:04 PDT Thiago Macieira wrote:
> On Tuesday, 20 June 2023 15:50:16 PDT Volker Hilsheimer via Interest wrote:
> > Either way, it would perhaps help to boil all this down to some minimal
> > code; you have a 2-byte aligned struct that you cast to and from void *,
> > this should be reproducible with small bit of code. And if you have that,
> > then comparing the assembly you get out of your compiler when targeting
> > Intel vs ARM might give some hints.
> I'm pretty sure he's going to find out that the problem is not the casting,
> but elsewhere. The explanation currently doesn't make sense.

Proof that it's bitwise equivalent: https://godbolt.org/z/zc1vqh9cs

Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Interest mailing list

Reply via email to