diff options
author | jrv <jrv@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-03-02 07:55:53 +0000 |
---|---|---|
committer | jrv <jrv@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-03-02 07:55:53 +0000 |
commit | 70e168241d4de4cc487e202db2074bbda63cacfe (patch) | |
tree | 8f83f04d98d485164ec448e8f13f43c3276cee95 /gcc/config/i386 | |
parent | a45d833a5a4a73e9456494608431903c5f2cb07f (diff) | |
download | gcc-70e168241d4de4cc487e202db2074bbda63cacfe.tar.gz |
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@373 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386')
-rw-r--r-- | gcc/config/i386/seq-gas.h | 27 |
1 files changed, 27 insertions, 0 deletions
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; \ + } \ +} |