OSDN Git Service

Generalize 4x32-bit vector swizzling.
authorNicolas Capens <capn@google.com>
Fri, 20 Jan 2017 16:34:37 +0000 (11:34 -0500)
committerNicolas Capens <nicolascapens@google.com>
Sat, 5 Aug 2017 04:29:12 +0000 (04:29 +0000)
commitcb98676127fd976d4fee1269f606ad0d949bd9b9
treef6c746cea959c0b562df49563bd0665f52686b4c
parenta5aed5ee069590ac4a14cde264b388d24d2d55d1
Generalize 4x32-bit vector swizzling.

This enables swizzling of Int4 and UInt4 types using swizzle operators.

Change-Id: I83fe5b472433d84a7b092e18eb78a919fb39b03b
Reviewed-on: https://swiftshader-review.googlesource.com/8530
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Nicolas Capens <nicolascapens@google.com>
src/Reactor/LLVMReactor.cpp
src/Reactor/Reactor.hpp
src/Reactor/SubzeroReactor.cpp