From 27922c1362c0c8b3edf757a216195eceae3f51e2 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 11 Mar 1999 05:56:20 -0800 Subject: 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 --- gcc/machmode.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gcc/machmode.h') 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. */ -- cgit v1.1