| OLD | NEW |
| 1 //===- subzero/src/IceTargetLoweringX8632.h - x86-32 lowering ---*- C++ -*-===// | 1 //===- subzero/src/IceTargetLoweringX8632.h - x86-32 lowering ---*- C++ -*-===// |
| 2 // | 2 // |
| 3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 // | 9 // |
| 10 // This file declares the TargetLoweringX8632 class, which | 10 // This file declares the TargetLoweringX8632 class, which |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 } | 301 } |
| 302 void _movd(Variable *Dest, Operand *Src0) { | 302 void _movd(Variable *Dest, Operand *Src0) { |
| 303 Context.insert(InstX8632Movd::create(Func, Dest, Src0)); | 303 Context.insert(InstX8632Movd::create(Func, Dest, Src0)); |
| 304 } | 304 } |
| 305 void _movp(Variable *Dest, Operand *Src0) { | 305 void _movp(Variable *Dest, Operand *Src0) { |
| 306 Context.insert(InstX8632Movp::create(Func, Dest, Src0)); | 306 Context.insert(InstX8632Movp::create(Func, Dest, Src0)); |
| 307 } | 307 } |
| 308 void _movq(Variable *Dest, Operand *Src0) { | 308 void _movq(Variable *Dest, Operand *Src0) { |
| 309 Context.insert(InstX8632Movq::create(Func, Dest, Src0)); | 309 Context.insert(InstX8632Movq::create(Func, Dest, Src0)); |
| 310 } | 310 } |
| 311 void _movss(Variable *Dest, Operand *Src0) { | 311 void _movss(Variable *Dest, Variable *Src0) { |
| 312 Context.insert(InstX8632Movss::create(Func, Dest, Src0)); | 312 Context.insert(InstX8632MovssRegs::create(Func, Dest, Src0)); |
| 313 } | 313 } |
| 314 void _movsx(Variable *Dest, Operand *Src0) { | 314 void _movsx(Variable *Dest, Operand *Src0) { |
| 315 Context.insert(InstX8632Movsx::create(Func, Dest, Src0)); | 315 Context.insert(InstX8632Movsx::create(Func, Dest, Src0)); |
| 316 } | 316 } |
| 317 void _movzx(Variable *Dest, Operand *Src0) { | 317 void _movzx(Variable *Dest, Operand *Src0) { |
| 318 Context.insert(InstX8632Movzx::create(Func, Dest, Src0)); | 318 Context.insert(InstX8632Movzx::create(Func, Dest, Src0)); |
| 319 } | 319 } |
| 320 void _mul(Variable *Dest, Variable *Src0, Operand *Src1) { | 320 void _mul(Variable *Dest, Variable *Src0, Operand *Src1) { |
| 321 Context.insert(InstX8632Mul::create(Func, Dest, Src0, Src1)); | 321 Context.insert(InstX8632Mul::create(Func, Dest, Src0, Src1)); |
| 322 } | 322 } |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 } | 415 } |
| 416 void _shufps(Variable *Dest, Operand *Src0, Operand *Src1) { | 416 void _shufps(Variable *Dest, Operand *Src0, Operand *Src1) { |
| 417 Context.insert(InstX8632Shufps::create(Func, Dest, Src0, Src1)); | 417 Context.insert(InstX8632Shufps::create(Func, Dest, Src0, Src1)); |
| 418 } | 418 } |
| 419 void _sqrtss(Variable *Dest, Operand *Src0) { | 419 void _sqrtss(Variable *Dest, Operand *Src0) { |
| 420 Context.insert(InstX8632Sqrtss::create(Func, Dest, Src0)); | 420 Context.insert(InstX8632Sqrtss::create(Func, Dest, Src0)); |
| 421 } | 421 } |
| 422 void _store(Operand *Value, OperandX8632 *Mem) { | 422 void _store(Operand *Value, OperandX8632 *Mem) { |
| 423 Context.insert(InstX8632Store::create(Func, Value, Mem)); | 423 Context.insert(InstX8632Store::create(Func, Value, Mem)); |
| 424 } | 424 } |
| 425 void _storep(Operand *Value, OperandX8632 *Mem) { | 425 void _storep(Variable *Value, OperandX8632Mem *Mem) { |
| 426 Context.insert(InstX8632StoreP::create(Func, Value, Mem)); | 426 Context.insert(InstX8632StoreP::create(Func, Value, Mem)); |
| 427 } | 427 } |
| 428 void _storeq(Operand *Value, OperandX8632 *Mem) { | 428 void _storeq(Variable *Value, OperandX8632Mem *Mem) { |
| 429 Context.insert(InstX8632StoreQ::create(Func, Value, Mem)); | 429 Context.insert(InstX8632StoreQ::create(Func, Value, Mem)); |
| 430 } | 430 } |
| 431 void _sub(Variable *Dest, Operand *Src0) { | 431 void _sub(Variable *Dest, Operand *Src0) { |
| 432 Context.insert(InstX8632Sub::create(Func, Dest, Src0)); | 432 Context.insert(InstX8632Sub::create(Func, Dest, Src0)); |
| 433 } | 433 } |
| 434 void _subps(Variable *Dest, Operand *Src0) { | 434 void _subps(Variable *Dest, Operand *Src0) { |
| 435 Context.insert(InstX8632Subps::create(Func, Dest, Src0)); | 435 Context.insert(InstX8632Subps::create(Func, Dest, Src0)); |
| 436 } | 436 } |
| 437 void _subss(Variable *Dest, Operand *Src0) { | 437 void _subss(Variable *Dest, Operand *Src0) { |
| 438 Context.insert(InstX8632Subss::create(Func, Dest, Src0)); | 438 Context.insert(InstX8632Subss::create(Func, Dest, Src0)); |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 }; | 500 }; |
| 501 | 501 |
| 502 template <> void ConstantInteger32::emit(GlobalContext *Ctx) const; | 502 template <> void ConstantInteger32::emit(GlobalContext *Ctx) const; |
| 503 template <> void ConstantInteger64::emit(GlobalContext *Ctx) const; | 503 template <> void ConstantInteger64::emit(GlobalContext *Ctx) const; |
| 504 template <> void ConstantFloat::emit(GlobalContext *Ctx) const; | 504 template <> void ConstantFloat::emit(GlobalContext *Ctx) const; |
| 505 template <> void ConstantDouble::emit(GlobalContext *Ctx) const; | 505 template <> void ConstantDouble::emit(GlobalContext *Ctx) const; |
| 506 | 506 |
| 507 } // end of namespace Ice | 507 } // end of namespace Ice |
| 508 | 508 |
| 509 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H | 509 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H |
| OLD | NEW |