aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/xtensa/xtensa.h
diff options
context:
space:
mode:
authorAnatoly Sokolov <aesok@post.ru>2011-02-03 23:14:10 +0300
committerAnatoly Sokolov <aesok@gcc.gnu.org>2011-02-03 23:14:10 +0300
commita6e508f91d95bdf154a19307d5e1277a98dfb19e (patch)
tree4988599a3de10823ab67c0cd7a406d562c0383e6 /gcc/config/xtensa/xtensa.h
parent82dc0de3f7c06c38d5c30aadc3e99e041ae889bc (diff)
downloadgcc-a6e508f91d95bdf154a19307d5e1277a98dfb19e.zip
gcc-a6e508f91d95bdf154a19307d5e1277a98dfb19e.tar.gz
gcc-a6e508f91d95bdf154a19307d5e1277a98dfb19e.tar.bz2
xtensa.h (PREFERRED_RELOAD_CLASS, [...]): Remove.
* config/xtensa/xtensa.h (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS): Remove. * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class, secondary_reload_info, xtensa_secondary_reload): Remove. * config/xtensa/xtensa.c (TARGET_PREFERRED_RELOAD_CLASS, TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. (xtensa_preferred_reload_class): Make static. Change return and 'rclass' argument type to reg_class_t. Remove 'isoutput' argument. Use CONST_DOUBLE_P predicate. (xtensa_preferred_output_reload_class): New function. (xtensa_secondary_reload): Make static. From-SVN: r169810
Diffstat (limited to 'gcc/config/xtensa/xtensa.h')
-rw-r--r--gcc/config/xtensa/xtensa.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/config/xtensa/xtensa.h b/gcc/config/xtensa/xtensa.h
index 3d498e1..098855b 100644
--- a/gcc/config/xtensa/xtensa.h
+++ b/gcc/config/xtensa/xtensa.h
@@ -455,12 +455,6 @@ extern const enum reg_class xtensa_regno_to_class[FIRST_PSEUDO_REGISTER];
the RTL, as either incoming or outgoing arguments. */
#define TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P hook_bool_mode_true
-#define PREFERRED_RELOAD_CLASS(X, CLASS) \
- xtensa_preferred_reload_class (X, CLASS, 0)
-
-#define PREFERRED_OUTPUT_RELOAD_CLASS(X, CLASS) \
- xtensa_preferred_reload_class (X, CLASS, 1)
-
/* Return the maximum number of consecutive registers
needed to represent mode MODE in a register of class CLASS. */
#define CLASS_UNITS(mode, size) \