From 9151d1432fe5487d9acff0944360124bdbf3465a Mon Sep 17 00:00:00 2001 From: obrien Date: Mon, 15 Nov 1999 04:33:36 +0000 Subject: Add rev 1.2 profiling tweaks, to GCC 2.95.2. --- contrib/gcc/config/i386/i386.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'contrib') diff --git a/contrib/gcc/config/i386/i386.c b/contrib/gcc/config/i386/i386.c index afbfd11..08542a0 100644 --- a/contrib/gcc/config/i386/i386.c +++ b/contrib/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); } -- cgit v1.1