Summary: | 387 constants still emitted with -mno-80387 & -mfpmath=sse | ||
---|---|---|---|
Product: | gcc | Reporter: | tbp <tbptbp> |
Component: | target | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | gcc-bugs |
Priority: | P3 | Keywords: | missed-optimization, ssemmx |
Version: | 4.0.0 | ||
Target Milestone: | 4.0.0 | ||
Host: | cygwin | Target: | |
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: |
Description
tbp
2005-01-15 20:11:19 UTC
I would doubt this is target related but really the register allocator sucking. This has been fixed now on the mainline: subss 8(%rsi), %xmm7 movss .LC1(%rip), %xmm6 movss .LC0(%rip), %xmm11 movss 4(%rdx), %xmm2 (In reply to comment #2) > This has been fixed now on the mainline: Note I copied the wrong asm: pushl %ebx .LCFI5: movl $0x3f800000, %ebx subl $8, %esp .LCFI6: movl 16(%esp), %eax movl 20(%esp), %edx movl 24(%esp), %ecx movl %ebx, 4(%esp) movss 4(%eax), %xmm4 pushl %ebx .LCFI3: movl $0x3f800000, %ebx subl $16, %esp .LCFI4: movl 24(%esp), %eax movl 28(%esp), %edx movl 32(%esp), %ecx movss 4(%eax), %xmm2 movss (%eax), %xmm4 subss 4(%edx), %xmm2 But it is still fixed. |