From 6b0ac106717da4c6846285e18c41e8f4a1c64e2d Mon Sep 17 00:00:00 2001 From: James Van Artsdalen Date: Mon, 2 Mar 1992 07:55:53 +0000 Subject: [PATCH] Initial revision From-SVN: r373 --- gcc/config/i386/seq-gas.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 gcc/config/i386/seq-gas.h diff --git a/gcc/config/i386/seq-gas.h b/gcc/config/i386/seq-gas.h new file mode 100644 index 00000000000..412f7b79657 --- /dev/null +++ b/gcc/config/i386/seq-gas.h @@ -0,0 +1,27 @@ +/* Definitions for Sequent Intel 386 using GAS. + Copyright (C) 1992 Free Software Foundation, Inc. + +/* Mostly it's like a Sequent 386 without GAS. */ + +#include "seq386.h" + +/* A C statement or statements which output an assembler instruction + opcode to the stdio stream STREAM. The macro-operand PTR is a + variable of type `char *' which points to the opcode name in its + "internal" form--the form that is written in the machine description. + + GAS version 1.38.1 doesn't understand the `repz' opcode mnemonic. + So use `repe' instead. */ + +#undef ASM_OUTPUT_OPCODE +#define ASM_OUTPUT_OPCODE(STREAM, PTR) \ +{ \ + if ((PTR)[0] == 'r' \ + && (PTR)[1] == 'e' \ + && (PTR)[2] == 'p' \ + && (PTR)[3] == 'z') \ + { \ + fprintf (STREAM, "repe"); \ + (PTR) += 4; \ + } \ +}