mn10300: tidy pic address loading
authorRichard Henderson <rth@redhat.com>
Wed, 19 Jan 2011 18:46:30 +0000 (10:46 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 19 Jan 2011 18:46:30 +0000 (10:46 -0800)
commit040c57570147b0a05c29339dd778378b8cf15a56
treeb53191eb6304d67c68c266be80195b8b3e0a8733
parentbad41521231654dafc67f31cb8abfa47ad09c691
mn10300: tidy pic address loading

There's little reason to greatly complicate things by splitting
the pic_load patterns and using complex rtl to make it work out.
Instead, use the %= marker to generate unique numbers and emit
the entire load_pic sequence at once.

At the same time, collect all references to outgoing_args_size
into mn10300_frame_size, and all computations of register save
area size into mn10300_initial_offset.

From-SVN: r169012
gcc/ChangeLog
gcc/config/mn10300/mn10300-protos.h
gcc/config/mn10300/mn10300.c
gcc/config/mn10300/mn10300.h
gcc/config/mn10300/mn10300.md