diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1999-11-15 04:33:36 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1999-11-15 04:33:36 +0000 |
commit | 874051e952d7bef4fed5f0c156c44af55f623453 (patch) | |
tree | 2ae8801ea04ab6c01434fe9b4f1be077f9f9b798 | |
parent | 6a90513a0f5517fa662b5f2b3b8bb34f2816fc82 (diff) | |
download | src-874051e952d7bef4fed5f0c156c44af55f623453.tar.gz src-874051e952d7bef4fed5f0c156c44af55f623453.zip |
Add rev 1.2 profiling tweaks, to GCC 2.95.2.
Notes
Notes:
svn path=/head/; revision=53177
-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 afbfd11f031b..08542a03d9f2 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); } |