| OLD | NEW |
| 1 //===- subzero/src/IceInstARM32.cpp - ARM32 instruction implementation ----===// | 1 //===- subzero/src/IceInstARM32.cpp - ARM32 instruction implementation ----===// |
| 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 /// \file | 10 /// \file |
| (...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 emitUsingTextFixup(Func); | 478 emitUsingTextFixup(Func); |
| 479 } | 479 } |
| 480 | 480 |
| 481 template <> void InstARM32Eor::emitIAS(const Cfg *Func) const { | 481 template <> void InstARM32Eor::emitIAS(const Cfg *Func) const { |
| 482 auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); | 482 auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); |
| 483 Asm->eor(getDest(), getSrc(0), getSrc(1), SetFlags, getPredicate()); | 483 Asm->eor(getDest(), getSrc(0), getSrc(1), SetFlags, getPredicate()); |
| 484 if (Asm->needsTextFixup()) | 484 if (Asm->needsTextFixup()) |
| 485 emitUsingTextFixup(Func); | 485 emitUsingTextFixup(Func); |
| 486 } | 486 } |
| 487 | 487 |
| 488 template <> void InstARM32Lsl::emitIAS(const Cfg *Func) const { |
| 489 auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); |
| 490 Asm->lsl(getDest(), getSrc(0), getSrc(1), SetFlags, getPredicate()); |
| 491 if (Asm->needsTextFixup()) |
| 492 emitUsingTextFixup(Func); |
| 493 } |
| 494 |
| 488 template <> void InstARM32Orr::emitIAS(const Cfg *Func) const { | 495 template <> void InstARM32Orr::emitIAS(const Cfg *Func) const { |
| 489 auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); | 496 auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); |
| 490 Asm->orr(getDest(), getSrc(0), getSrc(1), SetFlags, getPredicate()); | 497 Asm->orr(getDest(), getSrc(0), getSrc(1), SetFlags, getPredicate()); |
| 491 if (Asm->needsTextFixup()) | 498 if (Asm->needsTextFixup()) |
| 492 emitUsingTextFixup(Func); | 499 emitUsingTextFixup(Func); |
| 493 } | 500 } |
| 494 | 501 |
| 495 template <> void InstARM32Mul::emitIAS(const Cfg *Func) const { | 502 template <> void InstARM32Mul::emitIAS(const Cfg *Func) const { |
| 496 auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); | 503 auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); |
| 497 Asm->mul(getDest(), getSrc(0), getSrc(1), SetFlags, getPredicate()); | 504 Asm->mul(getDest(), getSrc(0), getSrc(1), SetFlags, getPredicate()); |
| (...skipping 1447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1945 template class InstARM32UnaryopFP<InstARM32::Vsqrt>; | 1952 template class InstARM32UnaryopFP<InstARM32::Vsqrt>; |
| 1946 | 1953 |
| 1947 template class InstARM32FourAddrGPR<InstARM32::Mla>; | 1954 template class InstARM32FourAddrGPR<InstARM32::Mla>; |
| 1948 template class InstARM32FourAddrGPR<InstARM32::Mls>; | 1955 template class InstARM32FourAddrGPR<InstARM32::Mls>; |
| 1949 | 1956 |
| 1950 template class InstARM32CmpLike<InstARM32::Cmn>; | 1957 template class InstARM32CmpLike<InstARM32::Cmn>; |
| 1951 template class InstARM32CmpLike<InstARM32::Cmp>; | 1958 template class InstARM32CmpLike<InstARM32::Cmp>; |
| 1952 template class InstARM32CmpLike<InstARM32::Tst>; | 1959 template class InstARM32CmpLike<InstARM32::Tst>; |
| 1953 | 1960 |
| 1954 } // end of namespace Ice | 1961 } // end of namespace Ice |
| OLD | NEW |