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 15 matching lines...) Expand all Loading... |
26 namespace Ice { | 26 namespace Ice { |
27 | 27 |
28 namespace { | 28 namespace { |
29 | 29 |
30 const struct TypeARM32Attributes_ { | 30 const struct TypeARM32Attributes_ { |
31 const char *WidthString; // b, h, <blank>, or d | 31 const char *WidthString; // b, h, <blank>, or d |
32 const char *VecWidthString; // i8, i16, i32, f32, f64 | 32 const char *VecWidthString; // i8, i16, i32, f32, f64 |
33 int8_t SExtAddrOffsetBits; | 33 int8_t SExtAddrOffsetBits; |
34 int8_t ZExtAddrOffsetBits; | 34 int8_t ZExtAddrOffsetBits; |
35 } TypeARM32Attributes[] = { | 35 } TypeARM32Attributes[] = { |
36 #define X(tag, elementty, int_width, vec_width, sbits, ubits, rraddr) \ | 36 #define X(tag, elementty, int_width, vec_width, sbits, ubits, rraddr, shaddr) \ |
37 { int_width, vec_width, sbits, ubits } \ | 37 { int_width, vec_width, sbits, ubits } \ |
38 , | 38 , |
39 ICETYPEARM32_TABLE | 39 ICETYPEARM32_TABLE |
40 #undef X | 40 #undef X |
41 }; | 41 }; |
42 | 42 |
43 const struct InstARM32ShiftAttributes_ { | 43 const struct InstARM32ShiftAttributes_ { |
44 const char *EmitString; | 44 const char *EmitString; |
45 } InstARM32ShiftAttributes[] = { | 45 } InstARM32ShiftAttributes[] = { |
46 #define X(tag, emit) \ | 46 #define X(tag, emit) \ |
(...skipping 1655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1702 template class InstARM32UnaryopGPR<InstARM32::Uxt, true>; | 1702 template class InstARM32UnaryopGPR<InstARM32::Uxt, true>; |
1703 template class InstARM32UnaryopFP<InstARM32::Vsqrt>; | 1703 template class InstARM32UnaryopFP<InstARM32::Vsqrt>; |
1704 | 1704 |
1705 template class InstARM32FourAddrGPR<InstARM32::Mla>; | 1705 template class InstARM32FourAddrGPR<InstARM32::Mla>; |
1706 template class InstARM32FourAddrGPR<InstARM32::Mls>; | 1706 template class InstARM32FourAddrGPR<InstARM32::Mls>; |
1707 | 1707 |
1708 template class InstARM32CmpLike<InstARM32::Cmp>; | 1708 template class InstARM32CmpLike<InstARM32::Cmp>; |
1709 template class InstARM32CmpLike<InstARM32::Tst>; | 1709 template class InstARM32CmpLike<InstARM32::Tst>; |
1710 | 1710 |
1711 } // end of namespace Ice | 1711 } // end of namespace Ice |
OLD | NEW |