[U-Boot] merge arm64 to arm

Tom Rini trini at ti.com
Mon Aug 19 19:52:58 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/19/2013 01:33 PM, Måns Rullgård wrote:
> Scott Wood <scottwood at freescale.com> writes:
[snip]
>> i960 is a bad analogy.  It's often possible to turn arm32 asm
>> into arm64 asm with some search and replace and minor manual
>> fixups.
> 
> Only if the original uses none of the distinguishing features of
> ARM like predicated instructions or variably shifted operands.
> Once you limit yourself to the remaining basic operations, every
> (RISC) architecture looks the same.
[snip]
> AArch64 of course shares certain non-ISA aspects with AArch32.
> Page table formats and other architecturally defined system control
> features are the same, and code for managing these things should of
> course be shared.  Some other features, e.g. exception handling,
> are different enough that sharing code is probably difficult.
> 
> There is a tendency to see arm64/aarch64 as yet another 64-bit
> extension of a 32-bit architecture, which it is not.  Assuming that
> software support will or can follow the model used by the others
> mentioned is thus a mistake.

We don't have lots of hand-crafted assembly, and what we do, we
largely have split out already into the cpu directories.  I really
think we just need to try this and see how it goes.

- -- 
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSElt6AAoJENk4IS6UOR1Wnr0P/jvHsmIm6WecndYXa6aA6BjD
9SSSFzdvwvm7qZShmgu+dwJNPzPVbYXLi+N9BvuTotcl/aVNthNsDI/LQfFQUQwe
8GimYa5OpzHKCqP18CGgGC/egKv6+RnMzxcjFPx3G3BSUzC7iqVmQLv3+5n6uj4h
/f+TqXUDY4ej6htRTH6DmEHK+UMstOATokVuoqQO5Yoezx5fZfCUvPhAcgMnYcuT
VBD1rr/fB+06k3GpZJpUMi3sfGZDc0G9AaVY7kC6dRA1IfSgt8GJi0E+qOe0hdDH
sMNWV1jRtyUj3NXUbngESnOgTlM4rx5eWGhlI4XWmWqTvr8r7wS5fJoEFJEDUHQM
kX2Z7h7Cl9qY1FbrT9HYOghKwVIW8APhNpVcq5YefZx5S44wAn/tQBUr3PD0+oDl
AWc8rL7AtXXNwwGE2qL1sh1rDHBGFi5d7zjlXhdSZO2FOpMqC6k0GsEZ65adVuxH
hJ8zdrkzAQNNaTI+ggctUZP7YEkyWnslRNgBEnNH1IW0X+ChVvyRwkISOVcq2wCB
YYGo5JUs4daQ1VXLeu1ZKD1p9R2ogigTI/wvLl1We2nJvY4uKLxok56T+kKw1fAc
N4RAwiGr9Mu8b/zs21+Tyd6iDdzIfcOvraUsb0cQPHifM4usQMc4c3TKDvnWbj3i
EAMFOVAXA7JteO6JVXRA
=6mM2
-----END PGP SIGNATURE-----


More information about the U-Boot mailing list