tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] arm-asm breaks aarch64 (as with Fedora 33 on RPi)


From: Herman ten Brugge
Subject: Re: [Tinycc-devel] arm-asm breaks aarch64 (as with Fedora 33 on RPi)
Date: Sun, 3 Jan 2021 19:32:01 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0

On 1/3/21 4:10 PM, Danny Milosavljevic wrote:
Hi Herman,

you committed a patch enabling all ARM 32 bit assembly tokens on aarch64.

Just a heads-up that you have to mode switch the CPU in order to be able to
execute ARM 32 bit machine code on aarch64.

I mean the tokens alone are not that bad (they aren't functionality), but the
functionality on aarch64 is different from ARM by default.

The instruction decoder does not start out in arm32 mode on aarch64
executables compiled for tcc, and also the aarch64 instruction set is not a
superset of the ARM instruction set (per mode).

I mean, technically it's still possible to do it--but are you sure you want to?
Your patch to split off arm32 from arm64 asm is probably the best solution.

    Herman



reply via email to

[Prev in Thread] Current Thread [Next in Thread]