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]

Re: SH PIC: use TARGET_SH2 instead of ! TARGET_SH1


> But now that I look into it, I can't think of any reason why those PIC
> call sequences can't be used on SH1.  Can anybody?

bsrf is not available on the SH1.  Neither is braf.  You would have to use 
a mova / add rn,r0 / jsr @r0 combination.

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