summaryrefslogtreecommitdiff
path: root/gnu/egcs/gcc/config/i386
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-01-19 16:26:42 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-01-19 16:26:42 +0000
commita144af6c5a5f30a92750a5da9729ce680e1054a0 (patch)
tree5584344378e78ad74de5e99d73adbe2ed4c7447d /gnu/egcs/gcc/config/i386
parentdf2a34902b4aa73b54581f227c58a3ca95b37318 (diff)
Inane conflicts:
- patch to function.c was badly indented. - invoke.texi no longer need to special-case OpenBSD, as 2.95.2 turns strict-aliasing off everywhere.
Diffstat (limited to 'gnu/egcs/gcc/config/i386')
-rw-r--r--gnu/egcs/gcc/config/i386/i386.c5
-rw-r--r--gnu/egcs/gcc/config/i386/sol2dbg.h27
2 files changed, 5 insertions, 27 deletions
diff --git a/gnu/egcs/gcc/config/i386/i386.c b/gnu/egcs/gcc/config/i386/i386.c
index cfd95e4880c..67c01ae60bc 100644
--- a/gnu/egcs/gcc/config/i386/i386.c
+++ b/gnu/egcs/gcc/config/i386/i386.c
@@ -5234,6 +5234,9 @@ output_strlen_unroll (operands)
output_asm_insn (AS1 (je,%l12), xops);
output_asm_insn (AS1 (inc%L0,%0), xops);
+ /* Not needed with an alignment of 2 */
+ if (GET_CODE (operands[1]) != CONST_INT || INTVAL (operands[1]) != 2)
+ {
ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, "L",
CODE_LABEL_NUMBER (xops[7]));
output_asm_insn (AS2 (cmp%B13,%2,%13), xops);
@@ -5242,6 +5245,8 @@ output_strlen_unroll (operands)
ASM_OUTPUT_INTERNAL_LABEL (asm_out_file, "L",
CODE_LABEL_NUMBER (xops[6]));
+ }
+
output_asm_insn (AS2 (cmp%B13,%2,%13), xops);
}
diff --git a/gnu/egcs/gcc/config/i386/sol2dbg.h b/gnu/egcs/gcc/config/i386/sol2dbg.h
deleted file mode 100644
index 9f95333b4b9..00000000000
--- a/gnu/egcs/gcc/config/i386/sol2dbg.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/* Target definitions for GNU compiler for Intel 80386 running Solaris
- with gas and gdb.
- This file is added into the directory .../gcc-2.../config/i386
- Workability without "#undef DWARF_DEBUGGING_INFO" is not tested. */
-
-/* Use stabs instead of DWARF debug format. */
-#ifdef PREFERRED_DEBUGGING_TYPE
-#undef PREFERRED_DEBUGGING_TYPE
-#endif
-#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
-
-#include "i386/sol2.h"
-
-#ifdef DWARF_DEBUGGING_INFO
-#undef DWARF_DEBUGGING_INFO
-#endif
-
-/*
- Changed from config/svr4.h in the following ways:
-
- - Added "%{V}".
- - Modified "{%v:-V}" to take into account "%{V}".
- - Added "-s" so that stabs are saved in the final executable. */
-
-#undef ASM_SPEC
-#define ASM_SPEC \
- "%{V} %{v:%{!V:-V}} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*} -s"