aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-02-16 04:59:26 +0000
committerRichard Stallman <rms@gnu.org>1992-02-16 04:59:26 +0000
commit726c68df782c7e722a3f5cb75060c47d2424bff0 (patch)
tree4f84acd9e8a09c1857ea04ccd08723d4812fae3d
parent2bb7a0f55b929b09ae3b1fb72ffdda42f766f0aa (diff)
downloadgcc-726c68df782c7e722a3f5cb75060c47d2424bff0.zip
gcc-726c68df782c7e722a3f5cb75060c47d2424bff0.tar.gz
gcc-726c68df782c7e722a3f5cb75060c47d2424bff0.tar.bz2
*** empty log message ***
From-SVN: r329
-rw-r--r--gcc/config/i386/gas.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/gcc/config/i386/gas.h b/gcc/config/i386/gas.h
index 6a57ade..f9f98d1 100644
--- a/gcc/config/i386/gas.h
+++ b/gcc/config/i386/gas.h
@@ -108,3 +108,23 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef ASM_FILE_START
#define ASM_FILE_START(FILE) \
fprintf (FILE, "\t.file\t\"%s\"\n", dump_base_name);
+
+/* 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. */
+
+#define ASM_OUTPUT_OPCODE(STREAM, PTR) \
+{ \
+ if ((PTR)[0] == 'r' \
+ && (PTR)[1] == 'e' \
+ && (PTR)[2] == 'p' \
+ && (PTR)[3] == 'z') \
+ { \
+ fprintf (STREAM, "repe"); \
+ (PTR) += 4; \
+ } \
+}