http://llvm.org/bugs/show_bug.cgi?id=8747
Summary: [x86] error in definition of SSE 4.1 round_ps
intrinsic?
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
The round_ps intrinsic seems to be defined to take 2 float vector parameters in
addition to the desired rounding mode. This doesn't seem to match the
definition of the instruction, which does take two SSE registers, but the first
operand is the register where the result is returned.
As a repro case, when I run the attached test program, I get as output:
% ./a.out
<4 x float> (<4 x float>, <4 x float>, i32)
%
whereas I'd expect it to give "<4 x float> (<4 x float>, i32)"
I'm not enough of an llvm internals expert to provide a suggested patch, but I
assume this is an easy fix (assuming my bug report is correct.)
Thanks,
-matt
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs