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 958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
969 slot * kPointerSize); | 969 slot * kPointerSize); |
970 } | 970 } |
971 break; | 971 break; |
972 } | 972 } |
973 case kArm64Clz: | 973 case kArm64Clz: |
974 __ Clz(i.OutputRegister64(), i.InputRegister64(0)); | 974 __ Clz(i.OutputRegister64(), i.InputRegister64(0)); |
975 break; | 975 break; |
976 case kArm64Clz32: | 976 case kArm64Clz32: |
977 __ Clz(i.OutputRegister32(), i.InputRegister32(0)); | 977 __ Clz(i.OutputRegister32(), i.InputRegister32(0)); |
978 break; | 978 break; |
| 979 case kArm64Rbit: |
| 980 __ Rbit(i.OutputRegister64(), i.InputRegister64(0)); |
| 981 break; |
| 982 case kArm64Rbit32: |
| 983 __ Rbit(i.OutputRegister32(), i.InputRegister32(0)); |
| 984 break; |
979 case kArm64Cmp: | 985 case kArm64Cmp: |
980 __ Cmp(i.InputOrZeroRegister64(0), i.InputOperand(1)); | 986 __ Cmp(i.InputOrZeroRegister64(0), i.InputOperand(1)); |
981 break; | 987 break; |
982 case kArm64Cmp32: | 988 case kArm64Cmp32: |
983 __ Cmp(i.InputOrZeroRegister32(0), i.InputOperand2_32(1)); | 989 __ Cmp(i.InputOrZeroRegister32(0), i.InputOperand2_32(1)); |
984 break; | 990 break; |
985 case kArm64Cmn: | 991 case kArm64Cmn: |
986 __ Cmn(i.InputOrZeroRegister64(0), i.InputOperand(1)); | 992 __ Cmn(i.InputOrZeroRegister64(0), i.InputOperand(1)); |
987 break; | 993 break; |
988 case kArm64Cmn32: | 994 case kArm64Cmn32: |
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1711 padding_size -= kInstructionSize; | 1717 padding_size -= kInstructionSize; |
1712 } | 1718 } |
1713 } | 1719 } |
1714 } | 1720 } |
1715 | 1721 |
1716 #undef __ | 1722 #undef __ |
1717 | 1723 |
1718 } // namespace compiler | 1724 } // namespace compiler |
1719 } // namespace internal | 1725 } // namespace internal |
1720 } // namespace v8 | 1726 } // namespace v8 |
OLD | NEW |