OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/compiler/code-generator.h" | 5 #include "src/compiler/code-generator.h" |
6 | 6 |
7 #include "src/arm/macro-assembler-arm.h" | 7 #include "src/arm/macro-assembler-arm.h" |
8 #include "src/ast/scopes.h" | 8 #include "src/ast/scopes.h" |
9 #include "src/compiler/code-generator-impl.h" | 9 #include "src/compiler/code-generator-impl.h" |
10 #include "src/compiler/gap-resolver.h" | 10 #include "src/compiler/gap-resolver.h" |
(...skipping 1299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1310 DCHECK_EQ(LeaveCC, i.OutputSBit()); | 1310 DCHECK_EQ(LeaveCC, i.OutputSBit()); |
1311 break; | 1311 break; |
1312 case kArmVmovHighF64U32: | 1312 case kArmVmovHighF64U32: |
1313 __ VmovHigh(i.OutputDoubleRegister(), i.InputRegister(1)); | 1313 __ VmovHigh(i.OutputDoubleRegister(), i.InputRegister(1)); |
1314 DCHECK_EQ(LeaveCC, i.OutputSBit()); | 1314 DCHECK_EQ(LeaveCC, i.OutputSBit()); |
1315 break; | 1315 break; |
1316 case kArmVmovF64U32U32: | 1316 case kArmVmovF64U32U32: |
1317 __ vmov(i.OutputDoubleRegister(), i.InputRegister(0), i.InputRegister(1)); | 1317 __ vmov(i.OutputDoubleRegister(), i.InputRegister(0), i.InputRegister(1)); |
1318 DCHECK_EQ(LeaveCC, i.OutputSBit()); | 1318 DCHECK_EQ(LeaveCC, i.OutputSBit()); |
1319 break; | 1319 break; |
| 1320 case kArmVmovU32U32F64: |
| 1321 __ vmov(i.OutputRegister(0), i.OutputRegister(1), |
| 1322 i.InputDoubleRegister(0)); |
| 1323 DCHECK_EQ(LeaveCC, i.OutputSBit()); |
| 1324 break; |
1320 case kArmLdrb: | 1325 case kArmLdrb: |
1321 __ ldrb(i.OutputRegister(), i.InputOffset()); | 1326 __ ldrb(i.OutputRegister(), i.InputOffset()); |
1322 DCHECK_EQ(LeaveCC, i.OutputSBit()); | 1327 DCHECK_EQ(LeaveCC, i.OutputSBit()); |
1323 break; | 1328 break; |
1324 case kArmLdrsb: | 1329 case kArmLdrsb: |
1325 __ ldrsb(i.OutputRegister(), i.InputOffset()); | 1330 __ ldrsb(i.OutputRegister(), i.InputOffset()); |
1326 DCHECK_EQ(LeaveCC, i.OutputSBit()); | 1331 DCHECK_EQ(LeaveCC, i.OutputSBit()); |
1327 break; | 1332 break; |
1328 case kArmStrb: | 1333 case kArmStrb: |
1329 __ strb(i.InputRegister(0), i.InputOffset(1)); | 1334 __ strb(i.InputRegister(0), i.InputOffset(1)); |
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1996 padding_size -= v8::internal::Assembler::kInstrSize; | 2001 padding_size -= v8::internal::Assembler::kInstrSize; |
1997 } | 2002 } |
1998 } | 2003 } |
1999 } | 2004 } |
2000 | 2005 |
2001 #undef __ | 2006 #undef __ |
2002 | 2007 |
2003 } // namespace compiler | 2008 } // namespace compiler |
2004 } // namespace internal | 2009 } // namespace internal |
2005 } // namespace v8 | 2010 } // namespace v8 |
OLD | NEW |