diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-11-01 09:35:24 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-11-01 09:35:24 +0000 |
commit | 248c3c28cde14aaf09a1d4149fb2a2641274428c (patch) | |
tree | c1cd461ba0c1deb1040428de253951d45bcbf009 /gcc/machmode.h | |
parent | e4d448f47793cd09c29cfddbeacb7d87127216f0 (diff) | |
download | gcc-248c3c28cde14aaf09a1d4149fb2a2641274428c.tar.gz |
* expr.c (emit_move_insn): Use SCALAR_FLOAT_MODE_P
* machmode.h (SCALAR_FLOAT_MODE_P): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58712 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/machmode.h')
-rw-r--r-- | gcc/machmode.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/machmode.h b/gcc/machmode.h index c0c8c35f8d4..46247d57343 100644 --- a/gcc/machmode.h +++ b/gcc/machmode.h @@ -80,6 +80,10 @@ extern const enum mode_class mode_class[NUM_MACHINE_MODES]; (GET_MODE_CLASS (MODE) == MODE_INT \ || GET_MODE_CLASS (MODE) == MODE_PARTIAL_INT) +/* Nonzero if MODE is a scalar floating point mode. */ +#define SCALAR_FLOAT_MODE_P(MODE) \ + (GET_MODE_CLASS (MODE) == MODE_FLOAT) + /* Get the size in bytes of an object of mode MODE. */ extern const unsigned char mode_size[NUM_MACHINE_MODES]; |