[LLVMbugs] [Bug 10949] [AVX] incorrect code generated for <8 x i16> vector

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Sep 19 14:37:53 PDT 2011


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

Bruno Cardoso Lopes <bruno.cardoso at gmail.com> changed:

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

--- Comment #4 from Bruno Cardoso Lopes <bruno.cardoso at gmail.com> 2011-09-19 16:37:52 CDT ---
Hi Matt,

Not sure what's happening, running on my machine:

$ llc -mattr=+avx x.ll -o x.s
$ clang -mavx x.s -o x
$ ./x 
result[0] = 0.0
result[1] = 2.0
result[2] = 0.0
result[3] = 4.0
result[4] = 0.0
result[5] = 0.0
result[6] = 0.0
result[7] = 0.0

This is the expect output, right?

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list