aboutsummaryrefslogtreecommitdiff
path: root/gcc/machmode.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-03-11 05:56:20 -0800
committerRichard Henderson <rth@gcc.gnu.org>1999-03-11 05:56:20 -0800
commit27922c1362c0c8b3edf757a216195eceae3f51e2 (patch)
treecb32f2a58fc37a3a6bf27f9a57e9e404fe60b3f2 /gcc/machmode.h
parent8e9fb571ee594a45bc9fcfb309f8669b167ae042 (diff)
downloadgcc-27922c1362c0c8b3edf757a216195eceae3f51e2.zip
gcc-27922c1362c0c8b3edf757a216195eceae3f51e2.tar.gz
gcc-27922c1362c0c8b3edf757a216195eceae3f51e2.tar.bz2
machmode.h (smallest_mode_for_size): Prototype.
* machmode.h (smallest_mode_for_size): Prototype. * stor-layout.c (smallest_mode_for_size): Remove static. From-SVN: r25703
Diffstat (limited to 'gcc/machmode.h')
-rw-r--r--gcc/machmode.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/machmode.h b/gcc/machmode.h
index 75a7d09..595d8bd6 100644
--- a/gcc/machmode.h
+++ b/gcc/machmode.h
@@ -199,6 +199,12 @@ extern unsigned char mode_wider_mode[];
extern enum machine_mode mode_for_size PROTO((unsigned int, enum mode_class, int));
+/* Similar, but find the smallest mode for a given width. */
+
+extern enum machine_mode smallest_mode_for_size PROTO((unsigned int,
+ enum mode_class));
+
+
/* Return an integer mode of the exact same size as the input mode,
or BLKmode on failure. */