From 4ed4cb9a0360080746a2d2fad2d2a875f122230c Mon Sep 17 00:00:00 2001 From: Joern Rennecke Date: Mon, 3 Feb 1997 18:17:13 +0000 Subject: [PATCH] Update comment about BSR. From-SVN: r13601 --- gcc/config/sh/sh.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index c9ce22a654a..0ff08aad635 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -29,20 +29,16 @@ ;; ??? Should check all DImode patterns for consistency and usefulness. -;; ??? Should add support for using BSR for short function calls. - ;; ??? The MAC.W and MAC.L instructions are not supported. There is no ;; way to generate them. -;; ??? The BSR instruction is not supported. It might be possible to -;; generate it by keeping track of function sizes (and hence relative -;; addresses), and then using it only if the target is earlier in the same -;; file, and is within range. Better would be assembler/linker relaxing, -;; but that is much harder. - ;; ??? The cmp/str instruction is not supported. Perhaps it can be used ;; for a str* inline function. +;; BSR is not generated by the compiler proper, but when relaxing, it +;; generates .uses pseudo-ops that allow linker relaxation to create +;; BSR. This is actually implemented in bfd/{coff,elf32}-sh.c + ;; Special constraints for SH machine description: ;; ;; t -- T -- 2.30.2