| Index: src/IceInstX86BaseImpl.h
|
| diff --git a/src/IceInstX86BaseImpl.h b/src/IceInstX86BaseImpl.h
|
| index f80073e638735206c7f258eb0a2768126050e516..a8a0a1f61ef79f0c6b2659c0c43166c3e4226c25 100644
|
| --- a/src/IceInstX86BaseImpl.h
|
| +++ b/src/IceInstX86BaseImpl.h
|
| @@ -2137,6 +2137,7 @@ void InstX86StoreP<Machine>::emit(const Cfg *Func) const {
|
| return;
|
| Ostream &Str = Func->getContext()->getStrEmit();
|
| assert(this->getSrcSize() == 2);
|
| + assert(isVectorType(this->getSrc(1)->getType()));
|
| Str << "\tmovups\t";
|
| this->getSrc(0)->emit(Func);
|
| Str << ", ";
|
| @@ -2178,7 +2179,8 @@ void InstX86StoreQ<Machine>::emit(const Cfg *Func) const {
|
| Ostream &Str = Func->getContext()->getStrEmit();
|
| assert(this->getSrcSize() == 2);
|
| assert(this->getSrc(1)->getType() == IceType_i64 ||
|
| - this->getSrc(1)->getType() == IceType_f64);
|
| + this->getSrc(1)->getType() == IceType_f64 ||
|
| + isVectorType(this->getSrc(1)->getType()));
|
| Str << "\tmovq\t";
|
| this->getSrc(0)->emit(Func);
|
| Str << ", ";
|
|
|