| OLD | NEW |
| 1 //===- subzero/src/IceTargetLoweringARM32.cpp - ARM32 lowering ------------===// | 1 //===- subzero/src/IceTargetLoweringARM32.cpp - ARM32 lowering ------------===// |
| 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 2241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2252 _mov(Dest, T); | 2252 _mov(Dest, T); |
| 2253 return; | 2253 return; |
| 2254 } | 2254 } |
| 2255 | 2255 |
| 2256 void TargetARM32::lowerInsertElement(const InstInsertElement *Inst) { | 2256 void TargetARM32::lowerInsertElement(const InstInsertElement *Inst) { |
| 2257 (void)Inst; | 2257 (void)Inst; |
| 2258 UnimplementedError(Func->getContext()->getFlags()); | 2258 UnimplementedError(Func->getContext()->getFlags()); |
| 2259 } | 2259 } |
| 2260 | 2260 |
| 2261 void TargetARM32::lowerIntrinsicCall(const InstIntrinsicCall *Instr) { | 2261 void TargetARM32::lowerIntrinsicCall(const InstIntrinsicCall *Instr) { |
| 2262 switch (Intrinsics::IntrinsicID ID = Instr->getIntrinsicInfo().ID) { | 2262 switch (Instr->getIntrinsicInfo().ID) { |
| 2263 case Intrinsics::AtomicCmpxchg: { | 2263 case Intrinsics::AtomicCmpxchg: { |
| 2264 UnimplementedError(Func->getContext()->getFlags()); | 2264 UnimplementedError(Func->getContext()->getFlags()); |
| 2265 return; | 2265 return; |
| 2266 } | 2266 } |
| 2267 case Intrinsics::AtomicFence: | 2267 case Intrinsics::AtomicFence: |
| 2268 UnimplementedError(Func->getContext()->getFlags()); | 2268 UnimplementedError(Func->getContext()->getFlags()); |
| 2269 return; | 2269 return; |
| 2270 case Intrinsics::AtomicFenceAll: | 2270 case Intrinsics::AtomicFenceAll: |
| 2271 // NOTE: FenceAll should prevent and load/store from being moved | 2271 // NOTE: FenceAll should prevent and load/store from being moved |
| 2272 // across the fence (both atomic and non-atomic). The InstARM32Mfence | 2272 // across the fence (both atomic and non-atomic). The InstARM32Mfence |
| (...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3056 << ".eabi_attribute 68, 1 @ Tag_Virtualization_use\n"; | 3056 << ".eabi_attribute 68, 1 @ Tag_Virtualization_use\n"; |
| 3057 if (CPUFeatures.hasFeature(TargetARM32Features::HWDivArm)) { | 3057 if (CPUFeatures.hasFeature(TargetARM32Features::HWDivArm)) { |
| 3058 Str << ".eabi_attribute 44, 2 @ Tag_DIV_use\n"; | 3058 Str << ".eabi_attribute 44, 2 @ Tag_DIV_use\n"; |
| 3059 } | 3059 } |
| 3060 // Technically R9 is used for TLS with Sandboxing, and we reserve it. | 3060 // Technically R9 is used for TLS with Sandboxing, and we reserve it. |
| 3061 // However, for compatibility with current NaCl LLVM, don't claim that. | 3061 // However, for compatibility with current NaCl LLVM, don't claim that. |
| 3062 Str << ".eabi_attribute 14, 3 @ Tag_ABI_PCS_R9_use: Not used\n"; | 3062 Str << ".eabi_attribute 14, 3 @ Tag_ABI_PCS_R9_use: Not used\n"; |
| 3063 } | 3063 } |
| 3064 | 3064 |
| 3065 } // end of namespace Ice | 3065 } // end of namespace Ice |
| OLD | NEW |