diff options
author | obrien <obrien@FreeBSD.org> | 1999-11-15 04:33:36 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-11-15 04:33:36 +0000 |
commit | 9151d1432fe5487d9acff0944360124bdbf3465a (patch) | |
tree | 2ae8801ea04ab6c01434fe9b4f1be077f9f9b798 /contrib | |
parent | 53ecec3782e5a45b4e69502f7873db6f1474bdac (diff) | |
download | FreeBSD-src-9151d1432fe5487d9acff0944360124bdbf3465a.zip FreeBSD-src-9151d1432fe5487d9acff0944360124bdbf3465a.tar.gz |
Add rev 1.2 profiling tweaks, to GCC 2.95.2.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/gcc/config/i386/i386.c | 5 |
1 files changed, 5 insertions, 0 deletions
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); } |