aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-m32r.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-m32r.c')
-rw-r--r--gas/config/tc-m32r.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/gas/config/tc-m32r.c b/gas/config/tc-m32r.c
index 5053eac..c717de5 100644
--- a/gas/config/tc-m32r.c
+++ b/gas/config/tc-m32r.c
@@ -1,5 +1,5 @@
/* tc-m32r.c -- Assembler for the Mitsubishi M32R/X.
- Copyright (C) 1996, 1997 Free Software Foundation.
+ Copyright (C) 1996, 1997, 1998 Free Software Foundation.
This file is part of GAS, the GNU Assembler.
@@ -24,9 +24,6 @@
#include "subsegs.h"
#include "cgen-opc.h"
-#include "../../opcodes/m32r-asm.c"
-#include "../../opcodes/m32r-asm.in"
-
/* Non-null if last insn was a 16 bit insn on a 32 bit boundary
(i.e. was the first of two 16 bit insns). */
static const CGEN_INSN * prev_insn = NULL;
@@ -419,6 +416,7 @@ md_assemble (str)
return;
}
+/* start-sanitize-m32rx */
/* Check to see if this is an allowable parallel insn. */
if (CGEN_INSN_ATTR (prev_insn, CGEN_INSN_PIPE) == PIPE_NONE)
{
@@ -426,7 +424,6 @@ md_assemble (str)
return;
}
-/* start-sanitize-m32rx */
if (! enable_m32rx &&
CGEN_INSN_ATTR (prev_insn, CGEN_INSN_MACH) == MACH_M32RX)
{
@@ -473,8 +470,6 @@ md_assemble (str)
return;
}
}
-/* end-sanitize-m32rx */
-
/* Check to see if this is an allowable parallel insn. */
if (CGEN_INSN_ATTR (insn, CGEN_INSN_PIPE) == PIPE_NONE)
{
@@ -489,6 +484,8 @@ md_assemble (str)
as_bad ("'%s': both instructions use the same execution pipeline", str2);
return;
}
+/* end-sanitize-m32rx */
+
#if 0
/* Check that the instructions do not write to the same destination register. */
if (writes_to_dest_reg (insn)