Skip to content

Conversation

@kree-colemcalughlin
Copy link
Contributor

Small fix for a small bug. This only appeared when one attempted to interleave 4 vectors of a 64-bit type. Solution is to check bit width of the type and fall back to the recursive interleave if the vectors have 64-bit elements.

…ttempted to interleave 4 vectors of a 64-bit type. Solution is to check bit width of the type and fall back to the recursive interleave if the vectors have 64-bit elements.
@abadams
Copy link
Member

abadams commented Jan 21, 2015

By "bug" do you mean poor assembly generated, or do you actually mean you get the wrong result out?

@kree-colemcalughlin
Copy link
Contributor Author

The codegen would actually fail because it attempts to cast the partially interleaved vectors to a 128-bit type, e.g. a vector of float128's, which doesn't exist in llvm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants