| Index: src/IceInstX8632.cpp
|
| diff --git a/src/IceInstX8632.cpp b/src/IceInstX8632.cpp
|
| index 79ec127ffd36e358966b8998c3bd76dfba978029..307ee43e256ca4874ce30138fcb15890eb2c22ff 100644
|
| --- a/src/IceInstX8632.cpp
|
| +++ b/src/IceInstX8632.cpp
|
| @@ -177,6 +177,12 @@ InstX8632Store::InstX8632Store(Cfg *Func, Operand *Value, OperandX8632 *Mem)
|
| addSource(Mem);
|
| }
|
|
|
| +InstX8632Storep::InstX8632Storep(Cfg *Func, Operand *Value, OperandX8632 *Mem)
|
| + : InstX8632(Func, InstX8632::Storep, 2, NULL) {
|
| + addSource(Value);
|
| + addSource(Mem);
|
| +}
|
| +
|
| InstX8632Mov::InstX8632Mov(Cfg *Func, Variable *Dest, Operand *Source)
|
| : InstX8632(Func, InstX8632::Mov, 1, Dest) {
|
| addSource(Source);
|
| @@ -654,6 +660,24 @@ void InstX8632Store::dump(const Cfg *Func) const {
|
| getSrc(0)->dump(Func);
|
| }
|
|
|
| +void InstX8632Storep::emit(const Cfg *Func) const {
|
| + Ostream &Str = Func->getContext()->getStrEmit();
|
| + assert(getSrcSize() == 2);
|
| + Str << "\tmovups\t";
|
| + getSrc(1)->emit(Func);
|
| + Str << ", ";
|
| + getSrc(0)->emit(Func);
|
| + Str << "\n";
|
| +}
|
| +
|
| +void InstX8632Storep::dump(const Cfg *Func) const {
|
| + Ostream &Str = Func->getContext()->getStrDump();
|
| + Str << "storep." << getSrc(0)->getType() << " ";
|
| + getSrc(1)->dump(Func);
|
| + Str << ", ";
|
| + getSrc(0)->dump(Func);
|
| +}
|
| +
|
| void InstX8632StoreQ::emit(const Cfg *Func) const {
|
| Ostream &Str = Func->getContext()->getStrEmit();
|
| assert(getSrcSize() == 2);
|
| @@ -729,6 +753,14 @@ void InstX8632Movp::emit(const Cfg *Func) const {
|
| Str << "\n";
|
| }
|
|
|
| +void InstX8632Movp::dump(const Cfg *Func) const {
|
| + Ostream &Str = Func->getContext()->getStrDump();
|
| + Str << "movups." << getDest()->getType() << " ";
|
| + dumpDest(Func);
|
| + Str << ", ";
|
| + dumpSources(Func);
|
| +}
|
| +
|
| void InstX8632Movq::emit(const Cfg *Func) const {
|
| Ostream &Str = Func->getContext()->getStrEmit();
|
| assert(getSrcSize() == 1);
|
| @@ -741,14 +773,6 @@ void InstX8632Movq::emit(const Cfg *Func) const {
|
| Str << "\n";
|
| }
|
|
|
| -void InstX8632Movp::dump(const Cfg *Func) const {
|
| - Ostream &Str = Func->getContext()->getStrDump();
|
| - Str << "movups." << getDest()->getType() << " ";
|
| - dumpDest(Func);
|
| - Str << ", ";
|
| - dumpSources(Func);
|
| -}
|
| -
|
| void InstX8632Movq::dump(const Cfg *Func) const {
|
| Ostream &Str = Func->getContext()->getStrDump();
|
| Str << "movq." << getDest()->getType() << " ";
|
|
|