On Fri, Jan 06, 2023 at 12:07:26PM +0100, pe...@flying-snail.de wrote:
> From what I've read, support for arm32 is optional for arm64 CPU, moreover
> virtualization of arm32 is not possible at least on an Apple host.
> 
> So yes, the option to configure arm32 support at binfmt installation would
> appear very useful indeed.
 
Agreed. It's also pretty easy to find out whether a given arm64 CPU can run
arm32 code natively or not. On arm64 machines capable of both modes, lscpu
shows the following:

$ lscpu | grep op-mode
CPU op-mode(s):                  32-bit, 64-bit

On processors that cannot run 32 bit code, such as the Apple M1, the output is
simply:

$ lscpu | grep op-mode
CPU op-mode(s):                  64-bit

Reply via email to