https://bugs.llvm.org/show_bug.cgi?id=51972
Bug ID: 51972
Summary: Overly pessimistic cost for `trunc <16 x i32> -> <16 x
i16>`
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: X86
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
Noticed when looking at LV -debug.
https://godbolt.org/z/vsWch848x
`trunc <8 x i32> -> <8 x i16>` has cost of 2,
but `trunc <16 x i32> -> <16 x i16>` has cost of 10.
Isn't that a bit too much?
Even for haswell it should be ~4.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs