<div dir="auto">Hi all,<div dir="auto">Yesterday I managed to obtain the IR of libpng and while I was going through the code I found out that within the function png_write_sig[1] the signature is created using a store instruction like the following: store i64 727905341920923785, i64 %2, align 8, !dbg, !40041. %2 is the array...</div><div dir="auto"><br></div><div dir="auto">That massive number is the hexadecimal representation of the png signature but with the bytes in reverse order.</div><div dir="auto"><br></div><div dir="auto">Can someone explain me why? If seen other similar instructions and the integer value on the left was not reversed...</div><div dir="auto"><br></div><div dir="auto">I can only think about little and big endian...</div><div dir="auto"><br></div><div dir="auto">Thanks in advance</div><div dir="auto">Alberto</div><div dir="auto"><br></div><div dir="auto">[1] <a href="https://code.woboq.org/qt5/qtbase/src/3rdparty/libpng/pngwutil.c.html#png_write_sig" target="_blank" rel="noreferrer">https://code.woboq.org/qt5/qtbase/src/3rdparty/libpng/pngwutil.c.html#png_write_sig</a></div></div>