[LLVMbugs] [Bug 1549] x86-64 backend missing some sse builtins

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jul 18 23:23:57 PDT 2007


http://llvm.org/bugs/show_bug.cgi?id=1549

isanbard at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From isanbard at gmail.com  2007-07-19 01:23 -------
With this patch:

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070716/052008.html

We get this:

$ llvm-gcc -S -Os -msse -m64 m.c -o -
        .text
        .align  4
        .globl  _foo_0
_foo_0:
        pushq %rbp
        movq %rsp, %rbp
        movq (%rdi), %rax
        popq %rbp
        ret


        .align  4
        .globl  _foo_1
_foo_1:
        pushq %rbp
        movq %rsp, %rbp
        movq 8(%rdi), %rax
        popq %rbp
        ret

        .subsections_via_symbols

$ llvm-gcc -S -Os -msse -m64 -fomit-frame-pointer m.c -o -
        .text
        .align  4
        .globl  _foo_0
_foo_0:
        movq (%rdi), %rax
        ret


        .align  4
        .globl  _foo_1
_foo_1:
        movq 8(%rdi), %rax
        ret

        .subsections_via_symbols




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list