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 |
11 /// \brief Implements the InstARM32 and OperandARM32 classes, primarily the | 11 /// \brief Implements the InstARM32 and OperandARM32 classes, primarily the |
12 /// constructors and the dump()/emit() methods. | 12 /// constructors and the dump()/emit() methods. |
13 /// | 13 /// |
14 //===----------------------------------------------------------------------===// | 14 //===----------------------------------------------------------------------===// |
15 | 15 |
16 #include "IceInstARM32.h" | 16 #include "IceInstARM32.h" |
17 | 17 |
18 #include "IceAssemblerARM32.h" | 18 #include "IceAssemblerARM32.h" |
19 #include "IceCfg.h" | 19 #include "IceCfg.h" |
20 #include "IceCfgNode.h" | 20 #include "IceCfgNode.h" |
21 #include "IceInst.h" | 21 #include "IceInst.h" |
22 #include "IceOperand.h" | 22 #include "IceOperand.h" |
23 #include "IceRegistersARM32.h" | 23 #include "IceRegistersARM32.h" |
24 #include "IceTargetLoweringARM32.h" | 24 #include "IceTargetLoweringARM32.h" |
25 | 25 |
26 namespace Ice { | 26 namespace Ice { |
| 27 namespace ARM32 { |
27 | 28 |
28 namespace { | 29 namespace { |
29 | 30 |
30 // maximum number of registers allowed in vpush/vpop. | 31 // maximum number of registers allowed in vpush/vpop. |
31 static constexpr SizeT VpushVpopMaxConsecRegs = 16; | 32 static constexpr SizeT VpushVpopMaxConsecRegs = 16; |
32 | 33 |
33 const struct TypeARM32Attributes_ { | 34 const struct TypeARM32Attributes_ { |
34 const char *WidthString; // b, h, <blank>, or d | 35 const char *WidthString; // b, h, <blank>, or d |
35 const char *VecWidthString; // i8, i16, i32, f32, f64 | 36 const char *VecWidthString; // i8, i16, i32, f32, f64 |
36 int8_t SExtAddrOffsetBits; | 37 int8_t SExtAddrOffsetBits; |
(...skipping 2107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2144 template class InstARM32UnaryopGPR<InstARM32::Uxt, true>; | 2145 template class InstARM32UnaryopGPR<InstARM32::Uxt, true>; |
2145 template class InstARM32UnaryopFP<InstARM32::Vsqrt>; | 2146 template class InstARM32UnaryopFP<InstARM32::Vsqrt>; |
2146 | 2147 |
2147 template class InstARM32FourAddrGPR<InstARM32::Mla>; | 2148 template class InstARM32FourAddrGPR<InstARM32::Mla>; |
2148 template class InstARM32FourAddrGPR<InstARM32::Mls>; | 2149 template class InstARM32FourAddrGPR<InstARM32::Mls>; |
2149 | 2150 |
2150 template class InstARM32CmpLike<InstARM32::Cmn>; | 2151 template class InstARM32CmpLike<InstARM32::Cmn>; |
2151 template class InstARM32CmpLike<InstARM32::Cmp>; | 2152 template class InstARM32CmpLike<InstARM32::Cmp>; |
2152 template class InstARM32CmpLike<InstARM32::Tst>; | 2153 template class InstARM32CmpLike<InstARM32::Tst>; |
2153 | 2154 |
| 2155 } // end of namespace ARM32 |
2154 } // end of namespace Ice | 2156 } // end of namespace Ice |
OLD | NEW |