summaryrefslogtreecommitdiff
path: root/gcc/machmode.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-03-11 13:56:20 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-03-11 13:56:20 +0000
commitbbceecb62598ce7ec37388005e569bebe72badb1 (patch)
treecb32f2a58fc37a3a6bf27f9a57e9e404fe60b3f2 /gcc/machmode.h
parentc2e1efd7451630b50a7dfe81c26c82e206107b32 (diff)
downloadgcc-bbceecb62598ce7ec37388005e569bebe72badb1.tar.gz
* machmode.h (smallest_mode_for_size): Prototype.
* stor-layout.c (smallest_mode_for_size): Remove static. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25703 138bc75d-0d04-0410-961f-82ee72b054a4
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 75a7d09d51d..595d8bd6187 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. */