On 7/25/21 10:47 PM, Song Gao wrote:
Hmm, but where can we declared in ? such as ARM architecture declared in internals.h, is that OK?
Yes.It is preferable that only things that are used outside of target/arch/ go into cpu.h, and that everything that is private to target/arch/ go into some other local header (with internals.h being a good catch-all).
r~