aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Earnshaw <erich@gnu.org>1994-06-27 15:24:36 +0000
committerRichard Earnshaw <erich@gnu.org>1994-06-27 15:24:36 +0000
commitbee06f3d82ed4c221d2ff8c1d66a22df1673974e (patch)
tree350ac1945fe50d0a4370f485f77a8e0de408bc80
parent4a1934977f4e1b47aae217dc7f7f469b02c07f72 (diff)
downloadgcc-bee06f3d82ed4c221d2ff8c1d66a22df1673974e.zip
gcc-bee06f3d82ed4c221d2ff8c1d66a22df1673974e.tar.gz
gcc-bee06f3d82ed4c221d2ff8c1d66a22df1673974e.tar.bz2
include "expr.h".
(arm_fpu): New variable. (arm_gen_movstrqi): Fix typo. From-SVN: r7573
-rw-r--r--gcc/config/arm/arm.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index cca368b..732cc93 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -36,6 +36,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "flags.h"
#include "reload.h"
#include "tree.h"
+#include "expr.h"
/* The maximum number of insns skipped which will be conditionalised if
possible. */
@@ -56,9 +57,11 @@ rtx arm_compare_op0, arm_compare_op1;
int arm_compare_fp;
/* What type of cpu are we compiling for? */
-
enum processor_type arm_cpu;
+/* Waht type of floating point are we compiling for? */
+enum floating_point_type arm_fpu;
+
/* In case of a PRE_INC, POST_INC, PRE_DEC, POST_DEC memory reference, we
must report the mode of the memory reference from PRINT_OPERAND to
PRINT_OPERAND_ADDRESS. */
@@ -1627,7 +1630,8 @@ arm_gen_movstrqi (operands)
abort ();
/* The bytes we want are in the top end of the word */
- emit_insn (gen_lshrsi3 (tmp, part_bytes_reg, 8 * (4 - last_bytes)));
+ emit_insn (gen_lshrsi3 (tmp, part_bytes_reg,
+ GEN_INT (8 * (4 - last_bytes))));
part_bytes_reg = tmp;
while (last_bytes)