OSDN Git Service

Move MMX class to the implementation side.
authorNicolas Capens <capn@google.com>
Tue, 20 Sep 2016 19:46:16 +0000 (15:46 -0400)
committerNicolas Capens <capn@google.com>
Wed, 28 Sep 2016 20:46:57 +0000 (20:46 +0000)
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>
src/Reactor/Nucleus.cpp
src/Reactor/Nucleus.hpp

index 0a648bd..1311488 100644 (file)
@@ -846,6 +846,12 @@ namespace sw
                return Nucleus::createGEP(address, index);
        }
 
+       class MMX : public Variable<MMX>
+       {
+       public:
+               static Type *getType();
+       };
+
        Type *MMX::getType()
        {
                return Type::getX86_MMXTy(*Nucleus::getContext());
index 5d60382..56b7210 100644 (file)
@@ -379,12 +379,6 @@ namespace sw
                llvm::Value *value;
        };
 
-       class MMX : public Variable<MMX>
-       {
-       public:
-               static llvm::Type *getType();
-       };
-
        class Bool : public Variable<Bool>
        {
        public: