Just a guess here, but since the diagram I have seen in discussions about this showed the ARM code running as a vm under z/VM, maybe they are planning for a flag on the vm to identify it as an ARM vm, and that is what's used to ensure that the instructions are processed via the ARM portion of the cpu.
Peter On Fri, 4 Sep 2026 16:37:46 -0400, Tony Harminc <[email protected]> wrote: >On Fri, 4 Sept 2026 at 16:02, Jay Maynard < >[email protected]> wrote: > >> ARM can do either big or little endian. >> > >Yabut... can it switch while running, or is it a boot-time option? >Switching on the fly of such a fundamental attribute of a machine, while >probably not difficult in hardware, seems like a bit much for an OS or >hypervisor to deal with. And there's doubtless a lot of code out there that >just assumes little endian and would fall over almost immediately if run on >a big endian machine. > >On Fri, Sep 4, 2026 at 2:43 PM Phil Smith III <[email protected]> wrote: >> >> > If the idea for ARM on Z is to allow ARM binaries to run alongside Z >> > binaries, how does that work with Big and Little Endian? Or will there be >> > Middle Endian?* >> > >> > ...phsiii >> > >> > *With apologies to the HBO show Silicon Valley, from whom I essentially >> stole this joke >> > >I think that joke's been around for a good many decades. Even the GCC >compilers have a "middle end", though of course the context is different. >And there were machines to which the term was applied that swapped 16-bit >halfwords as well as 8-bit bytes within a word. > >Tony H. > >---------------------------------------------------------------------- >For IBM-MAIN subscribe / signoff / archive access instructions, >send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
