commit | 4f738a168723d8c1257dcc6087274031c528af0c | [log] [tgz] |
---|---|---|
author | Nicolas Capens <capn@google.com> | Tue Sep 20 15:46:16 2016 -0400 |
committer | Nicolas Capens <capn@google.com> | Wed Sep 28 20:46:57 2016 +0000 |
tree | 249bc64b0ff8ae043473f5bc2fe08529878ff419 | |
parent | f0005a1d9e0374fe2197e4639932b5822616cce5 [diff] [blame] |
Move MMX class to the implementation side. Bug swiftshader:10 Change-Id: I24fc66248bd2f66d2e8bc2b2a15e6c8fadc47efb Reviewed-on: https://swiftshader-review.googlesource.com/7213 Tested-by: Nicolas Capens <capn@google.com> Reviewed-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
diff --git a/src/Reactor/Nucleus.cpp b/src/Reactor/Nucleus.cpp index 0a648bd..1311488 100644 --- a/src/Reactor/Nucleus.cpp +++ b/src/Reactor/Nucleus.cpp
@@ -846,6 +846,12 @@ return Nucleus::createGEP(address, index); } + class MMX : public Variable<MMX> + { + public: + static Type *getType(); + }; + Type *MMX::getType() { return Type::getX86_MMXTy(*Nucleus::getContext());