Commit 4f738a16 by Nicolas Capens

Move MMX class to the implementation side.

Bug swiftshader:10 Change-Id: I24fc66248bd2f66d2e8bc2b2a15e6c8fadc47efb Reviewed-on: https://swiftshader-review.googlesource.com/7213Tested-by: 's avatarNicolas Capens <capn@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <capn@google.com>
parent f0005a1d
...@@ -846,6 +846,12 @@ namespace sw ...@@ -846,6 +846,12 @@ namespace sw
return Nucleus::createGEP(address, index); return Nucleus::createGEP(address, index);
} }
class MMX : public Variable<MMX>
{
public:
static Type *getType();
};
Type *MMX::getType() Type *MMX::getType()
{ {
return Type::getX86_MMXTy(*Nucleus::getContext()); return Type::getX86_MMXTy(*Nucleus::getContext());
......
...@@ -379,12 +379,6 @@ namespace sw ...@@ -379,12 +379,6 @@ namespace sw
llvm::Value *value; llvm::Value *value;
}; };
class MMX : public Variable<MMX>
{
public:
static llvm::Type *getType();
};
class Bool : public Variable<Bool> class Bool : public Variable<Bool>
{ {
public: public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment