aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJoern Rennecke <amylaar@gcc.gnu.org>1997-02-03 18:17:13 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>1997-02-03 18:17:13 +0000
commit4ed4cb9a0360080746a2d2fad2d2a875f122230c (patch)
treeaf492184fe9d8c3577dfb94ab0fc7af4e313ba14 /gcc
parent47c8cf914763cec943ddafe373cf75f64d93c5a3 (diff)
downloadgcc-4ed4cb9a0360080746a2d2fad2d2a875f122230c.zip
gcc-4ed4cb9a0360080746a2d2fad2d2a875f122230c.tar.gz
gcc-4ed4cb9a0360080746a2d2fad2d2a875f122230c.tar.bz2
Update comment about BSR.
From-SVN: r13601
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/sh/sh.md12
1 files changed, 4 insertions, 8 deletions
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index c9ce22a..0ff08aa 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