This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 3/3] or1k: gcc: initial support for openrisc


On Wed, Aug 29, 2018 at 02:29:45PM -0700, Richard Henderson wrote:
> On 08/28/2018 07:13 AM, Jeff Law wrote:
> > I didn't see any provision for long vs short branches.  How are branches
> > to targets within the same function, but which are out of the range that
> > can be encoded in a single instruction work?  Similarly how is this
> > handled for function calls?  Note handling this gets even more complex
> > with delay slots :(
> 
> 26 bits, or +- 128MB, for all branches/calls.

Considering most of the targets I have run on have 32mb ram I haven't thought
about this.

Thanks Richard for the replies.  I will be working on the comments,
documentation, deprecated macro updates and other trivial things.  Once that is
done Ill see if you have make any progress on the long jumps, function
descriptors or other bigger changes and we can go from there with the plan for
V2.

-Stafford


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]