]> git.dujemihanovic.xyz Git - u-boot.git/commit
Blackfin: change global data register from P5 to P3
authorRobin Getz <robin.getz@analog.com>
Mon, 17 Aug 2009 15:23:02 +0000 (15:23 +0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 2 Sep 2009 09:14:02 +0000 (05:14 -0400)
commitc4db335c2e0805e1ce4c33d278b77492c0812353
treef34ad8f1791e0a76255706929cf7b7bb534c2513
parent574b70df03fba0ea635e2fe71fbd7b97d19b706a
Blackfin: change global data register from P5 to P3

Since the Blackfin ABI favors higher scratch registers by default, use the
last scratch register (P3) for global data rather than the first (P5).
This allows the compiler's register allocator to use higher number scratch
P registers, which in turn better matches the Blackfin instruction set,
which reduces the size of U-Boot by more than 1024 bytes...

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
README
doc/README.standalone
examples/standalone/stubs.c
include/asm-blackfin/global_data.h
lib_blackfin/config.mk