Chromium Code Reviews| 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 1548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1559 } | 1559 } |
| 1560 } | 1560 } |
| 1561 break; // Error | 1561 break; // Error |
| 1562 case IceType_v4i1: | 1562 case IceType_v4i1: |
| 1563 case IceType_v8i1: | 1563 case IceType_v8i1: |
| 1564 case IceType_v16i1: | 1564 case IceType_v16i1: |
| 1565 case IceType_v16i8: | 1565 case IceType_v16i8: |
| 1566 case IceType_v8i16: | 1566 case IceType_v8i16: |
| 1567 case IceType_v4i32: | 1567 case IceType_v4i32: |
| 1568 case IceType_v4f32: | 1568 case IceType_v4f32: |
| 1569 // TODO(kschimpf): Add vector moves. | 1569 assert(SrcTy == DestTy && "Mov on different vector types"); |
| 1570 emitUsingTextFixup(Func); | 1570 Asm->vorrq(Dest, Src0, Src0); |
|
Eric Holk
2016/02/11 19:24:22
The other moves in this function pass the result o
Karl
2016/02/11 22:10:28
The same can be said for the emit() method. Adding
| |
| 1571 return; | 1571 return; |
| 1572 } | 1572 } |
| 1573 llvm::report_fatal_error("Mov: don't know how to move " + | 1573 llvm::report_fatal_error("Mov: don't know how to move " + |
| 1574 typeIceString(SrcTy) + " to " + | 1574 typeIceString(SrcTy) + " to " + |
| 1575 typeIceString(DestTy)); | 1575 typeIceString(DestTy)); |
| 1576 } | 1576 } |
| 1577 | 1577 |
| 1578 void InstARM32Mov::dump(const Cfg *Func) const { | 1578 void InstARM32Mov::dump(const Cfg *Func) const { |
| 1579 if (!BuildDefs::dump()) | 1579 if (!BuildDefs::dump()) |
| 1580 return; | 1580 return; |
| (...skipping 1188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2769 | 2769 |
| 2770 template class InstARM32FourAddrGPR<InstARM32::Mla>; | 2770 template class InstARM32FourAddrGPR<InstARM32::Mla>; |
| 2771 template class InstARM32FourAddrGPR<InstARM32::Mls>; | 2771 template class InstARM32FourAddrGPR<InstARM32::Mls>; |
| 2772 | 2772 |
| 2773 template class InstARM32CmpLike<InstARM32::Cmn>; | 2773 template class InstARM32CmpLike<InstARM32::Cmn>; |
| 2774 template class InstARM32CmpLike<InstARM32::Cmp>; | 2774 template class InstARM32CmpLike<InstARM32::Cmp>; |
| 2775 template class InstARM32CmpLike<InstARM32::Tst>; | 2775 template class InstARM32CmpLike<InstARM32::Tst>; |
| 2776 | 2776 |
| 2777 } // end of namespace ARM32 | 2777 } // end of namespace ARM32 |
| 2778 } // end of namespace Ice | 2778 } // end of namespace Ice |
| OLD | NEW |