aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2010-07-12 18:55:57 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2010-07-12 18:55:57 +0000
commit9d86796b627350ba83fcdf4e101805ae4edf08a6 (patch)
treefd2adeb46c2c6f2a504690bad110fdee802e14f9 /gcc/expr.c
parent3e9c326a88c289e25d58d2e9efb8517ef272410d (diff)
downloadgcc-9d86796b627350ba83fcdf4e101805ae4edf08a6.zip
gcc-9d86796b627350ba83fcdf4e101805ae4edf08a6.tar.gz
gcc-9d86796b627350ba83fcdf4e101805ae4edf08a6.tar.bz2
regs.h (target_regs): Add x_direct_load, x_direct_store and x_float_extend_from_mem.
gcc/ * regs.h (target_regs): Add x_direct_load, x_direct_store and x_float_extend_from_mem. (direct_load, direct_store, float_extend_from_mem): New macros. * expr.c (direct_load, direct_store, float_extend_from_mem): Delete. From-SVN: r162100
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 00ebfdc..7788461 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -53,6 +53,7 @@ along with GCC; see the file COPYING3. If not see
#include "df.h"
#include "diagnostic.h"
#include "ssaexpand.h"
+#include "target-globals.h"
/* Decide whether a function's arguments should be processed
from first to last or from last to first.
@@ -158,17 +159,6 @@ static void do_tablejump (rtx, enum machine_mode, rtx, rtx, rtx);
static rtx const_vector_from_tree (tree);
static void write_complex_part (rtx, rtx, bool);
-/* Record for each mode whether we can move a register directly to or
- from an object of that mode in memory. If we can't, we won't try
- to use that mode directly when accessing a field of that mode. */
-
-static char direct_load[NUM_MACHINE_MODES];
-static char direct_store[NUM_MACHINE_MODES];
-
-/* Record for each mode whether we can float-extend from memory. */
-
-static bool float_extend_from_mem[NUM_MACHINE_MODES][NUM_MACHINE_MODES];
-
/* This macro is used to determine whether move_by_pieces should be called
to perform a structure copy. */
#ifndef MOVE_BY_PIECES_P