[llvm-bugs] [Bug 27476] New: Use SSE for DImode store

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 22 07:27:14 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=27476

            Bug ID: 27476
           Summary: Use SSE for DImode store
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: hjl.tools at gmail.com
                CC: david.l.kreitzer at intel.com, llvm-bugs at lists.llvm.org,
                    zia.ansari at intel.com
    Classification: Unclassified

[hjl at gnu-6 pr70155d]$ cat x5.i
extern long long a;

void
foo (void)
{
  a = 0;
}
[hjl at gnu-6 pr70155d]$ cat x6.i
extern long long a;

void
foo (void)
{
  a = -1;
}
[hjl at gnu-6 pr70155d]$ make x5.s x6.s
/export/build/gnu/llvm-clang-bootstrap/stage1/build-x86_64-linux/bin//clang -O2
-msse2 -m32 -fno-asynchronous-unwind-tables -S -o x5.s x5.i
/export/build/gnu/llvm-clang-bootstrap/stage1/build-x86_64-linux/bin//clang -O2
-msse2 -m32 -fno-asynchronous-unwind-tables -S -o x6.s x6.i
[hjl at gnu-6 pr70155d]$ cat  x5.s x6.s
    .text
    .file    "x5.i"
    .globl    foo
    .p2align    4, 0x90
    .type    foo, at function
foo:                                    # @foo
# BB#0:
    movl    $0, a+4
    movl    $0, a
    retl
.Lfunc_end0:
    .size    foo, .Lfunc_end0-foo


    .ident    "clang version 3.9.0 (http://llvm.org/git/clang.git
fdef93f7bb7594c6a2a623835f9d5330184bf37c) (http://llvm.org/git/llvm.git
ffadaf5667befa7f105aa48fca597d26d8c7ee49)"
    .section    ".note.GNU-stack","", at progbits
    .text
    .file    "x6.i"
    .globl    foo
    .p2align    4, 0x90
    .type    foo, at function
foo:                                    # @foo
# BB#0:
    movl    $-1, a+4
    movl    $-1, a
    retl
.Lfunc_end0:
    .size    foo, .Lfunc_end0-foo


    .ident    "clang version 3.9.0 (http://llvm.org/git/clang.git
fdef93f7bb7594c6a2a623835f9d5330184bf37c) (http://llvm.org/git/llvm.git
ffadaf5667befa7f105aa48fca597d26d8c7ee49)"
    .section    ".note.GNU-stack","", at progbits
[hjl at gnu-6 pr70155d]$ 

Thet should use SSE store.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160422/78b2555c/attachment.html>


More information about the llvm-bugs mailing list