Re: [PATCH] cmake: Default to PNG_ARM_NEON=off for arm targets
Martin Storsjö <[email protected]> Fri, 14 Oct 2022 23:58:54 +0300 (EEST)
| Newsgroups | gmane.comp.graphics.png.devel |
|---|---|
| Message-ID | <[email protected]> |
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1968848107-1665781135=:1659 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Fri, 14 Oct 2022, John Bowler wrote: > There are four different byte-size instruction sets on the various ARM chips > and they can all be supported in the same core; 8-bit(Java), 16-bit(Thumb), > 32-bit(original ARM), 64-bit(AArch64). Switching can be done at run-time; > last time I tried it (building a 16-bit Linux system) it was possible to > intermingle 32-bit and 16-bit functions; the CPU instruction mode was > switched in a trampoline inserted before the actual function implementation. FWIW, aarch64 doesn't have 64 bit instructions, the instructions are still 32 bit each. I don't have experience with the java stuff, but thumb and arm can easily be intermixed in the same binary/process, indeed via trampolines (and even without that, with the instruction mode being encoded in the lowest bit of code addresses). But I don't think it's possible to mix aarch64 and 32 bit arm in the same binary/process (at least without resorting to syscalls to switch modes). // Martin --8323329-1968848107-1665781135=:1659 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --8323329-1968848107-1665781135=:1659 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ png-mng-implement mailing list png-mng-implement-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/png-mng-implement --8323329-1968848107-1665781135=:1659--