| 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/arm64/frames-arm64.h" | 7 #include "src/arm64/frames-arm64.h" | 
| 8 #include "src/arm64/macro-assembler-arm64.h" | 8 #include "src/arm64/macro-assembler-arm64.h" | 
| 9 #include "src/ast/scopes.h" | 9 #include "src/ast/scopes.h" | 
| 10 #include "src/compiler/code-generator-impl.h" | 10 #include "src/compiler/code-generator-impl.h" | 
| (...skipping 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1391       UseScratchRegisterScope scope(masm()); | 1391       UseScratchRegisterScope scope(masm()); | 
| 1392       Register tmp = scope.AcquireX(); | 1392       Register tmp = scope.AcquireX(); | 
| 1393       __ Fmov(tmp.W(), i.InputFloat32Register(0)); | 1393       __ Fmov(tmp.W(), i.InputFloat32Register(0)); | 
| 1394       __ Bfi(tmp, i.InputRegister(1), 32, 32); | 1394       __ Bfi(tmp, i.InputRegister(1), 32, 32); | 
| 1395       __ Fmov(i.OutputFloat64Register(), tmp); | 1395       __ Fmov(i.OutputFloat64Register(), tmp); | 
| 1396       break; | 1396       break; | 
| 1397     } | 1397     } | 
| 1398     case kArm64Float64MoveU64: | 1398     case kArm64Float64MoveU64: | 
| 1399       __ Fmov(i.OutputFloat64Register(), i.InputRegister(0)); | 1399       __ Fmov(i.OutputFloat64Register(), i.InputRegister(0)); | 
| 1400       break; | 1400       break; | 
|  | 1401     case kArm64Float64SilenceNaN: | 
|  | 1402       __ CanonicalizeNaN(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); | 
|  | 1403       break; | 
| 1401     case kArm64U64MoveFloat64: | 1404     case kArm64U64MoveFloat64: | 
| 1402       __ Fmov(i.OutputRegister(), i.InputDoubleRegister(0)); | 1405       __ Fmov(i.OutputRegister(), i.InputDoubleRegister(0)); | 
| 1403       break; | 1406       break; | 
| 1404     case kArm64Ldrb: | 1407     case kArm64Ldrb: | 
| 1405       __ Ldrb(i.OutputRegister(), i.MemoryOperand()); | 1408       __ Ldrb(i.OutputRegister(), i.MemoryOperand()); | 
| 1406       break; | 1409       break; | 
| 1407     case kArm64Ldrsb: | 1410     case kArm64Ldrsb: | 
| 1408       __ Ldrsb(i.OutputRegister(), i.MemoryOperand()); | 1411       __ Ldrsb(i.OutputRegister(), i.MemoryOperand()); | 
| 1409       break; | 1412       break; | 
| 1410     case kArm64Strb: | 1413     case kArm64Strb: | 
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1951       padding_size -= kInstructionSize; | 1954       padding_size -= kInstructionSize; | 
| 1952     } | 1955     } | 
| 1953   } | 1956   } | 
| 1954 } | 1957 } | 
| 1955 | 1958 | 
| 1956 #undef __ | 1959 #undef __ | 
| 1957 | 1960 | 
| 1958 }  // namespace compiler | 1961 }  // namespace compiler | 
| 1959 }  // namespace internal | 1962 }  // namespace internal | 
| 1960 }  // namespace v8 | 1963 }  // namespace v8 | 
| OLD | NEW | 
|---|