aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@hxi.com>2001-01-14 15:36:42 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2001-01-14 15:36:42 +0000
commitc009a7450403e91d890d38c591a530a00bee31b2 (patch)
treed19fd27cdb6a89bcaa08d3d92d5150b66208c767
parentb859a98d15434072e9a7a64447a97cc0b53e2a16 (diff)
downloadgcc-c009a7450403e91d890d38c591a530a00bee31b2.zip
gcc-c009a7450403e91d890d38c591a530a00bee31b2.tar.gz
gcc-c009a7450403e91d890d38c591a530a00bee31b2.tar.bz2
h8300.c (get_shift_alg): Update comments.
2001-01-14 Kazu Hirata <kazu@hxi.com> * config/h8300/h8300.c (get_shift_alg): Update comments. From-SVN: r39010
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/h8300/h8300.c8
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b1091ce..2dcb26b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-01-14 Kazu Hirata <kazu@hxi.com>
+
+ * config/h8300/h8300.c (get_shift_alg): Update comments.
+
Sun Jan 14 06:20:49 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* ggc-page.c (alloc_annon): Call perror and correctly call exit.
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index 2aeb478..c2ebcf6 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -1996,10 +1996,10 @@ static enum shift_alg get_shift_alg PARAMS ((enum shift_type,
enum shift_mode, int,
struct shift_info *));
-/* Given CPU, MODE, SHIFT_TYPE, and shift count COUNT, determine the best
- algorithm for doing the shift. The assembler code is stored in ASSEMBLER.
- We don't achieve maximum efficiency in all cases, but the hooks are here
- to do so.
+/* Given SHIFT_TYPE, SHIFT_MODE, and shift count COUNT, determine the
+ best algorithm for doing the shift. The assembler code is stored
+ in the pointers in INFO. We don't achieve maximum efficiency in
+ all cases, but the hooks are here to do so.
For now we just use lots of switch statements. Since we don't even come
close to supporting all the cases, this is simplest. If this function ever