This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/48175] [x32] FAIL: gcc.c-torture/execute/builtins/strcat.c
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 28 Jul 2011 15:50:52 +0000
- Subject: [Bug target/48175] [x32] FAIL: gcc.c-torture/execute/builtins/strcat.c
- Auto-submitted: auto-generated
- References: <bug-48175-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48175
Uros Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |x32
Status|UNCONFIRMED |RESOLVED
Component|middle-end |target
Resolution| |FIXED
Target Milestone|--- |4.7.0
--- Comment #1 from Uros Bizjak <ubizjak at gmail dot com> 2011-07-28 15:50:34 UTC ---
Works with current mainline.
main_test:
.LFB0:
.cfi_startproc
subq $72, %rsp
.cfi_def_cfa_offset 80
movq %rsp, %rsi
movabsq $6365935209750747224, %rax
movq %rax, 8(%rsp)
movq %rax, 16(%rsp)
movq %rax, 24(%rsp)
movq %rax, 32(%rsp)
movq %rax, 40(%rsp)
movq %rax, 48(%rsp)
movq %rax, 56(%rsp)
movl $1819043176, (%rsp)
movl $1870078063, 4(%rsp)
movl $6581362, 8(%rsp)
movq $-1, %rdx
movq %rsp, %rdi
movl $0, %eax
movq %rdx, %rcx
repnz scasb
notq %rcx
leal -1(%rcx,%rsi), %ecx
movl $1752440890, (%rcx)
movl $2126697, 4(%rcx)
movq %rsp, %rdi
movq %rdx, %rcx
repnz scasb
notq %rcx
leal -1(%rcx,%rsi), %ecx
movl $2126697, (%rcx)
movq %rsp, %rdi
movq %rdx, %rcx
repnz scasb
notq %rcx
leal -1(%rcx,%rsi), %ecx
movw $8289, (%rcx)
movb $0, 2(%rcx)
movq %rsp, %rdi
movq %rdx, %rcx
repnz scasb
notq %rcx
leal -1(%rcx,%rsi), %ecx
movl $1953719668, (%rcx)
movb $0, 4(%rcx)
movq %rsp, %rdi
movq %rdx, %rcx
repnz scasb
movq %rcx, %rdx
notq %rdx
leal -1(%rdx,%rsi), %eax
movw $46, (%rax)
movl $.LC0, %edi
movl $30, %ecx
repz cmpsb
seta %dl
setb %al
cmpb %al, %dl
je .L1
call abort
.L1:
addq $72, %rsp
.cfi_def_cfa_offset 8
ret
Fixed.